#farath
1 messages · Page 1 of 1 (latest)
Hi @paper bear I believe I have answered this question yesterday,
Uh no, it was an open ended question so no?
So you want to use a saved payment method to create a subscription for you customer, am I right?
If you already have acollected the payment method, you can call the subscription API directly to create a subsctipion without using Checkout https://stripe.com/docs/api/subscriptions/create#create_subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So you want to use a saved payment method to create a subscription for you customer, am I right? --> Well, yes. But the customers are saved as 'Guest Customers' so it's not possible to create subscriptions out of them.
No you need to create a customer first, in fact the payment method can't be saved without a customer.
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=checkout If you don't have saved payment methods, I'd suggest you to use Checkout to create subscriptions for your customers. Checkout will help you collect the payment method, attach to the customer and use that payment method for recurring payments