#anyuming_44007

1 messages · Page 1 of 1 (latest)

gritty tartanBOT
scarlet pumice
#

Can you share the subscription ID (sub_xxx) that the payment failed?

woven nexus
woven nexus
woven nexus
scarlet pumice
#

Thanks for waiting! Discord is busy now

woven nexus
scarlet pumice
#

There is no default_payment_method set on the subscription or customer, so the payment can't be charged

woven nexus
scarlet pumice
#

The steps will be:

  1. Retrieve the save payment methods on the customer: https://stripe.com/docs/api/payment_methods/customer_list
  2. Update the default_payment_method to one of the saved payment methods: https://stripe.com/docs/api/subscriptions/update#update_subscription-default_payment_method
#

So yes, you'd need to sync the default_payment_method on the new subscription as well