#jtishler

1 messages · Page 1 of 1 (latest)

ionic burrowBOT
woven hazel
#

Why not create the subscription after the payment has been accepted? Or apply the trial to the subscription only upon completion of payment?

winged flame
#

the docs explicitly state that we need to create a subscription in the incomplete state first when using the payment element

#

because creating the subscription generates a payment or setup intent with a client secret

#

which we need to render the payment element

#

we were also instructed by stripe support to do it this way

woven hazel
#

Ahhh, that's right. Okay, but you can always update the created subscription to include a trial. Could you (1) create the Payment Method and add it to the customer as off_session (in order to authorize it without charging it), then (2) update the subscription to include a trial only after the payment method has been confirmed?

winged flame
#

so then we would need a setupintent to create the payment element and collect the payment method