HTTP status code 500

This topic contains 2 replies, has 2 voices, and was last updated by  Lauren Randolph 7 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #684

    Lauren Randolph
    Buyer
    Post count: 40

    Looks like there is an issue with the webhook. Stripes message “We’ve attempted to notify the endpoint 155 times since October 24 at 01:14AM. If this endpoint is important to your application, please try and fix the issue.”

    Here’s the response:

    <br /><b>Fatal error</b>: Uncaught exception ‘Stripe\Error\InvalidRequest’ with message ‘No such event: XXXXXXXXXXXXXXX; a similar object exists in live mode, but a test mode key was used to make this request.’ in /home/laurenr9/public_html/dev/wp-content/plugins/wpinv-stripe-payment/includes/libraries/stripe-php/lib/ApiRequestor.php:110 from API request ‘XXXXXXXXXXXXXXXXXX’ Stack trace: #0 /home/laurenr9/public_html/dev/wp-content/plugins/wpinv-stripe-payment/includes/libraries/stripe-php/lib/ApiRequestor.php(266): Stripe\ApiRequestor->handleApiError(‘{\n "error": {\n…’, 404, Array, Array) #1 /home/laurenr9/public_html/dev/wp-content/plugins/wpinv-stripe-payment/includes/libraries/stripe-php/lib/ApiRequestor.php(65): Stripe\ApiRequestor->_interpretResponse(‘{\n "error": {\n…’, 404, Array) #2 /home/laurenr9/public_html/dev/wp-content/plugins/wpinv-stripe-payment/includes/libraries/stripe-php/lib/ApiResource.php(32): Stripe\ApiRequestor->request(‘get’, ‘/v1/events/evt_…’…

    #694

    Kiran
    Moderator
    Post count: 7069

    Hi Lauren,

    The reason for the problem could be one of following:
    – Stripe API keys changed at Invoicing Stripe Settings after doing some transactions
    – Moving test mode to live mode

    At website end the plugin handling IPNs based on current Stripe API settings. So if Stripe sends IPN request to the website which was made with old API Keys or different API then it raises such type of errors.

    I have now updated logging such type of error, so now if debuggin enabled then it will log error in debug.log like

    [30-Oct-2017 09:36:38 UTC] Stripe IPN Request : No such event: evt_1BFP3uAlWN3FvxeoqB5JgYJL

    Thanks,
    Kiran

    #702

    Lauren Randolph
    Buyer
    Post count: 40

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket