Payement error “payment_intent_unexpected_state”
-
Hello,
i’m reaching out because I have the plugin installed on a client’s website and a client of theirs can’t pay for his order through the Stripe payment form on the website. He’s tried several times today and yesterday and the same error message always shows up.I took a look at Stripe’s log and here is the message
payment_intent_unexpected_state
You cannot confirm this PaymentIntent because it’s missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method.Complete Stripe log at the bottom of the message
Any idea what could cause this use ? I noticed it’s a “big amont” (almost 2400€), I don’t know if that could be an issue but my client has already received bigger payments through this form.
The payment form is used without any problem by many other clients, last time this very morning.
Also WordPress and all plugins are up to date on this website.Thank you !
Stripe log
{ "use_stripe_sdk": "false", "return_url": "https://www.atlanmac.fr/wp-admin/admin-ajax.php?action=asp_3ds_result" }
{ "error": { "code": "payment_intent_unexpected_state", "doc_url": "https://stripe.com/docs/error-codes/payment-intent-unexpected-state", "message": "You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method.", "payment_intent": { "id": "pi_3JwNDILuHbSxFgQn0OMrt7Cb", "object": "payment_intent", "amount": 237600, "amount_capturable": 0, "amount_received": 0, "application": null, "application_fee_amount": null, "canceled_at": null, "cancellation_reason": null, "capture_method": "automatic", "charges": { "object": "list", "data": [ ], "has_more": false, "total_count": 0, "url": "/v1/charges?payment_intent=pi_3JwNDILuHbSxFgQn0OMrt7Cb" }, "client_secret": "XXXX REPLACED FOR SECURITY REASONS XXX", "confirmation_method": "manual", "created": 1637052024, "currency": "eur", "customer": null, "description": "Je paye ma commande", "invoice": null, "last_payment_error": null, "livemode": true, "metadata": { "Product Name": "Je paye ma commande", "Product ID": "307" }, "next_action": null, "on_behalf_of": null, "payment_method": null, "payment_method_options": { "card": { "installments": null, "network": null, "request_three_d_secure": "automatic" } }, "payment_method_types": [ "card" ], "receipt_email": null, "review": null, "setup_future_usage": null, "shipping": null, "source": null, "statement_descriptor": null, "statement_descriptor_suffix": null, "status": "requires_payment_method", "transfer_data": null, "transfer_group": null }, "type": "invalid_request_error" } }
The page I need help with: [log in to see the link]
- The topic ‘Payement error “payment_intent_unexpected_state”’ is closed to new replies.