#Robert-Ibracadabra-subscription-trial
1 messages ยท Page 1 of 1 (latest)
Hello
The question itself is:
Can I upgrade a Free Trial subscription to a paid one.
The Free trial was made without asking payment details from the user.
Yes you can, but if there isn't a payment method on file then future payments won't be able to be completed.
Can I attach a payment method to that Free Trial Subscription somehow?
After that the Subscription can be billed normally I presume.
I think I might be able to use the setup intent somehow
If you already have a valid Payment Method for the customer, then you can set it up to be used automatically by either setting that on the Subscription in the default_payment_method field:
https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
Or alternatively, if default_payment_method and default_source are empty, then the Subscription will look to the Customer record for Payment Methods to use. So you can instead set that Payment Method at the Customer level in the invoice_settings.default_payment_method field:
https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method
If you don't already have a valid Payment Method on file for the Customer, then you'll want to leverage a Setup Intent flow to collect that information.
Sorry for the afk
So I take the customer through a normal payment flow.
When he upgrades the subscription to a paid one.
Maybe, if your normal payment flow covers this scenario.