Support » Plugin: WooCommerce Stripe Payment Gateway » Duplicate payments processed from a single WooCommerce Order

  • Resolved bretweinraub99

    (@bretweinraub99)


    This is with

    WC Stripe Gateway 4.1.14
    WC 3.5.6

    A single order resulted in two charges in Stripe. Stripe support sent the following message:

    Hey there,

    Thanks for reaching out about this duplicate charge. My name is … and I’ll be happy to help.

    It looks like there was indeed more than one payment made by this customer. It’s possible that this customer may have gone through your checkout flow a second time, or they may have clicked “Pay” more than once while awaiting confirmation. Here’s a link to each of the customer’s charges so you can take a look:

    ….

    You can refund the duplicate charge from the payment page:

    https://dashboard.stripe.com/payments

    I would also 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

    I hope this helps! Let me know if you have any other questions.

    I wonder if this idempotent request thing is implemented.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate payments processed from a single WooCommerce Order’ is closed to new replies.