#Gautam
1 messages · Page 1 of 1 (latest)
hello! do you have an example Subscription id?
sub_1N81hGGXlQ7PG1unmse4C4GX
I don't see any failed payments on this customer.
evt_1NJHSiGXlQ7PG1unN7ySOzDW
this has failed
during the subscription creation ..he paid through one card which has failed in next cycle
then he used another card for payments on invoice link
you'll want to update the default_source of the Subscription to the new card : https://stripe.com/docs/api/subscriptions/update#update_subscription-default_source
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
in next cycle will stripe charge with existing default(failed card) or last transcation (success one) ?
next question .. when we should update the default_source of the Subscription to the new card :
the Subscription will always charge to the default. In your case, that's the failed card since that's set as the default_source
ok .. got it ..thanks a lot