-----------------------------------------------
Return data decoded:
-----------------------------------------------
array(1) {
  ["return"]=>
  array(6) {
    ["displayMessage"]=>
    string(84) "An error has occurred with this transaction, please contact your merchant (ref: P053"
    ["merchantReference"]=>
    string(6) "203237"
    ["pointOfFailure"]=>
    string(4) "PAYU"
    ["resultCode"]=>
    string(4) "P053"
    ["resultMessage"]=>
    string(40) "Basket Amount must be greater than zero."
    ["successful"]=>
    bool(false)
  }
}

-----------------------------------------------
Request in XML:
-----------------------------------------------
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soap.api.controller.web.payjar.com/" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<SOAP-ENV:Header>
<wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-9" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>203237</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">efKCm7uT</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:setTransaction>
<Api>ONE_ZERO</Api>
<Safekey>{176EB73F-74D2-46DE-8EAF-8679583B8DCF}</Safekey>
<TransactionType>PAYMENT</TransactionType>
<AdditionalInformation>
<cancelUrl>http://accountingmadeeasy.co.za/payment-error</cancelUrl>
<merchantReference>203237</merchantReference>
<returnUrl>http://accountingmadeeasy.co.za/payment-redirect?id=</returnUrl>
<supportedPaymentMethods>CREDITCARD,WALLET_PAYU,EFT_PRO</supportedPaymentMethods>
</AdditionalInformation>
<Customer>
<countryCode>27</countryCode>
<regionalId>1234512345122</regionalId>
</Customer>
<Basket>
<amountInCents>0</amountInCents>
<currencyCode>ZAR</currencyCode>
<description>Accounting Made Easy Course</description>
</Basket>
</ns1:setTransaction>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-----------------------------------------------
Response in XML:
-----------------------------------------------
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:setTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<return>
<displayMessage>An error has occurred with this transaction, please contact your merchant (ref: P053</displayMessage>
<merchantReference>203237</merchantReference>
<pointOfFailure>PAYU</pointOfFailure>
<resultCode>P053</resultCode>
<resultMessage>Basket Amount must be greater than zero.</resultMessage>
<successful>false</successful>
</return>
</ns2:setTransactionResponse>
</soap:Body>
</soap:Envelope> Redirecting to payment gateway.