Jump to content

Automatically Attempt Capture on overdue invoices when card is updated


Recommended Posts

Currently, if you have a renewing license (or trial) with most Saas companies - and you add a card on file, or update an expired/declined card one file - your open/overdue invoice is charged a few minutes later.

We think this makes a lot of sense for not only automatically upgrading trials, but keeping renewals automated, so the user doesn't have to go manually view/pay the invoice after fixing their card details.

We're working on doing something like this with the CapturePayment Internal API command inside the CCUpdate hook - using the CCUpdate hook, then looping through the Unpaid invoices on a user's account using the GetInvoices API and then checking if the invoice is set to a specific gateway - then running the CapturePayment API function on each.


We're happy to share our code here once developed, but just wanted to put some feelers out and see if anyone's done this before - has any interest in something like this? 

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated