#Sandip
1 messages · Page 1 of 1 (latest)
hello! can you share the Subscription id?
I faced the same issue, please check if default payment method is added for your customer
Yes, I have added test card 4242424242424242 in default payment method
Just 2 min i'll give you
Subscription Id : sub_1NI2onSJCAsyx413Ce1uGUcc
you have no default payment method set on either the customer or subscription
You either set the PaymentMethod id on the customer's invoice_settings.default_payment_method [0], or you set the PaymentMethod id on the Subscription's default_payment_method [1]
[0] https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
[1] https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method
Ok Thanks we will review this