Duplicate Transactions – Multiple Transactions for the same order!!!!
-
Hello There,
Lately we had alot of duplicated transactions from 2 to 3 and even 4 transactions for the same order e from the same customers for the same items. We have to refund thoses transaction and lose the Paypal transaction fees cause they don’t refund those.
Please advise why is this happening lately and if there is anybody with the same issue.
Thank you.
-
Hello @gentlemako
We are not aware of any widespread issues of this nature.
We would like to examine the plugin log files to gain more insight into this issue. Please note that log files are generated only if the “Logging” feature is activated in your plugin settings. To enable Logging:
- Go to the “Connection” tab in your plugin settings and activate “Logging.”
- Every transaction will now generate a log entry, which you can access by navigating to WooCommerce > Status > Logs.
- Select the most recent “woocommerce-paypal-payments” file corresponding to the date of the transaction in question.
It’s important to understand that if “Logging” wasn’t enabled before, there will be no previous records of the transactions. In that situation, we’ll need to wait for upcoming failed orders to generate new log entries.
Please provide those log entries on our PrivateBin. After uploading, send us the link, so we can review them in detail.
If you do not wish to share this information publicly, we suggest you contact us directly for further assistance. We may need to examine your system report or logs to better understand what’s happening. You can open a ticket with our service desk. Here’s how you can request support: Request Support. Please make sure to include the URL of this thread in your ticket for reference.
Kind regards,
KrystianHi Krystian,
Thank you for your response. As of now, we have identified that the issue only arises with advanced card payments. Customers have reported that when they click on “place an order,” they receive an error message. However, we receive a new order notification. Subsequently, when they click on “place an order” again, the order goes through to the “thank you” page, resulting in duplicate orders. We then have to refund the second order each time, resulting in a loss of the PayPal fees as they are non-refundable.
Kind Regards,
Hello @gentlemako
Have you tried replicating this issue using a sandbox account? Identifying the factors that trigger this behavior would make it easier to develop a fix or identify any third-party plugins that might be causing the problem.
If needed, you can contact us privately, and we can analyze more logs, but reproducing the issue is key to finding a solution. You can get support by opening a ticket with our service desk here: Request Support. Please include this thread’s URL in your ticket for reference.
I’m looking forward to your response.
Kind regards,
KrystianHi Krystian,
This is the debug we got after another order which was being charged and duplicated 3 times. Please note that the website name have been hidden for security reasons.
Kind Regards,
024-09-03T05:13:39+00:00 Debug PATCH https://api-m.paypal.com/v2/checkout/orders/5M864532SY692645M
Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"816.99","breakdown":{"item_total":{"currency_code":"USD","value":"699.99"},"shipping":{"currency_code":"USD","value":"75.00"},"tax_total":{"currency_code":"USD","value":"42.00"}}},"description":"","items":[{"name":"Floral All Champagne Tuxedo - 3 Piece","unit_amount":{"currency_code":"USD","value":"699.99"},"quantity":1,"description":"","sku":"11223-42R","category":"PHYSICAL_GOODS","url":"https:\/\/www.xxxxxxx.com\/product\/mens-all-champagne-tuxedo\/?attribute_jacket-vest-size=42R&attribute_pant-color=Matching+Pant","image_url":"https:\/\/www.xxxxxxx.com\/wp-content\/uploads\/2020\/03\/Mens-All-Champagne-Tum_-scaled.jxxpg"}],"shipping":{"name":{"full_name":"Will Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"}},"custom_id":"480952","invoice_id":"GG-480952","soft_descriptor":"xxxxxxx"}}]
Response Debug ID: 0d92624306a50
Response: Array
(
[code] => 204
[message] => No Content
)
2024-09-03T05:13:39+00:00 Debug https://api-m.paypal.com/v2/checkout/orders/5M864532SY692645M
Response Debug ID: 5801c831aaac9
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:13:41+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders/5M864532SY692645M/capture
Response Debug ID: e3be67b6fdd76
Response: Array
(
[code] => 201
[message] => Created
)
2024-09-03T05:14:01+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"816.99","breakdown":{"item_total":{"currency_code":"USD","value":"699.99"},"shipping":{"currency_code":"USD","value":"75.00"},"tax_total":{"currency_code":"USD","value":"42.00"}}},"description":"","items":[{"name":"Floral All Champagne Tuxedo - 3 Piece","unit_amount":{"currency_code":"USD","value":"699.99"},"quantity":1,"description":"","sku":"11223-42R","category":"PHYSICAL_GOODS","url":"https:\/\/www.xxxxxxxx.com\/product\/mens-all-champagne-tuxedo\/?attribute_jacket-vest-size=42R&attribute_pant-color=Matching+Pant","image_url":"https:\/\/www.xxxxxxxx.com\/wp-content\/uploads\/2020\/03\/Mens-All-xxxxxxxx.com_-scaled.jpg","cart_item_key":"facdd5c3227e8eca04dc94eb6e62087b"}],"shipping":{"name":{"full_name":"Will Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"}},"custom_id":"pcp_customer_t_437d6a876705bf780e124cdf798301","soft_descriptor":"xxxxxxxx"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"en-US","brand_name":"xxxxxxxx","return_url":"https:\/\/www.xxxxxxxx.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.xxxxxxxx.com\/checkout\/","payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Will","surname":"Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"14056798124"}}},"payment_source":{"card":{"attributes":{"verification":{"method":"SCA_WHEN_REQUIRED"}}}}}
Response Debug ID: 1794637329d38
Response: Array
(
[code] => 201
[message] => Created
)
2024-09-03T05:14:03+00:00 Debug https://api-m.paypal.com/v2/checkout/orders/4G9733868X2976735
Response Debug ID: 1720ce4acc9ba
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:14:07+00:00 Debug POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
Request Body: {"transmission_id":"4d39c9b0-69b3-11ef-a5f7-5301ae5874ef","transmission_time":"2024-09-03T05:13:48Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-1a5f47cb","auth_algo":"SHA256withRSA","transmission_sig":"at2nadrQgZ0Tx2J5hrm5UT0ExB6w8AXWT2fFDxnNKaFiulbOiFTwpykVe634k4ZYPhoSgTE\/Wy01kqxIzgJnrkzkz+r86pvnkHQE4jtt2dhFcMWVsMQlJlWEcN+\/37I7evepLgGnqIbUKfh8q+T4g2WNrDKzLj7q\/Kn4zNfOjpONMJiDa24RAOCquNJcNx9vaPNfPHt6rA2xL1hAn0Olw5vJ6jbMBRBv47fIX8x7ZTOyChDs4AJtBpV24iPt\/d3lZdGmFAkikMHCH3H6sUniNWSkwoX4FpxjnJnOi+DeUWs2kJPolzI0AYZhF3PyD1Scx0FfgunT7Hbb1R30L7kfpg==","webhook_id":"6S781234NN2779901","webhook_event":{"id":"WH-3VN40987G8076533U-52514574EL274474L","event_version":"1.0","create_time":"2024-09-03T05:13:44.528Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for $ 816.99 USD","resource":{"id":"5RG27502FJ620582F","amount":{"currency_code":"USD","value":"816.99"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"disbursement_mode":"INSTANT","seller_receivable_breakdown":{"gross_amount":{"currency_code":"USD","value":"816.99"},"paypal_fee":{"currency_code":"USD","value":"24.92"},"net_amount":{"currency_code":"USD","value":"792.07"}},"invoice_id":"GG-480952","custom_id":"480952","status":"COMPLETED","processor_response":{"avs_code":"Y","cvv_code":"M","response_code":"0000"},"supplementary_data":{"related_ids":{"order_id":"5M864532SY692645M"}},"payee":{"email_address":"[email protected]","merchant_id":"WKEX6MPTTGHRU"},"create_time":"2024-09-03T05:13:40Z","update_time":"2024-09-03T05:13:40Z","links":[{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/5RG27502FJ620582F","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/5RG27502FJ620582F\/refund","rel":"refund","method":"POST"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/5M864532SY692645M","rel":"up","method":"GET"}],"network_transaction_reference":{"id":"584247188200340","network":"VISA"}},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3VN40987G8076533U-52514574EL274474L","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-3VN40987G8076533U-52514574EL274474L\/resend","rel":"resend","method":"POST"}]}}
Response Debug ID: a80a2ed2d6e9b
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:14:07+00:00 Debug Webhook WH-3VN40987G8076533U-52514574EL274474L received of type PAYMENT.CAPTURE.COMPLETED and by resource "capture"
2024-09-03T05:14:07+00:00 Debug Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
2024-09-03T05:14:07+00:00 Info Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
2024-09-03T05:18:33+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"816.99","breakdown":{"item_total":{"currency_code":"USD","value":"699.99"},"shipping":{"currency_code":"USD","value":"75.00"},"tax_total":{"currency_code":"USD","value":"42.00"}}},"description":"","items":[{"name":"Floral All Champagne Tuxedo - 3 Piece","unit_amount":{"currency_code":"USD","value":"699.99"},"quantity":1,"description":"","sku":"11223-42R","category":"PHYSICAL_GOODS","url":"https:\/\/www.xxxxxxxx.com\/product\/mens-all-champagne-tuxedo\/?attribute_jacket-vest-size=42R&attribute_pant-color=Matching+Pant","image_url":"https:\/\/www.xxxxxxxx.com\/wp-content\/uploads\/2020\/03\/Mens-Alxxxxxxxxu.com_-scaled.jpg","cart_item_key":"facdd5c3227e8eca04dc94eb6e62087b"}],"shipping":{"name":{"full_name":" "},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"}},"custom_id":"pcp_customer_16225","soft_descriptor":"xxxxxxxx"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"en-US","brand_name":"xxxxxxxx","return_url":"https:\/\/www.xxxxxxxx.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.xxxxxxxx.com\/checkout\/","payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Will","surname":"Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"14056798124"}}},"payment_source":{"card":{"attributes":{"verification":{"method":"SCA_WHEN_REQUIRED"}}}}}
Response Debug ID: 98ee0cbe086ef
Response: Array
(
[code] => 201
[message] => Created
)
2024-09-03T05:18:34+00:00 Debug https://api-m.paypal.com/v2/checkout/orders/0NU97324RH2967327
Response Debug ID: d3798e952ddee
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:18:37+00:00 Debug PATCH https://api-m.paypal.com/v2/checkout/orders/0NU97324RH2967327
Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"816.99","breakdown":{"item_total":{"currency_code":"USD","value":"699.99"},"shipping":{"currency_code":"USD","value":"75.00"},"tax_total":{"currency_code":"USD","value":"42.00"}}},"description":"","items":[{"name":"Floral All Champagne Tuxedo - 3 Piece","unit_amount":{"currency_code":"USD","value":"699.99"},"quantity":1,"description":"","sku":"11223-42R","category":"PHYSICAL_GOODS","url":"https:\/\/www.xxxxxxxx.com\/product\/mens-all-champagne-tuxedo\/?attribute_jacket-vest-size=42R&attribute_pant-color=Matching+Pant","image_url":"https:\/\/www.xxxxxxxx.com\/wp-content\/uploads\/2020\/03\/Mens-All-Champxxxxxxxx.com_-scaled.jpg"}],"shipping":{"name":{"full_name":"Will Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"}},"custom_id":"480953","invoice_id":"GG-480953","soft_descriptor":"xxxxxxxx"}}]
Response Debug ID: 1e3edf22b3010
Response: Array
(
[code] => 204
[message] => No Content
)
2024-09-03T05:18:37+00:00 Debug https://api-m.paypal.com/v2/checkout/orders/0NU97324RH2967327
Response Debug ID: bd4d0aa452a33
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:18:38+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders/0NU97324RH2967327/capture
Response Debug ID: 395109b05ce5b
Response: Array
(
[code] => 201
[message] => Created
)
2024-09-03T05:19:18+00:00 Debug POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
Request Body: {"transmission_id":"fea4cb50-69b3-11ef-9a26-6d10bd35568a","transmission_time":"2024-09-03T05:18:46Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-1a5f47cb","auth_algo":"SHA256withRSA","transmission_sig":"iR2QGfDbzEblrJJEQ2a4R5MEbU+CJhNxEOujq\/Dpp+NATG4R+VBAZFeyi3HpExxHIfHWvzEvvJ6xmg8gFi5ILb8wLcGiDWG7fnYaHkNKpADNWf4r9Bqebabny\/xoijDR6\/iW0xc0vELFeF15OJ8ylub7GHZcvbeZSoyDOMXgFUl0MABfnQjINp96RUYdUWqSoFypc8307Ikd+DFW1GmSfsb\/Sf1W3TKK1XNCEKn5bt7vo2UoMy+KOWRspTQSvgusoSr6myTCB1cFQWZiKMgBefbcIaek17Y+zybX\/DaOhPpJdUIzSwexKMpkQvfPx+djDvBr7XlhH\/ol6dt1wrm7wA==","webhook_id":"6S781234NN2779901","webhook_event":{"id":"WH-2P6635188G506612L-7TM447469G6967541","event_version":"1.0","create_time":"2024-09-03T05:18:42.985Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for $ 816.99 USD","resource":{"id":"3C1337742H284091G","amount":{"currency_code":"USD","value":"816.99"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"disbursement_mode":"INSTANT","seller_receivable_breakdown":{"gross_amount":{"currency_code":"USD","value":"816.99"},"paypal_fee":{"currency_code":"USD","value":"24.92"},"net_amount":{"currency_code":"USD","value":"792.07"}},"invoice_id":"GG-480953","custom_id":"480953","status":"COMPLETED","processor_response":{"avs_code":"Y","cvv_code":"M","response_code":"0000"},"supplementary_data":{"related_ids":{"order_id":"0NU97324RH2967327"}},"payee":{"email_address":"[email protected]","merchant_id":"WKEX6MPTTGHRU"},"create_time":"2024-09-03T05:18:37Z","update_time":"2024-09-03T05:18:37Z","links":[{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/3C1337742H284091G","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/3C1337742H284091G\/refund","rel":"refund","method":"POST"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/0NU97324RH2967327","rel":"up","method":"GET"}],"network_transaction_reference":{"id":"304247191182544","network":"VISA"}},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2P6635188G506612L-7TM447469G6967541","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-2P6635188G506612L-7TM447469G6967541\/resend","rel":"resend","method":"POST"}]}}
Response Debug ID: 63799d6196c61
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:19:18+00:00 Debug Webhook WH-2P6635188G506612L-7TM447469G6967541 received of type PAYMENT.CAPTURE.COMPLETED and by resource "capture"
2024-09-03T05:19:18+00:00 Debug Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
2024-09-03T05:19:18+00:00 Info Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
2024-09-03T05:19:24+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders
Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"USD","value":"816.99","breakdown":{"item_total":{"currency_code":"USD","value":"699.99"},"shipping":{"currency_code":"USD","value":"75.00"},"tax_total":{"currency_code":"USD","value":"42.00"}}},"description":"","items":[{"name":"Floral All Champagne Tuxedo - 3 Piece","unit_amount":{"currency_code":"USD","value":"699.99"},"quantity":1,"description":"","sku":"11223-42R","category":"PHYSICAL_GOODS","url":"https:\/\/www.xxxxxxxx.com\/product\/mens-all-champagne-tuxedo\/?attribute_jacket-vest-size=42R&attribute_pant-color=Matching+Pant","image_url":"https:\/\/www.xxxxxxxx.com\/wp-content\/uploads\/2020\/03\/Mens-All-xxxxxxxxxxxxxxxx.com_-scaled.jpg","cart_item_key":"facdd5c3227e8eca04dc94eb6e62087b"}],"shipping":{"name":{"full_name":"Will Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"}},"custom_id":"pcp_customer_16225","soft_descriptor":"xxxxxxxx"}],"application_context":{"user_action":"PAY_NOW","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"en-US","brand_name":"xxxxxxxx","return_url":"https:\/\/www.xxxxxxxx.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.xxxxxxxx.com\/checkout\/","payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED"}},"payer":{"email_address":"[email protected]","name":{"given_name":"Will","surname":"Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"14056798124"}}},"payment_source":{"card":{"attributes":{"verification":{"method":"SCA_WHEN_REQUIRED"}}}}}
Response Debug ID: 46c40de01f8d6
Response: Array
(
[code] => 201
[message] => Created
)
2024-09-03T05:19:26+00:00 Debug https://api-m.paypal.com/v2/checkout/orders/19R40643AS004490B
Response Debug ID: 61fb35bd4bda1
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:19:28+00:00 Debug PATCH https://api-m.paypal.com/v2/checkout/orders/19R40643AS004490B
Request Body: [{"op":"replace","path":"\/purchase_units\/@reference_id=='default'","value":{"reference_id":"default","amount":{"currency_code":"USD","value":"816.99","breakdown":{"item_total":{"currency_code":"USD","value":"699.99"},"shipping":{"currency_code":"USD","value":"75.00"},"tax_total":{"currency_code":"USD","value":"42.00"}}},"description":"","items":[{"name":"Floral All Champagne Tuxedo - 3 Piece","unit_amount":{"currency_code":"USD","value":"699.99"},"quantity":1,"description":"","sku":"11223-42R","category":"PHYSICAL_GOODS","url":"https:\/\/www.xxxxxxxx.com\/product\/mens-all-champagne-tuxedo\/?attribute_jacket-vest-size=42R&attribute_pant-color=Matching+Pant","image_url":"https:\/\/www.xxxxxxxx.com\/wp-content\/uploads\/2020\/03\/Mens-All-Champagne-Tuxxxxxxxxx.com_-scaled.jpg"}],"shipping":{"name":{"full_name":"Will Beary"},"address":{"country_code":"US","address_line_1":"11284 flagstaff pl","admin_area_1":"MD","admin_area_2":"Waldorf md","postal_code":"20601"}},"custom_id":"480954","invoice_id":"GG-480954","soft_descriptor":"xxxxxxxx"}}]
Response Debug ID: 96d0ee80441fe
Response: Array
(
[code] => 204
[message] => No Content
)
2024-09-03T05:19:28+00:00 Debug https://api-m.paypal.com/v2/checkout/orders/19R40643AS004490B
Response Debug ID: dd998317a98e2
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:19:29+00:00 Debug POST https://api-m.paypal.com/v2/checkout/orders/19R40643AS004490B/capture
Response Debug ID: d1b50ea0ceaa3
Response: Array
(
[code] => 201
[message] => Created
)
2024-09-03T05:20:09+00:00 Debug POST https://api-m.paypal.com/v1/notifications/verify-webhook-signature
Request Body: {"transmission_id":"1d383f70-69b4-11ef-afa6-43e6c652a0f8","transmission_time":"2024-09-03T05:19:37Z","cert_url":"https:\/\/api.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-1a5f47cb","auth_algo":"SHA256withRSA","transmission_sig":"YoDT1zD6tHD7ugN9K7oEXhNuE1JbXRHfd9v622VX2f9X\/HfjDnLuKuedK7ZhzNBOMXa12GqoDLAXJePHvQDiOqB9+FW4ynD\/vOohjRzDkne2BhhQ8NVNbxJctn5lMDEmMrPVAK1EkWqXodoQ4FVSoy7GHdRZ2Q3SzGL5rSY7yRhIVV8rlxQJCgUx3MHvOwIWdByVMaR61KITyAFTF8HU5jz9GhTL7ul1JjjziCIOO8KEdW4N\/2A\/2s9EjihqZGP7ivQJMzhL+3Ud0pmYPorfJm3de+61ID7+K3HqlY\/m6cMiEWlhJ1r757SPVvXlspD2kx0KEBIXMR7fJz7tCddNUw==","webhook_id":"6S781234NN2779901","webhook_event":{"id":"WH-77324261K8954183N-4VV51309T72845244","event_version":"1.0","create_time":"2024-09-03T05:19:33.756Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for $ 816.99 USD","resource":{"id":"4XS25775EC798661T","amount":{"currency_code":"USD","value":"816.99"},"final_capture":true,"seller_protection":{"status":"ELIGIBLE","dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"]},"disbursement_mode":"INSTANT","seller_receivable_breakdown":{"gross_amount":{"currency_code":"USD","value":"816.99"},"paypal_fee":{"currency_code":"USD","value":"24.92"},"net_amount":{"currency_code":"USD","value":"792.07"}},"invoice_id":"GG-480954","custom_id":"480954","status":"COMPLETED","processor_response":{"avs_code":"Y","cvv_code":"M","response_code":"0000"},"supplementary_data":{"related_ids":{"order_id":"19R40643AS004490B"}},"payee":{"email_address":"[email protected]","merchant_id":"WKEX6MPTTGHRU"},"create_time":"2024-09-03T05:19:28Z","update_time":"2024-09-03T05:19:28Z","links":[{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/4XS25775EC798661T","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v2\/payments\/captures\/4XS25775EC798661T\/refund","rel":"refund","method":"POST"},{"href":"https:\/\/api.paypal.com\/v2\/checkout\/orders\/19R40643AS004490B","rel":"up","method":"GET"}],"network_transaction_reference":{"id":"304247191693992","network":"VISA"}},"links":[{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-77324261K8954183N-4VV51309T72845244","rel":"self","method":"GET"},{"href":"https:\/\/api.paypal.com\/v1\/notifications\/webhooks-events\/WH-77324261K8954183N-4VV51309T72845244\/resend","rel":"resend","method":"POST"}]}}
Response Debug ID: 632d8a94f8d13
Response: Array
(
[code] => 200
[message] => OK
)
2024-09-03T05:20:09+00:00 Debug Webhook WH-77324261K8954183N-4VV51309T72845244 received of type PAYMENT.CAPTURE.COMPLETED and by resource "capture"
2024-09-03T05:20:09+00:00 Debug Webhook is going to be handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
2024-09-03T05:20:09+00:00 Info Webhook has been handled by PAYMENT.CAPTURE.COMPLETED on WooCommerce\PayPalCommerce\Webhooks\Handler\PaymentCaptureCompleted
2024-09-03T06:49:04+00:00 Error Cart simulation failed: Could not validate nonce.
2024-09-03T06:49:08+00:00 Error Cart simulation failed: Could not validate nonce.
2024-09-03T07:11:24+00:00 Error Cart simulation failed: Could not validate nonce.
2024-09-03T07:11:29+00:00 Error Cart simulation failed: Could not validate nonce.
2024-09-03T09:50:55+00:00 Error Cart simulation failed: Could not validate nonce.
2024-09-03T09:50:59+00:00 Error Cart simulation failed: Could not validate nonce.- This reply was modified 2 months, 3 weeks ago by EliteGent.
Hello @gentlemako
Could you try to reproduce this issue? We need to understand how often it occurs and if there is any factor that distinguishes the duplicated orders from others—there must be something, as it’s unlikely to be random.
This information is crucial for us, as it’s difficult to find any clues from the logs alone.
Kind regards,
KrystianHello Krystian,
We have no idea how to reproduce this issue. Sometimes, it happens multiple times, and sometimes, it happens fewer times. The only thing we got from our customers is that when they try to place the order, it says something has failed, and then when they click again on the place order button, we get two New Order confirmations and charge the customer twice.
Best Regards,
Hello @gentlemako
We may need to examine your system report or logs to better understand what’s happening.
Please open a ticket with our service desk. Here’s how you can request support:?Request Support. Please make sure to include the URL of this thread in your ticket for reference.
Kind regards,
Krystian
- You must be logged in to reply to this topic.