• Resolved naturligtvismedia

    (@naturligtvismedia)


    As the topic says: a Stripe payment was executed despite WooCommerce order has status “failed”.

    The homepage owner contacted Stripe, who gave the following answer:

    I would recommend investigating what happened on your end for this to occur. There are a few things you can implement to help to prevent duplicate charges — Stripe API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a charge fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single charge is created. You can read more about this here: 

    https://stripe.com/docs/api#idempotent_requests

    It looks like your integration is built by WooCommerce Stripe Gateway. I may suggest checking your codings with them.

    The order notes says following:

    What has happened? And how to prevent this in future?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Saif

    (@babylon1999)

    Hello @naturligtvismedia,

    From the screenshot, I can see only a payment intent created, was the customer charged?

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response or upload it to Gist.

    It’s also worth checking if there are any fatal/Stripe error logs from WooCommerce > Status > Logs and choosing from the drop-down menu the fatal-errors.log option. Make sure to remove any sensitive information from Stripe Logs before posting them here or on Gist.

    Look forward to hearing back from you.

    Thread Starter naturligtvismedia

    (@naturligtvismedia)

    Yes, sorry for the confusion. Ignore what Stripe writes… The sites owner missunderstood the problem when asking Stripe. (The customer made another try and was charged correctly, the first try was also charged, but the order failed in WooCommerce.

    The customer was charged, despite the order failed in WooCommerce.

    System status: https://gist.github.com/annagson/1d6095d6f9b3e18e146351f4e451ef3c

    There is no log file called fatal-errors.log in the drop down menu.

    Thanks a lot for the swift reply!



    Igor H

    (@ihereira)

    Hi,

    For better assistance, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread in your response.

    We’ll be glad to help.

    Thread Starter naturligtvismedia

    (@naturligtvismedia)

    This is where I originally wanted to contact you, but when trying to log in (using the LOG IN link on woocommerce.com) I am redirected to wordpress.com login page and asked to chose account (the one I am logged in with here), I am then only redirected to my wordpress.com profile. Switching back to woocommerce.com I am still not logged in. Extremely annoying and confusing….

    Oh, and I do not find a “create an account” option. I can continue as this account, use another wordpress.com account or continue with Google…

    Saif

    (@babylon1999)

    his is where I originally wanted to contact you, but when trying to log in (using the LOG IN link on woocommerce.com) I am redirected to wordpress.com login

    Both are Automattic products therefore your WooCommerce.com account is actually a WordPress.com account, I understand how this might be confusing. ??

    Have you tried clearing your browser’s cache or perhaps switching to another browser?

    Look forward to hearing back from you.

    Thread Starter naturligtvismedia

    (@naturligtvismedia)

    Well, it was not confusing that it was the same account (I know very well that it’s both Automattic), but a little confusing that you tell me I might have to create an account, when writing in this thread requires an account ??

    Most confusing was that logging in didn’t work and I just got redirected away without being logged in… However it worked in incognito mode now. Thanks!

    Igor H

    (@ihereira)

    Hi,

    Sorry to hear that.

    My apologies. The goal of creating a ticket, is to discuss privately aspects related to your account and payments (Remember this is a public forum). I’d suggest trying again using a different browser/device combination.

    I hope this points you in the right direction.

    Thread Starter naturligtvismedia

    (@naturligtvismedia)

    Yes, I understand that, and I wrote it worked in incognito mode (= without cache). I have sent a ticket.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Stripe payment executed despite WooCommerce order has status “failed”’ is closed to new replies.