#felix-payment-next_action

1 messages · Page 1 of 1 (latest)

tribal totemBOT
#

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.

crisp coyote
#

Hello! Do you have a question about that message?

restive lagoon
#

I don't know how to fix it ?

crisp coyote
#

Can you give me the Payment Intent ID so I can take a look?

restive lagoon
#

pi_3OJtOaKlaf0ZXKql1ySCVZMT

crisp coyote
#

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.

restive lagoon
#

You mean that it's not my code issue ?

crisp coyote
#

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?

restive lagoon
#

Yes

crisp coyote
#

What are you using to collect payment details from the customer on the client end? Payment Element?

restive lagoon
#

Yes

#

stripe.js

crisp coyote
#

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

tribal totemBOT
#

felix-payment-next_action

restive lagoon
#

You mean:

  1. when i see the "status ": "requires_action", pass the client_secret to front end
#
  1. front end call stripe.handleNextAction
crisp coyote
#

Yes.

restive lagoon
#

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 ?

crisp coyote
#

Yes.