#Cadu
1 messages · Page 1 of 1 (latest)
Hi there
I don't understand exactly what you mean... can you elaborate a bit on what you are looking for?
alright, i'll try to explain it
imagine if you want to rent a chair for 3 months and you chose to pay it with installments, so we create a payment intent with installments equals a 3 per month. I want that after this deadline, this payment become a subscription charged monthly until the client wants to cancel
Gotcha
So you will just want to make sure the payment method is set up for future use and attached to a Customer object
Then you can start a Subscription for that Customer whenever you want and charge the PaymentMethod
how can i set payment method for feature?
Have you decided on what integration you are going to use?
(Stripe Checkout vs. Elements for example)
stripe checkout
Okay so you want to use payment_intent_data.setup_future_usage when you create your Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage
That will set up and save the PaymentMethod to the Customer
but can i create subscription for future usage instead of payment intent?
You can create a Subscription yes
But that Subscription would start immediately. If you want to just collect a PaymentMethod and create a Subscription in the future then you would use mode: setup
thanks