#Berke Iri-retry-payment
1 messages · Page 1 of 1 (latest)
Hello!
We want to charge the invoice of customers without waiting when customers entered their card details after payment method failed.
Well it would depend on the reason for failure, but you'd just use confirmPayment on the PI again
The failed reason is not entering the card details of customers before free trial is end.
If the customer enters its card details after free trial is end. We want to retry charge without waiting for couple days
How are they entering their payment details?
With setup mode of checkout session
It's generally not recommended, but in this instance you can call the pay endpoint: https://stripe.com/docs/api/invoices/pay
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.