Update existing WHMCS tokenised payment gateway module -- 2

Job ID: 37749633

Budget: $30 – $250 USD

We have an existing tokenised payment gateway module. I've recently changed it from a merchant gateway module to a third party gateway.
The existing module also allows repeat capture payments to be taken as well. All of this works, but an extra tweak is needed that is beyond my knowledge.

The following needs to be completed:

- Add a new field to tblclients table, to store a secondary 'token' in WHMCS which will be generated by the payment gateway (which you would retrieve in the response, which is dealt with in the 'callback' code. This secondary token will need to be sent to the payment provider for any recurring payments (using WHMCS capture function), in addition to the primary token stored in the gatewayid field in tblclients.
- A HTML Form is generated within the code, some logic needs to be added depending on whether a token is already stored or not i.e. if no token is stored, 'requestnewtoken' is sent, if token is stored, send 'token' and don't send 'requestnewtoken' (these are hidden input fields on the form).
- Optimise/fix the code if you see any improvements that can be made - there may be some references to old 3d secure code that could be removed for instance.

I will provide you with the documentation for the payment gateway provider which includes coding examples.

Bidders should be familiar with WHMCS, and ideally have previous experience building payment/gateway modules in WHMCS.

Estimated time to complete is only a few hours.
Related categories: PHP XML MySQL HTML WHMCS