#danboyle8637
1 messages · Page 1 of 1 (latest)
hello! are you collecting one-time payments or subscriptions?
Both... but in my current tests I am working with one time payments
actually, what you would want to do is to use Checkout Sessions instead of Payment Links. When you create the Checkout Session, you would pass in a Customer id [0] so that the payment(s) or subscription(s) will always be associated with the "correct" Customer
[0] https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay... with Checkout sessions I have to host the checkout page in my app or can I still use the Stripe checkout flow?
you can still use the Stripe Checkout flow
https://stripe.com/docs/checkout/quickstart - might want to take a look at this quickstart guide