This is a Joomla payment gateway plugin, which needs modified to work with a new gateway.
• Identify the variable which gives the total to be sent the gateway, including the Taxes, Extras etc.
• Inset the necessary code to pull this total into the form input on line 239, “Value Placeholder “
$html .= '<input type="hidden" name="transactionAmount" value="Value Placholder" />';
Change the format of the Value to a format accepted by the gateway,
Currently stored in the database as [url removed, login to view] for €5 but must be sent to the gateway as 500
all the other form fields are already sending properly to the gateway.
• Write code to be contained in this file or separate file to receive the response from the gateway and insert into the database.
Only two field of the response are requires to be inserted into a single table in the database.
1. The transactionID given by the gateway
2. True or false which needs to be entered into the database as Pending or Complete?
I already have a form [url removed, login to view] which is used to test the data being received back from the gateway this can be modified to do the insertion of the returned data if it is not possible to do it via the original file.