#Juni - Subscriptions
1 messages · Page 1 of 1 (latest)
Pulling in your messages from outside the thread:
Right now it seems like you need to create the subscription marked as
default_incompleteAND the payment intent at the same time, is this correct?
The reason I'm confused is because I was following this guide (https://stripe.com/docs/payments/quickstart) but when it got to the part about creating the payment intent, it says to hardcode a currency amount into the payment intent. I want the payment intent to correspond with the subscription. Would following this guide still work as long as I create a subscription with the payment intent?
Hello! So the Subscription will generate Invoices, and each Invoice will generate a Payment Intent. You don't need to create Payment Intents yourself, only the Subscription.
The guide you linked to has nothing to do with Subscriptions.
You should ignore that guide and look at the documentation here: https://stripe.com/docs/billing
Ok thanks!
So I'm still a bit confused on the flow here. I'm trying to do a custom checkout page on my own website, not through stripe's hosted site. It looks like the checkout session objects don't allow you to complete the transaction programmatically. Is there a way to do this?
The reason I want to have it on my own site is because it doesn't look like stripe allows you to do sanity checks once the user confirms the transaction, it just sends you an after-the-fact webhook signal
What exactly am I missing here?
You wouldn't use Checkout's API at all if you don't use our hosted product
Got it, is there any way to use the Stripe Elements stuff with subscriptions? It looked like the only example I found was for one-time payments