carefenzo
Forum Replies Created
-
Hi,
Please access this link to see logs stripe and system support status
https://gist.github.com/carefenzodigital/2aea69a2992006c14a7010151e07872f
Hi,
- The other one had the same issue, but then reduced the stock anyway. Did you change it to processing manually?
–> NO, The system will automatically process the order even though the order is not successful - Also, those two do not have the “Sorry, we are unable to process your payment at this time. Please retry later.” error, correct?
–> yes - Can you please confirm if you were paid for all those orders despite them being canceled?
–> I received payment from the customer via Stripe. - Can you also please share a screenshot of what you see on WooCommerce > Settings > Payments > Stripe > Settings > Payments & transactions?
–> Please see screenshot below

- This reply was modified 1 year, 11 months ago by carefenzo.
Hi,
Also, I see that the stock was reduced even after it says the Order failed, correct? Is this accurate with the actual stock?
–> yes this accurate with the actual stockPlease see the screenshot to see 2 orders that are experiencing the same error
- This reply was modified 1 year, 11 months ago by carefenzo.
Hi,
Previously, Stripe successfully paid a few orders, but the order status changed from processing to pending payment.
But there is only 1 such case every 2-3 monthsFor example:
After 300-400 orders, only 1 order has such an error
Since the error doesn’t appear so i can’t fix the issue will be by recreating the problem
Hi,
What I mean is that the transaction was made on Stripe, but the WordPress order status changed from payment pending to failed

This is logs from woocommerce status :
[removed by moderator due to PII]- This reply was modified 1 year, 11 months ago by Steven Stern (sterndata). Reason: removed log info due to customer info
2024-04-28T05:29:25+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Info: Begin processing payment for order 69892 for the amount of 60.75 ====End Log==== 2024-04-28T05:29:25+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents request: Array ( [amount] => 6075 [currency] => sgd [description] => Kee Song Online - Order 40679 [metadata] => Array ( [customer_name] => Ruth Tan [customer_email] => Ruthtansk@yahoo.com.sg [order_id] => 40679 [site_url] => https://www.keesong.com [save_payment_method] => true ) [capture_method] => automatic [payment_method_types] => Array ( [0] => card ) [payment_method] => pm_1PAQIfIeC9BCUT6AB9RgD8KZ [setup_future_usage] => off_session [customer] => cus_Q0RBGv50atdFfr [shipping] => Array ( [name] => Ruth Tan [address] => Array ( [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [city] => [country] => SG [postal_code] => 534145 [state] => ) ) ) ====End Log====024-04-28T05:32:59+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents/pi_3PAQIkIeC9BCUT6A0BrCDvHb response with stripe-version: 2019-09-09 ====End Log==== 2024-04-28T05:32:59+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Error: stdClass Object ( [error] => stdClass Object ( [code] => payment_intent_unexpected_state [doc_url] => https://stripe.com/docs/error-codes/payment-intent-unexpected-state [message] => This PaymentIntent's payment_method could not be updated because it has a status of succeeded. You may only update the payment_method of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action. [param] => payment_method [payment_intent] => stdClass Object ( [id] => pi_3PAQIkIeC9BCUT6A0BrCDvHb [object] => payment_intent [amount] => 6075 [amount_capturable] => 0 [amount_details] => stdClass Object ( [tip] => stdClass Object ( ) ) [amount_received] => 6075 [application] => [application_fee_amount] => [automatic_payment_methods] => [canceled_at] => [cancellation_reason] => [capture_method] => automatic [charges] => stdClass Object ( [object] => list [data] => Array ( [0] => stdClass Object ( [id] => ch_3PAQIkIeC9BCUT6A0SOxDJtI [object] => charge [amount] => 6075 [amount_captured] => 6075 [amount_refunded] => 0 [application] => [application_fee] => [application_fee_amount] => [balance_transaction] => txn_3PAQIkIeC9BCUT6A0epyY4sW [billing_details] => stdClass Object ( [address] => stdClass Object ( [city] => [country] => SG [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [postal_code] => 534145 [state] => ) [email] => Ruthtansk@yahoo.com.sg [name] => [phone] => 93377130 ) [calculated_statement_descriptor] => KEE SONG [captured] => 1 [created] => 1714282228 [currency] => sgd [customer] => cus_Q0RBGv50atdFfr [description] => Kee Song Online - Order 40679 [destination] => [dispute] => [disputed] => [failure_balance_transaction] => [failure_code] => [failure_message] => [fraud_details] => stdClass Object ( ) [invoice] => [livemode] => 1 [metadata] => stdClass Object ( [order_id] => 40679 [site_url] => https://www.keesong.com [customer_email] => Ruthtansk@yahoo.com.sg [save_payment_method] => true [customer_name] => Ruth Tan ) [on_behalf_of] => [order] => [outcome] => stdClass Object ( [network_status] => approved_by_network [reason] => [risk_level] => normal [seller_message] => Payment complete. [type] => authorized ) [paid] => 1 [payment_intent] => pi_3PAQIkIeC9BCUT6A0BrCDvHb [payment_method] => pm_1PAQIfIeC9BCUT6AB9RgD8KZ [payment_method_details] => stdClass Object ( [card] => stdClass Object ( [amount_authorized] => 6075 [brand] => mastercard [checks] => stdClass Object ( [address_line1_check] => unavailable [address_postal_code_check] => unavailable [cvc_check] => pass ) [country] => SG [exp_month] => 3 [exp_year] => 2025 [extended_authorization] => stdClass Object ( [status] => disabled ) [fingerprint] => 9c4htCpNDjcxv25G [funding] => credit [incremental_authorization] => stdClass Object ( [status] => unavailable ) [installments] => [last4] => 7080 [mandate] => [multicapture] => stdClass Object ( [status] => unavailable ) [network] => mastercard [network_token] => stdClass Object ( [used] => ) [overcapture] => stdClass Object ( [maximum_amount_capturable] => 6075 [status] => unavailable ) [three_d_secure] => stdClass Object ( [authenticated] => 1 [authentication_flow] => challenge [electronic_commerce_indicator] => 02 [exemption_indicator] => [result] => authenticated [result_reason] => [succeeded] => 1 [transaction_id] => 4a11bbdf-2661-4b98-8ca2-c444ec0e5d97 [version] => 2.2.0 ) [wallet] => ) [type] => card ) [radar_options] => stdClass Object ( ) [receipt_email] => [receipt_number] => [receipt_url] => https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFNMldwZ0llQzlCQ1VUNkEoi7-3sQYyBmbmJU82NjosFr90GyHQkQuKczVpYx76fw1tdGlRnPYJfWb8cEpoi7NLpKqbQ7SHvkowKU0 [refunded] => [refunds] => stdClass Object ( [object] => list [data] => Array ( ) [has_more] => [total_count] => 0 [url] => /v1/charges/ch_3PAQIkIeC9BCUT6A0SOxDJtI/refunds ) [review] => [shipping] => stdClass Object ( [address] => stdClass Object ( [city] => [country] => SG [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [postal_code] => 534145 [state] => ) [carrier] => [name] => Ruth Tan [phone] => [tracking_number] => ) [source] => [source_transfer] => [statement_descriptor] => [statement_descriptor_suffix] => [status] => succeeded [transfer_data] => [transfer_group] => ) ) [has_more] => [total_count] => 1 [url] => /v1/charges?payment_intent=pi_3PAQIkIeC9BCUT6A0BrCDvHb ) [client_secret] => pi_3PAQIkIeC9BCUT6A0BrCDvHb_secret_4sobB7CCR9SlgvYrUjW7jBypj [confirmation_method] => automatic [created] => 1714282166 [currency] => sgd [customer] => cus_Q0RBGv50atdFfr [description] => Kee Song Online - Order 40679 [invoice] => [last_payment_error] => [latest_charge] => ch_3PAQIkIeC9BCUT6A0SOxDJtI [livemode] => 1 [metadata] => stdClass Object ( [order_id] => 40679 [site_url] => https://www.keesong.com [customer_email] => Ruthtansk@yahoo.com.sg [save_payment_method] => true [customer_name] => Ruth Tan ) [next_action] => [on_behalf_of] => [payment_method] => pm_1PAQIfIeC9BCUT6AB9RgD8KZ [payment_method_configuration_details] => [payment_method_options] => stdClass Object ( [card] => stdClass Object ( [installments] => [mandate_options] => [network] => [request_three_d_secure] => automatic ) ) [payment_method_types] => Array ( [0] => card ) [processing] => [receipt_email] => [review] => [setup_future_usage] => off_session [shipping] => stdClass Object ( [address] => stdClass Object ( [city] => [country] => SG [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [postal_code] => 534145 [state] => ) [carrier] => [name] => Ruth Tan [phone] => [tracking_number] => ) [source] => [statement_descriptor] => [statement_descriptor_suffix] => [status] => succeeded [transfer_data] => [transfer_group] => ) [request_log_url] => https://dashboard.stripe.com/logs/req_YZVT1cmUAqdkOY?t=1714282379 [type] => invalid_request_error ) ) ====End Log====Yes, below is log of order error
2024-04-28T05:29:25+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Info: Begin processing payment for order 69892 for the amount of 60.75 ====End Log==== 2024-04-28T05:29:25+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== payment_intents request: Array ( [amount] => 6075 [currency] => sgd [description] => Kee Song Online – Order 40679 [metadata] => Array ( [customer_name] => Ruth Tan [customer_email] => Ruthtansk@yahoo.com.sg [order_id] => 40679 [site_url] => https://www.keesong.com [save_payment_method] => true ) [capture_method] => automatic [payment_method_types] => Array ( [0] => card ) [payment_method] => pm_1PAQIfIeC9BCUT6AB9RgD8KZ [setup_future_usage] => off_session [customer] => cus_Q0RBGv50atdFfr [shipping] => Array ( [name] => Ruth Tan [address] => Array ( [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [city] => [country] => SG [postal_code] => 534145 [state] => ) ) )
2024-04-28T05:32:59+00:00 DEBUG ====Stripe Version: 8.2.0==== ====Stripe Plugin API Version: 2019-09-09==== ====Start Log==== Error: stdClass Object ( [error] => stdClass Object ( [code] => payment_intent_unexpected_state [doc_url] => https://stripe.com/docs/error-codes/payment-intent-unexpected-state [message] => This PaymentIntent's payment_method could not be updated because it has a status of succeeded. You may only update the payment_method of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action. [param] => payment_method [payment_intent] => stdClass Object ( [id] => pi_3PAQIkIeC9BCUT6A0BrCDvHb [object] => payment_intent [amount] => 6075 [amount_capturable] => 0 [amount_details] => stdClass Object ( [tip] => stdClass Object ( ) ) [amount_received] => 6075 [application] => [application_fee_amount] => [automatic_payment_methods] => [canceled_at] => [cancellation_reason] => [capture_method] => automatic [charges] => stdClass Object ( [object] => list [data] => Array ( [0] => stdClass Object ( [id] => ch_3PAQIkIeC9BCUT6A0SOxDJtI [object] => charge [amount] => 6075 [amount_captured] => 6075 [amount_refunded] => 0 [application] => [application_fee] => [application_fee_amount] => [balance_transaction] => txn_3PAQIkIeC9BCUT6A0epyY4sW [billing_details] => stdClass Object ( [address] => stdClass Object ( [city] => [country] => SG [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [postal_code] => 534145 [state] => ) [email] => Ruthtansk@yahoo.com.sg [name] => [phone] => 93377130 ) [calculated_statement_descriptor] => KEE SONG [captured] => 1 [created] => 1714282228 [currency] => sgd [customer] => cus_Q0RBGv50atdFfr [description] => Kee Song Online - Order 40679 [destination] => [dispute] => [disputed] => [failure_balance_transaction] => [failure_code] => [failure_message] => [fraud_details] => stdClass Object ( ) [invoice] => [livemode] => 1 [metadata] => stdClass Object ( [order_id] => 40679 [site_url] => https://www.keesong.com [customer_email] => Ruthtansk@yahoo.com.sg [save_payment_method] => true [customer_name] => Ruth Tan ) [on_behalf_of] => [order] => [outcome] => stdClass Object ( [network_status] => approved_by_network [reason] => [risk_level] => normal [seller_message] => Payment complete. [type] => authorized ) [paid] => 1 [payment_intent] => pi_3PAQIkIeC9BCUT6A0BrCDvHb [payment_method] => pm_1PAQIfIeC9BCUT6AB9RgD8KZ [payment_method_details] => stdClass Object ( [card] => stdClass Object ( [amount_authorized] => 6075 [brand] => mastercard [checks] => stdClass Object ( [address_line1_check] => unavailable [address_postal_code_check] => unavailable [cvc_check] => pass ) [country] => SG [exp_month] => 3 [exp_year] => 2025 [extended_authorization] => stdClass Object ( [status] => disabled ) [fingerprint] => 9c4htCpNDjcxv25G [funding] => credit [incremental_authorization] => stdClass Object ( [status] => unavailable ) [installments] => [last4] => 7080 [mandate] => [multicapture] => stdClass Object ( [status] => unavailable ) [network] => mastercard [network_token] => stdClass Object ( [used] => ) [overcapture] => stdClass Object ( [maximum_amount_capturable] => 6075 [status] => unavailable ) [three_d_secure] => stdClass Object ( [authenticated] => 1 [authentication_flow] => challenge [electronic_commerce_indicator] => 02 [exemption_indicator] => [result] => authenticated [result_reason] => [succeeded] => 1 [transaction_id] => 4a11bbdf-2661-4b98-8ca2-c444ec0e5d97 [version] => 2.2.0 ) [wallet] => ) [type] => card ) [radar_options] => stdClass Object ( ) [receipt_email] => [receipt_number] => [receipt_url] => https://pay.stripe.com/receipts/payment/CAcQARoXChVhY2N0XzFNMldwZ0llQzlCQ1VUNkEoi7-3sQYyBmbmJU82NjosFr90GyHQkQuKczVpYx76fw1tdGlRnPYJfWb8cEpoi7NLpKqbQ7SHvkowKU0 [refunded] => [refunds] => stdClass Object ( [object] => list [data] => Array ( ) [has_more] => [total_count] => 0 [url] => /v1/charges/ch_3PAQIkIeC9BCUT6A0SOxDJtI/refunds ) [review] => [shipping] => stdClass Object ( [address] => stdClass Object ( [city] => [country] => SG [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [postal_code] => 534145 [state] => ) [carrier] => [name] => Ruth Tan [phone] => [tracking_number] => ) [source] => [source_transfer] => [statement_descriptor] => [statement_descriptor_suffix] => [status] => succeeded [transfer_data] => [transfer_group] => ) ) [has_more] => [total_count] => 1 [url] => /v1/charges?payment_intent=pi_3PAQIkIeC9BCUT6A0BrCDvHb ) [client_secret] => pi_3PAQIkIeC9BCUT6A0BrCDvHb_secret_4sobB7CCR9SlgvYrUjW7jBypj [confirmation_method] => automatic [created] => 1714282166 [currency] => sgd [customer] => cus_Q0RBGv50atdFfr [description] => Kee Song Online - Order 40679 [invoice] => [last_payment_error] => [latest_charge] => ch_3PAQIkIeC9BCUT6A0SOxDJtI [livemode] => 1 [metadata] => stdClass Object ( [order_id] => 40679 [site_url] => https://www.keesong.com [customer_email] => Ruthtansk@yahoo.com.sg [save_payment_method] => true [customer_name] => Ruth Tan ) [next_action] => [on_behalf_of] => [payment_method] => pm_1PAQIfIeC9BCUT6AB9RgD8KZ [payment_method_configuration_details] => [payment_method_options] => stdClass Object ( [card] => stdClass Object ( [installments] => [mandate_options] => [network] => [request_three_d_secure] => automatic ) ) [payment_method_types] => Array ( [0] => card ) [processing] => [receipt_email] => [review] => [setup_future_usage] => off_session [shipping] => stdClass Object ( [address] => stdClass Object ( [city] => [country] => SG [line1] => CHARLTON LANE [line2] => CHARLTON VILLAS [postal_code] => 534145 [state] => ) [carrier] => [name] => Ruth Tan [phone] => [tracking_number] => ) [source] => [statement_descriptor] => [statement_descriptor_suffix] => [status] => succeeded [transfer_data] => [transfer_group] => ) [request_log_url] => https://dashboard.stripe.com/logs/req_YZVT1cmUAqdkOY?t=1714282379 [type] => invalid_request_error ) )
- The other one had the same issue, but then reduced the stock anyway. Did you change it to processing manually?