-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Description
👋
I am updating the payment workflow on a website i am working on. I am following the description made in the block Stripe Payment Intents from the README.md file (or from this comment) and... I'm lost.
First, the page the link "collecting the payment method details" is pointing to has been updated.
Then, on this stripe.com page, they are talking about five steps to create a one-time payment:
- Create a PaymentIntent (specifying the amount and the currency) on the server
- Pass
client_secretto the client, this is an attribute of the PaymentIntent object got from the previous step response - Collect payment method details on the client with Stripe.js
- Submit the payment to Stripe from the client with Stripe.js using
stripe.handleCardPaymentmethod - Asynchronously fulfill the customer’s order by:
- Setting up a webhook
- or Manually using the Stripe Dashboard
- or Using a partner application
- or Using a cron job to fetch recent events
I am in the dark with this two different workflows. From the sixth point in the README.md file, how the PaymentIntent confirmation is made? This is not by providing a callback URL (like PayPal for example). I think we have to create a webhook, isn't it?
Thanks to help me clarify the workflow
Metadata
Metadata
Assignees
Labels
No labels