#lec1892
1 messages · Page 1 of 1 (latest)
Hello! If you want to make sure the unpaid months are paid for, you can make a request to pay those 2 unpaid invoices (https://stripe.com/docs/api/invoices/pay) after the user has provided a new valid payment method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
otherwise Stripe won't automatically charge the user, right?
It'll depend on the state of the invoice - if you've exhausted all automatic retries by the time the new payment method is provided then no, we won't automatically charge the user
But if they happen to update their default payment method BEFORE the automatic retries are exhausted then we'll use that new payment method for the next retry