i've recently dl-ed and installed the latest release of opencart, it seems i will hav to write a custom payment module because i need to use it with http://www.mygate.co.za. i have used it in custom built php sites but since i'm a opencart noob i'm not fimiliar with how to implement the code i have. here is a look at simple php script that interfaces with mygate:
Code: Select all
<?php
$client = new SoapClient("https://www.mygate.co.za/enterprise/4x0x0/ePayService.cfc?wsdl"); //gateway adr.
$arrResults = $client->fProcess(
'21', //Gateway
'79958a8d-0c7b-4038-8e2e-8948e1d678e1', //MerchantID
'4b775479-a264-444c-b774-22d5521852d8', //ApplicationID
'1', //Action
'', //TransactionIndex
'Website', //Terminal
'0', //Mode
'TST123', //MerchantReference
'654.76', //Amount
'ZAR', //Currency
'', //CashBackAmount
'4', //CardType
'', //AccountType
'4111111111111111', //CardNumber
'Joe Soap', //CardHolder
'123', //CCVNumber
'12', //ExpiryMonth
'2007', //ExpiryYear
'0', //Budget
'', //BudgetPeriod
'', //AuthorizationNumber
'', //PIN
'', //DebugMode
'06', //eCommerceIndicator
'', //verifiedByVisaXID
'', //verifiedByVisaCAFF
'' //secureCodeUCAF
);
foreach ($arrResults as $result)
{
print_r(explode('||', $result));
echo("<br />");
}
?>
Please help me out here, if we can a module going, i'll submit it to MyGate, which i'm sure will be a good thing for everyone in south africa using or looking to use opencart with mygate as mygate is the most popular payment system here in terms of usability. other than that, opencart is by far my fav ecom platform

I look forward to a reply.