#Sero
1 messages · Page 1 of 1 (latest)
👋 happy to help
it depends on how you want to handle it
you can read through this guide https://stripe.com/docs/billing/subscriptions/designing-integration
the customers on my site will buy a monthly subscription, at registration a customer is created on my dashboard
it might help you with your choices
so basically I have to initiate a checkout session linked to the subscription?
that's one way
the other way would be to create subscriptions with collection_method: "send_invoice"
which basically means that we will send the invoice for the customer to pay on our Hosted Invoice Page
that's for the payments after the first one right?
I was talking about the first payment and then it will be charged automatically
no if the collection_method is send_invoice then all payments will go through the Hosted Invoice Page
in that case the client has to manually pay every month, I wanted to charge automatically, the doubt I had is how I can setup the first payment so the customer puts his info and initiates the subsription
then the checkout scenario is good in your case
I have to create a product, let the customer buy the product (subscription) and the rest is done automatically right? so in theory in my website I just have to create a customer and initiate a checkout
no need to link the customer to a subscription manually as "create subscription"
if you create the Checkout Session and pass the customer ID then yes
ok I got it, when I pass the "customer" attribute then stripe links an already existent customer to the payment process
but in that case, where does the actual payment happen? will stripe create a link automatically with a payment form?
I'm not sure I understand your question