#Monkey

1 messages · Page 1 of 1 (latest)

trail caveBOT
tall nacelle
stark cosmos
#

?

tall nacelle
#

Calling the URL will redirect to the Stripe hosted payment page.

If you want to use Stripe hosted payment page to collect the payment, then you should redirect the customer to the URL

stark cosmos
#

Are you willing to write a step-by-step instructions? For example:

  1. Make an API call to PaymentIntent
    Q: Can I add line_items or use product ids when using PaymentIntent?
  2. Get the ID from the response
  3. Use the ID in...
tall nacelle
#

For Payment Intent, it doesn't require any line item. It simply collect the final amount. Creating products and prices are not required.

The guide provides the step-by-step instruction on how to implement Payment Element with Payment Intent. My step-by-step instruction will be the same as the doc.

Alternatively, you can follow this quick start guide (Choose Custom payment flow and language of your preference) for the complete code and steps: https://stripe.com/docs/payments/quickstart

stark cosmos
#

Got it!
River you're a rock star! Thank you!