#Sairony-subscriptions
1 messages · Page 1 of 1 (latest)
hi there! the payment element is meant to collect payment method details. It's not meant to display available plans for a customer to upgrade/downgrade.
were you maybe looking at the customer portal instead? https://stripe.com/docs/billing/subscriptions/integrating-customer-portal
Ah, so I guess the correct way would be to have the plan selection first, create the subscription, and then continue to the payment elements page perhaps? Haven't seen the customer-portal stuff, but that might be something we could use to reduce the amount of stuff we have to build
yep, that flow you mentioned is correct
Cool, thanks, we'll go for that approach, we don't need it to be very complex for now anyway
you can take a look at this guide for payments for subscriptions : https://stripe.com/docs/billing/subscriptions/build-subscriptions