How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Hook after declined credit card charge



Our credit card processor charges us for reattempts to charge a credit card within a specific timeframe - or at all - after it has failed with certain response codes:

https://developer.moneris.com/More/Testing/Response%20Codes
Codes 416, 421-423, 493-499

Since the Moneris (Canada for us) module is not being updated to properly work with these codes (first ones introduced in 2022), we have to manually check each decline in the logs.

It would be very helpful if at least a hook would fire where we can get the information about the client/invoice/response to write our own code to check the declines for any return codes where we need to take action to avoid extra charges.

Post the first comment

Login to post a comment.