• Resolved frensis

    (@frensis)


    Hi all,
    I’m facing an issue with Stripe webhook: I received an email from Stripe which advise me that webhook I set in Stripe Dashboard is returning error.

    Endpoint URL format in my Stripe Dashboard is:
    https://domain.com/?wc-api=wc_stripe

    I suppose this was used by Woocommerce Stripe plugin which I replaced with Woocommerce Payments plugin.
    I have already search for some info on the web and documentation but I didn’t find resources for this plugin and neither I don’t find where is the correct endpoint in settings.

    Someone can take me to the right way?

    Woocommerce Payments 5.8.0
    Woocommerce 7.6.1

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I’m facing an issue with Stripe webhook: I received an email from Stripe which advise me that webhook I set in Stripe Dashboard is returning error.

    Endpoint URL format in my Stripe Dashboard is:
    https://domain.com/?wc-api=wc_stripe

    I suppose this was used by Woocommerce Stripe plugin which I replaced with Woocommerce Payments plugin.

    If I understand correctly, the WooCommerce Stripe Payment gateway was replaced with the WooCommerce Payments on your site.

    Was the email received before switching to WooCommerce payments? Can you share the message of the email received via screenshot? In case you would like to switch back to Stripe and set up the webhooks, please follow this documentation.

    Also, I recommend comparing these 2 payment platform to see what is the best according to your needs: https://woocommerce.com/document/woocommerce-payments/compatibility/woocommerce-payments-vs-stripe-plugin-comparison/

    Let us know if there are any questions ??

    Thread Starter frensis

    (@frensis)

    Hello Igor, you are right… I replaced WC Stripe Payment gateway with the WC Payments.

    I received email after switching to WC Payments, and this is the message (original email was in Italian, I searched it in English on the web -something may diverge-):
    “We’re contacting you because we’re still having trouble delivering data to a webhook endpoint associated with your account in live mode. Webhooks are used to notify your server about events that happen in your Stripe account, such as a payout completing or an invoice being created.

    You or someone on your team has added that endpoint in your Stripe webhook settings, which you can view and edit here:?https://dashboard.stripe.com/account/webhooks.

    Please note that in most cases a failing webhook does not impact your payments or payouts. However, if you use subscriptions we rely on your webhook endpoint to notify you of new invoices. These invoices may be delayed for up to three days if your webhook is unable to successfully receive them. If you use Checkout, you may be handling the?checkout.session.completed?event as part of your purchase fulfillment process as described here:?https://stripe.com/docs/payments/checkout/fulfillment#webhooks. If you do, failure to handle these events may interfere with purchase fulfillment.

    We’ve attempted to notify the endpoint 17 times since Aprile 25, 2023 at 03:47PM. If this endpoint is important to your application, please try and fix the issue. If you do not need the webhook endpoint you can delete it from your Stripe webhook settings. We will stop sending notifications to your webhook by May 4, 2023 around 03:47PM.

    Here is the summary of errors we have received when sending you webhooks:
    17 requests had other errors while sending the webhook event.

    You need to return anything between a HTTP 200 to 299 for the webhook to be considered successfully delivered.
    For more details on the errors, you can find your events page here:?https://dashboard.stripe.com/events.”


    I’m not intentioned to switch back to WC Stripe Payment but to solve this problem… if this is really a problem!
    I choosed WC Payments to integrate Google Pay and Apple Pay and this is not possible with WC Stripe Payment plugin.
    Anyway credit card payments continue to work fine beside all and I’m wondering if Stripe endpoint errors may result in failed transitions or others issues.
    Keep in mind that the website is the only channel where I collect orders and payments so communication should be only in one direction: from the website to Stripe.

    Are webhooks only needed for communications from Stripe to website?
    And webhooks are really necessary to collect payments on my website? The message says “If you do not need the webhook endpoint you can delete it from your Stripe webhook settings

    Could you be more clear about it?
    Thank you

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hi there!

    Can you please reach out to WooCommerce support by creating a ticket here: https://woocommerce.com/my-account/create-a-ticket/?

    Thank you!

    Hi @frensis

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new topic.

    Thanks!

    Thread Starter frensis

    (@frensis)

    Hello Xue,
    for everyone who may be interested, I created a ticket to Woocommerce.com and after an investigation support team wrote me that errors was about old Stripe plugin (the one I replaced with Woocommerce Plugin).

    The suggested solution was to delete that endpoint url in Stripe Dashboard.

    Some issues can be generated only by subscription products (they say).

    Hi @frensis

    Glad to know you were able to sorted it out, if you have any new questions, please create a new ticket.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stripe webhook endpoint error’ is closed to new replies.