#felix-payment-next_action
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- felixcao_china, 2 days ago, 17 messages
Hello! Do you have a question about that message?
I don't know how to fix it ?
Can you give me the Payment Intent ID so I can take a look?
pi_3OJtOaKlaf0ZXKql1ySCVZMT
Looks like this Payment Intent is in requires_action status, so the next action would need to be completed to move this payment forward.
The next action needs to be handled by the person paying.
You mean that it's not my code issue ?
No, there's nothing wrong with the API request you made as far as I can tell.
Can you tell me more about what you're trying to do?
Is this for a payment where the customer is present?
Yes
What are you using to collect payment details from the customer on the client end? Payment Element?
If you're confirming server-side for an on-session payment like this one and a next action is required you need to pass the Payment Intent's client secret to your client-side code and call stripe.handleNextAction which will allow the customer to complete the action required: https://stripe.com/docs/js/payment_intents/handle_next_action
felix-payment-next_action
You mean:
- when i see the
"status ": "requires_action", pass theclient_secretto front end
- front end call
stripe.handleNextAction
Yes.
Thanks, let me try
Let me change my code, and confirm with customer.
Thanks very much
For 1st point
When i see "status ": "requires_action" and next_action.type = "use_stripe_sdk", pass client_secret
right ?
Yes.