#dev_ric
1 messages · Page 1 of 1 (latest)
Hi
you can make an API call to invoices.pay in order to attempt a payment:
https://stripe.com/docs/api/invoices/pay
You need to trigger this on the latest subscription's invoice
Thanks. Do I need to check if the invoice is past_due first, or does stripe intelligently know to only process a pay instruction if it's the right time to?
When you call that API, you need to do your checks, because that call is like doing a payment attempts regardlesss of any thing else.
OK, noted. Thanks