#elporter-subscription

1 messages ยท Page 1 of 1 (latest)

tacit krakenBOT
vagrant parcel
#

Hi ๐Ÿ‘‹ yes, you can create a Subscription without a Payment Method, are you encountering an error when you try to do so?

rancid merlin
#

i have a customer without payment method and that return this error

vagrant parcel
#

Are you setting the Subscription to charge automatically?

#

If so, then a Payment Method is required when creating a Subscription via the dashboard (I believe, we focus more on the API side of these flows and are not as familiar with the Stripe dashboard).

rancid merlin
#

yes i've tried in the dashboard first , but i need this on the API side

#

if i remove Subscription to charge automatically , the email with the invoice will send to the customer?

vagrant parcel
#

You have more control when working with the API. In addition to being able to specify your desired collection_method (which controls whether Invoices are emailed to your customers or if payments are automatically attempted for them), you can also set the payment_behavior which gives you more flexibility regarding how the Subscription creation request will behave:
https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_behavior

#

elporter-subscription