#varovas
1 messages · Page 1 of 1 (latest)
hi! for create that is handled in the integration you build if you follow our guides. https://stripe.com/docs/billing/subscriptions/build-subscriptions
for upgrades, it would depend exactly how you do the upgrade(is the customer visiting your site at the time, are you charging them for the upgrade right now, etc etc).
For upgrade, we charge customer immediately. with proration_behaviour = 'always_invoice'. And We are creating subscriptions with php stripe api. So when I am creating subscription using this example https://stripe.com/docs/api/subscriptions/create how can I handle that user needs to 3DS authenticate?
you'd use the guide I linked
the subscription object is created on the backend, but you must 'activate' it by confirming the PaymentIntent of the subscription's first Invoice on the frontend, which charges the customer and will handle 3D Secure at that point
Or, and this is what I recommend — just use Checkout instead of creating the Subscription directly yourself.