We urgently require a developer that can create a Codeigniter class for us.
This class should take the following array as a parameter:
[items][x][itemname]
[items][x][itemqty]
[items][x][itemtotalamt]
[noofitems]
[taxamount]
[totalamount]
[orderreference]
[gateway] (will be set to PP or GC)
[firstname]
[surname]
[address1]
[address2]
[city]
[county]
[country]
[postcode]
[orderreference] - our internal transaction ID
[delivery][x][deliveryname]
[delivery][x][deliverycost]
Using the above data should then be used to submit the users purchase to the specified gateway either Paypal Express Checkout or Google Checkout. The user should approve the purchase on the Paypal/Google website, with the class then returning the following array to our controller:
[transactionID]
[transactionstatus]
The default settings - such as Paypal/Google API credentials, along with specific return URLs for success/failure for each gateway should be detailed at the top of the class.
This is an urgent requirement, given that our programmer that specialises in this area is currently on long-term sick leave. Turnaround time is 24-48 hours maximum, from project award.
Class must be called Paymentgateway and be compatible with CI2.1.0. Any questions please ask as quickly as possible. Please ensure your application details how long you expect the job to take.