Orders failing
-
Hey there, we seem to be having a weird issue with our clients site with orders that are failing without a clear indication as to why.
We have stripe debug enabled, but doesn’t give a clear reason for the orders being set to failed. Server logs do not print an error at the relevant time, and neither does WP debug.
See below for an example of a failed order, I’ve hidden customer details.
The Stripe Debug logs where an error is indicated look like so, I’ve replaced email and identifiable information with ‘Redacted’:
2024-11-19T12:49:20+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers/search request: Array
(
[query] => name:'Redacted' AND email:'[email protected]'
)
====End Log====
2024-11-19T12:49:21+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers/search response with stripe-version: 2024-06-20
====End Log====
2024-11-19T12:49:21+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers request: Array
(
[email] => [email protected]
[description] => Name: Redacted, Guest
[name] => Redacted
[metadata] => Array
(
)
[preferred_locales] => Array
(
[0] => en-US
)
[address] => Array
(
[line1] => Redacted
[line2] => Redacted
[postal_code] => Redacted
[city] => Redacted
[state] => Redacted
[country] => GB
)
)
====End Log====
2024-11-19T12:49:21+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers response with stripe-version: 2024-06-20
====End Log====
2024-11-19T12:49:21+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
Error: stdClass Object
(
[token_id] =>
[customer] => cus_RFLZK2n1gjs1RH
[source] =>
[source_object] =>
[payment_method] =>
)
====End Log====
2024-11-19T12:50:42+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers/search request: Array
(
[query] => name:'Redacted' AND email:'[email protected]'
)
====End Log====
2024-11-19T12:50:43+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers/search response with stripe-version: 2024-06-20
====End Log====
2024-11-19T12:50:43+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers/cus_RFLZK2n1gjs1RH request: Array
(
[email] => [email protected]
[description] => Name: Redacted, Guest
[name] => Redacted
[metadata] => Array
(
)
[preferred_locales] => Array
(
[0] => en-US
)
[address] => Array
(
[line1] => Redacted
[line2] => Redacted
[postal_code] => Redacted
[city] => Redacted
[state] => Redacted
[country] => GB
)
)
====End Log====
2024-11-19T12:50:43+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
customers/cus_RFLZK2n1gjs1RH response with stripe-version: 2024-06-20
====End Log====
2024-11-19T12:50:43+00:00 Debug
====Stripe Version: 8.8.2====
====Stripe Plugin API Version: 2024-06-20====
====Start Log====
Error: stdClass Object
(
[token_id] =>
[customer] => cus_RFLZK2n1gjs1RH
[source] =>
[source_object] =>
[payment_method] =>
)
====End Log====Plugin version at the time of the error was 8.8.2 (now on 8.9.0 as of about 1 hour ago)
WP Version: 6.6.2
Woocommerce Version: 9.4.1
PHP Version: 8.1.29I can send a status report but is there a way to do that without it being public?
Also worth noting, we do get a failed order email that gets sent out but again, no indication of the issue here. There also does seem to be some correlation with discounts on failed orders, we are using the default ‘coupon’ system that woocommerce provides.Thanks,
Liam.C
- You must be logged in to reply to this topic.