#Robert-Ibracadabra-subscription-trial

1 messages ยท Page 1 of 1 (latest)

coarse reef
#

Hi ๐Ÿ‘‹ can you elaborate?

dense swallow
#

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.

coarse reef
#

Yes you can, but if there isn't a payment method on file then future payments won't be able to be completed.

dense swallow
#

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

coarse reef
#

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.

dense swallow
#

Sorry for the afk

#

So I take the customer through a normal payment flow.

#

When he upgrades the subscription to a paid one.

coarse reef
#

Maybe, if your normal payment flow covers this scenario.

dense swallow
#

Well not for now ๐Ÿ˜„

#

but I was searching ways if it could

#

I am using the old method for subscriptions

#

because we have a summarry page at the end

#

and Stripe elements as well.