
Why Can a Repeated Payment Notification Complete an Order Twice?
The provider may not always succeed in sending a notification on the first attempt. It can be normal for the same notification to arrive again. The store receiving the same event twice…
A provider’s notification may not always be delivered successfully on the first attempt. It may be normal for the same notification to arrive again. However, if the store processes the same event as two orders or two licenses, this should be investigated.
Unique transaction key
Reliably match the provider’s transaction and event identifiers to the order reference. Verify the source of the notification using the provider’s signature method. Do not store card details or secret keys in records.
Test the status transition
Resubmit the same transaction in test mode and check that the payment status, email, delivery, or license output is not duplicated. An old notification should not reverse a newer status.
Transaction log
See separately whether a notification has been processed, rejected, or is pending. If a manual operator correction and an automatic retry can both change the same order, test the locking or safe retry behavior.
Using an example
In the test environment, process the same event sent again by the provider. If the first event generated one license and one email, the second attempt should only be recorded as a safe duplicate. A pending notification must not reverse the completed status.
Can the thank-you page be used for verification?
The screen completes the customer experience. A record verified by the provider is used to confirm payment.
Related reading
- How do you investigate a GA4 purchase event being counted twice?
- Why does the WooCommerce variation selector affect INP?
Go to the Commerce Core measurement guide
Technical resource: Official implementation guide