Skip to content

Stripe Payment Intents workflow #146

@2ec0b4

Description

@2ec0b4

👋

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:

  1. Create a PaymentIntent (specifying the amount and the currency) on the server
  2. Pass client_secret to the client, this is an attribute of the PaymentIntent object got from the previous step response
  3. Collect payment method details on the client with Stripe.js
  4. Submit the payment to Stripe from the client with Stripe.js using stripe.handleCardPayment method
  5. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions