Double triggers
-
We’re experiencing an issue with order status updates in our WooCommerce store using the Stripe Gateway (v9.5.2). For some orders paid via Bancontact, the status is updated twice from “pending payment” to “processing” within seconds of each other.
This double transition triggers our gift card plugin twice, resulting in sending two gift card codes instead of one.
From our logs, it appears both the payment_intent.succeeded webhook and the UPE redirect handler are independently marking the order as paid and changing its status, despite referring to the same payment.
Status log
2025-06-07T08:35:50+00:00 DEBUG
====Stripe Version: 9.5.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
Begin processing UPE redirect payment for order 6152 for the amount of 250.00
====End Log====
2025-06-07T08:35:50+00:00 DEBUG
====Stripe Version: 9.5.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
payment_intents/pi_xxxxxxxxxx?expand[]=payment_method
====End Log====
2025-06-07T08:35:51+00:00 DEBUG
====Stripe Version: 9.5.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
Begin processing UPE redirect payment for order 6152 for the amount of 250.00
====End Log====
2025-06-07T08:39:21+00:00 DEBUG
====Stripe Version: 9.5.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
Skipped processing deferred webhook for Stripe PaymentIntent wwww for order 6152 - payment already complete.
====End Log====This means that Stripe processed a “payment succeeded” signal twice for the same payment.
This indicates that an additional webhook was luckily ignored, but by then the damage was already done (the duplicate status update had already occurred).
It does not happen all the time now.
But this shop uses Stripe for years, but only since the latest weeks see this issue.
Advice?
The topic ‘Double triggers’ is closed to new replies.