Netcash debit order processing integration
In South Africa the payment provider of choice for debit orders is Netcash.
What we need is a module that submits debit orders to the Netcash system.
Netcash already provides an extensive API.
The caveat with Netcash is you can't immediately see if a debit order was processed successfully. You wait a few days for "bounces" to come through and then act accordingly. Another complication is that a bounce might come through "at any time" if the client has cancelled their debit order. WHMCS needs to be intelligent enough to pick this up at any time (or daily with the CRON) and then do the appropriate reversal. A notification when a reversal happens would be ideal.
Our company developed a Netcash module many years ago but we would prefer if this is done by WHMCS. How our module works:
On about the 24th of each month we add all unpaid invoices (with payment method debit order) to a batch. This batch is submitted to Netcash. After the 1st of the next month (around the 7th) we log into the report from Netcash. At that point we manually mark all unpaids and run a "confirm batch" operation.
The main problem we have is we cannot use the standard 14 day suspension function in WHMCS any more. We have to set this for 45 days, because the client's invoice might be generated on the 2nd, only processed on the 24th, and marked as paid the following month on the 7th.
So we're always about 60 days behind if we need to suspend.
The other problem is if a client pays using another method between the 24th and the 7th of the next month. These exceptions need to be handled manually and it's a schlep.
If it will help we are willing to part with all the code free of charge of our module so that WHMCS can have a look at what we did.