#bitfede-dev
1 messages · Page 1 of 1 (latest)
You don't need to explicitly create a payment method. I just recommend following this guide: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements&card-or-payment-element=payment-element
thanks for the link! super useful! I asked about PaymentMethod because in my platform people already have their credit cards and bank accts saved, so I would want to avoid for them to re-type that info again to subscribe
Oh yeah in that case you can pass an existing payment method to create a subscription: https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.