Stripe gateway checkout problem
-
I inserted new API live keys but it shows “Sorry, we are unable to process your payment at this time. Please retry later.” only. I tried many times to resolve the issue but it continues…
The page I need help with: [log in to see the link]
-
Hi @ashikta,
Could you ensure debug logs are enabled for the Stripe plugin (Step 15 in doc here).Then do a test purchase and share the logs with us here? You can find the logs by navigating to WooCommerce > Status > Logs > Select – Log under drop-down (right side) > Click – View button
Look forward to your reply at your earliest.
2021-07-28T14:31:17+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== customers/cus_JrDcoiRdMc5NoX/sources request: Array ( [limit] => 100 ) ====End Log==== 2021-07-28T14:32:42+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== sources/src_1JIDoJBn4bpEBblCWLqFyvuX ====End Log==== 2021-07-28T14:32:42+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== customers/cus_JrDcoiRdMc5NoX request: Array ( [email] => ashikabdulrasheed@gmail.com [description] => Name: Ashik Abdul Rasheed, Username: ashikabdulrasheed@gmail.com [name] => Ashik Abdul Rasheed [metadata] => Array ( ) [preferred_locales] => Array ( [0] => en-US ) ) ====End Log==== 2021-07-28T14:32:42+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Info: Begin processing payment for order 7340 for the amount of 9.95 ====End Log==== 2021-07-28T14:32:42+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents request: Array ( [source] => src_1JIDoJBn4bpEBblCWLqFyvuX [amount] => 995 [currency] => usd [description] => ClickSouq - Order 7340 [metadata] => Array ( [customer_name] => Ashik Abdul Rasheed [customer_email] => ashikabdulrasheed@gmail.com [order_id] => 7340 [site_url] => https://clicksouq.online ) [capture_method] => automatic [payment_method_types] => Array ( [0] => card ) [customer] => cus_JrDcoiRdMc5NoX [shipping] => Array ( [name] => Ashik Abdul Rasheed [address] => Array ( [line1] => 2340 [line2] => [city] => Malaz [country] => SA [postal_code] => 11496 [state] => Riyadh ) ) ) ====End Log==== 2021-07-28T14:32:43+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Stripe PaymentIntent pi_1JIDoOBn4bpEBblCn2Vz1iez initiated for order 7340 ====End Log==== 2021-07-28T14:32:43+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez/confirm request: Array ( [source] => src_1JIDoJBn4bpEBblCWLqFyvuX ) ====End Log==== 2021-07-28T14:32:45+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( ) ====End Log==== 2021-07-28T14:32:45+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== sources/src_1JIDoJBn4bpEBblCWLqFyvuX ====End Log==== 2021-07-28T14:32:46+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== customers/cus_JrDcoiRdMc5NoX request: Array ( [email] => ashikabdulrasheed@gmail.com [description] => Name: Ashik Abdul Rasheed, Username: ashikabdulrasheed@gmail.com [name] => Ashik Abdul Rasheed [metadata] => Array ( ) [preferred_locales] => Array ( [0] => en-US ) ) ====End Log==== 2021-07-28T14:32:46+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Info: Begin processing payment for order 7340 for the amount of 9.95 ====End Log==== 2021-07-28T14:32:46+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( [source] => src_1JIDoJBn4bpEBblCWLqFyvuX ) ====End Log==== 2021-07-28T14:32:49+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( ) ====End Log==== 2021-07-28T14:32:50+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== sources/src_1JIDoJBn4bpEBblCWLqFyvuX ====End Log==== 2021-07-28T14:32:50+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Info: Begin processing payment for order 7340 for the amount of 9.95 ====End Log==== 2021-07-28T14:32:50+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( [source] => src_1JIDoJBn4bpEBblCWLqFyvuX ) ====End Log==== 2021-07-28T14:32:53+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( ) ====End Log==== 2021-07-28T14:32:54+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== sources/src_1JIDoJBn4bpEBblCWLqFyvuX ====End Log==== 2021-07-28T14:32:54+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Info: Begin processing payment for order 7340 for the amount of 9.95 ====End Log==== 2021-07-28T14:32:54+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( [source] => src_1JIDoJBn4bpEBblCWLqFyvuX ) ====End Log==== 2021-07-28T14:32:59+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( ) ====End Log==== 2021-07-28T14:32:59+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== sources/src_1JIDoJBn4bpEBblCWLqFyvuX ====End Log==== 2021-07-28T14:33:00+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Info: Begin processing payment for order 7340 for the amount of 9.95 ====End Log==== 2021-07-28T14:33:00+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( [source] => src_1JIDoJBn4bpEBblCWLqFyvuX ) ====End Log==== 2021-07-28T14:33:00+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( ) ====End Log==== 2021-07-28T14:33:01+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== sources/src_1JIDoJBn4bpEBblCWLqFyvuX ====End Log==== 2021-07-28T14:33:01+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Info: Begin processing payment for order 7340 for the amount of 9.95 ====End Log==== 2021-07-28T14:33:01+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== payment_intents/pi_1JIDoOBn4bpEBblCn2Vz1iez request: Array ( [source] => src_1JIDoJBn4bpEBblCWLqFyvuX ) ====End Log==== 2021-07-28T14:33:02+00:00 DEBUG ====Stripe Version: 5.3.0==== ====Start Log==== Error: stdClass Object ( [error] => stdClass Object ( [code] => payment_method_unexpected_state [doc_url] => https://stripe.com/docs/error-codes/payment-method-unexpected-state [message] => The source you provided is not in a chargeable state. [payment_intent] => stdClass Object ( [id] => pi_1JIDoOBn4bpEBblCn2Vz1iez [object] => payment_intent [amount] => 995 [amount_capturable] => 0 [amount_received] => 0 [application] => [application_fee_amount] => [canceled_at] => [cancellation_reason] => [capture_method] => automatic [charges] => stdClass Object ( [object] => list [data] => Array ( ) [has_more] => [total_count] => 0 [url] => /v1/charges?payment_intent=pi_1JIDoOBn4bpEBblCn2Vz1iez ) [client_secret] => pi_1JIDoOBn4bpEBblCn2Vz1iez_secret_YaSUwR8KCz1lUwtlo5xtEEgZX [confirmation_method] => automatic [created] => 1627482764 [currency] => usd [customer] => cus_JrDcoiRdMc5NoX [description] => ClickSouq - Order 7340 [invoice] => [last_payment_error] => stdClass Object ( [message] => As per Indian regulations, only registered Indian businesses (i.e. sole proprietorships, limited liability partnerships and companies, but not individuals) can accept international payments. More info here: https://stripe.com/docs/india-exports [source] => stdClass Object ( [id] => src_1JIDoJBn4bpEBblCWLqFyvuX [object] => source [amount] => [card] => stdClass Object ( [exp_month] => 2 [exp_year] => 2023 [last4] => 5748 [country] => SA [brand] => MasterCard [address_line1_check] => unchecked [address_zip_check] => unchecked [cvc_check] => unchecked [funding] => debit [fingerprint] => gvrXctRfVUVnmtPW [three_d_secure] => optional [name] => [tokenization_method] => [dynamic_last4] => ) [client_secret] => src_client_secret_jSDKh7lpS9pX51foqjXZWGDG [created] => 1627482759 [currency] => [flow] => none [livemode] => 1 [metadata] => stdClass Object ( ) [owner] => stdClass Object ( [address] => stdClass Object ( [city] => Malaz [country] => SA [line1] => 2340 [line2] => [postal_code] => 11496 [state] => Riyadh ) [email] => ashikabdulrasheed@gmail.com [name] => Ashik Abdul Rasheed [phone] => 0554013607 [verified_address] => [verified_email] => [verified_name] => [verified_phone] => ) [statement_descriptor] => [status] => consumed [type] => card [usage] => reusable ) [type] => invalid_request_error ) [livemode] => 1 [metadata] => stdClass Object ( [customer_name] => Ashik Abdul Rasheed [customer_email] => ashikabdulrasheed@gmail.com [order_id] => 7340 [site_url] => https://clicksouq.online ) [next_action] => [on_behalf_of] => [payment_method] => [payment_method_options] => stdClass Object ( [card] => stdClass Object ( [installments] => [network] => [request_three_d_secure] => automatic ) ) [payment_method_types] => Array ( [0] => card ) [receipt_email] => [review] => [setup_future_usage] => [shipping] => stdClass Object ( [address] => stdClass Object ( [city] => Malaz [country] => SA [line1] => 2340 [line2] => [postal_code] => 11496 [state] => Riyadh ) [carrier] => [name] => Ashik Abdul Rasheed [phone] => [tracking_number] => ) [source] => [statement_descriptor] => [statement_descriptor_suffix] => [status] => requires_payment_method [transfer_data] => [transfer_group] => ) [type] => invalid_request_error ) ) ====End Log====Hi @ashikta
Thanks for that, the logs show us that the error pertains to Indian business regulations.
As per Indian regulations, only registered Indian businesses (i.e. sole proprietorships, limited liability partnerships, and companies, but not individuals) can accept international payments. More info Here
You can also read more about it on the Stripe site Here
I hope this helps you in the right direction.
Since the problem appears to be with the status of your Stripe account, I’m going to mark this topic as resolved.
-
This reply was modified 4 years, 12 months ago by
nicw.a11n.
-
This reply was modified 4 years, 12 months ago by
The topic ‘Stripe gateway checkout problem’ is closed to new replies.