Payment intent?

What is payment intent in strip JS. used for?

I’m curious how useful the payment intent action is in stripe Js.

I’m hoping to use it for a pending charge for example: a customer books a local service and a the charge is pending in their bank statement until the job is completed one the job is complete use the creat a charge action.

Am I on the right track or is there another action needed?

Yep, that’s exactly how you do it…

Create the payment intent, but don’t capture it (use capture_method: manual)

Then, at a later date (within 7 days of the initial authorization) you can use the Capture a PaymentIntent endpoint to capture the charge.

This topic was automatically closed after 70 days. New replies are no longer allowed.