...
- API requests:
- REQUEST - Credit Card request: PAYMENT or RESERVE
This is the default API response for either a PAYMENT or RESERVE API call using credit cards as a payment method. Please make sure that you understand the difference between a PAYMENT and RESERVE api calls. - REQUEST - Credit Card: PAYMENT or RESERVE (with Fraud enabled)
PayU's Fraud service is an optional paid-for service. If integrating and signed up for fraud, please make sure to include the sections Basket.productLineItem, Basket.shippingDetails and Fraud - REQUEST - eBucks: PAYMENT
- REQUEST - Credit Card with Handshake
- REQUEST - Credit Card with Token (Save Card) - first request
- REQUEST - Credit Card with Token (Save Card) - subsequent request
- REQUEST - Crediting a transaction
- REQUEST - Credit Card request: PAYMENT or RESERVE
- API response:
- RESPONSE - Credit Card: PAYMENT or RESERVE
This is the default API response for either a PAYMENT or RESERVE API call using credit cards. - RESPONSE - Credit Card: PAYMENT or RESERVE (with 3D Secure enabled - card enrolled)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, but the store is 3D enabled. - RESPONSE - Credit Card: PAYMENT or RESERVE (with bank reference)
Merchant can request to have the the bank reference returned in the doTransaction API reponse (by default it is not returned) for credit card payments. If enabled it will send the bank reference in the customer field parameter. - RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - APPROVE)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, where Fraud is enabled and an APPROVE response was recieved from the Fraud service provider. - RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - CHALLENGE)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, where Fraud is enabled and a CHALLENGE response was recieved from the Fraud service provider. - RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENY)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, where Fraud is enabled and a DENY response was recieved from the Fraud service provider. - RESPONSE - eBucks: PAYMENT
This is the default API response for either a PAYMENT or RESERVE API call using eBucks - response_EFTPro_payment
This is the default API response for EFT Pro payment
- RESPONSE - Credit Card: PAYMENT or RESERVE
Anchor | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/"> <soapenv:Header/> xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="SOAP-ENV"> <soapenv:Body> <soap<soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <Api>ONE_ZERO</Api> <Safekey>{86903CCB00000000-79A90000-42EE0000-01740000-1ACE90185507000000000000}</Safekey> <TransactionType>PAYMENT/RESERVE</TransactionType> <TransactionType>PAYMENT</TransactionType> <AdditionalInformation> <AuthenticationType>NA</AuthenticationType> <merchantReference>1234567890</merchantReference> <AdditionalInformation> </AdditionalInformation> <merchantReference>MerchRef001</merchantReference> <Customer> <supportedPaymentMethods>CREDITCARD</supportedPaymentMethods> <countryCode>27</countryCode> <storePaymentMethod>true<<countryOfResidence>ZAR</storePaymentMethod>countryOfResidence> <<merchantUserId>0123465798</AdditionalInformation>merchantUserId> <Customer><email>john.doe@example.com</email> <firstName>John</firstName> <countryCode>27</countryCode> <lastName>Doe</lastName> <merchantUserId>MechUser001</merchantUserId> <mobile>0827777777</mobile> <email>name.surname@mail.com</email><regionalId>5612124567897</regionalId> </Customer> <firstName>Name</firstName> <Basket> <lastName>Surname</lastName> <amountInCents>12000</amountInCents> <!-- amount in zar cents --> <mobile>27887592452< <currencyCode>ZAR</mobile>currencyCode> </Basket> <regionalId>2345679888</regionalId> <Ebucks> </Customer> <amountInCents>12000</amountInCents> <!-- amount in eBucks cents (EB * <Basket>10) --> </Ebucks> <amountInCents>1000</amountInCents> <Customfield> <currencyCode>ZAR<<key>ebucksOtp</currencyCode>key> <description>Goods</description> <value>909059</value> </Basket>Customfield> <Customfield> <Creditcard> <key>ebucksAccountNumber</key> <amountInCents>1000</amountInCents> <value>80000278865</value> <cardExpiry>122013<</cardExpiry>Customfield> </soap:doTransaction> <cardNumber>5111120000091349</cardNumber> <cvv>123</cvv> <nameOnCard>N Surname</nameOnCard> </Creditcard> </soap:doTransaction> </</soapenv:Body> </soapenv:Envelope> |
Anchor | |||||
---|---|---|---|---|---|
|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/" xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/>Header> <soapenv:Body> <soap:doTransaction<wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:ns2wsse="http://soapdocs.api.controller.web.payjar.com/oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <Api>ONE_ZERO</Api> <wsse:UsernameToken <Safekey>{86903CCB-79A9-42EE-0174-1ACE90185507}</Safekey>wsu:Id="UsernameToken-9" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <TransactionType>PAYMENT</TransactionType> <wsse:Username>~~~SOAP Username goes <AuthenticationType>TOKEN<here~~~</AuthenticationType>wsse:Username> <AdditionalInformation> <merchantReference>MerchRef001</merchantReference> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">~~~SOAP Password goes <supportedPaymentMethods>CREDITCARD</supportedPaymentMethods> here~~~</wsse:Password> </AdditionalInformation> </wsse:UsernameToken> <Customer> </wsse:Security> </soapenv:Header> <countryCode>27</countryCode> <soapenv:Body> <merchantUserId>MechUser001</merchantUserId><soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <email>name.surname@mail.com</email><Api>ONE_ZERO</Api> <firstName>Name</firstName><Safekey>~~~SAFEKEY goes <lastName>Surname</lastName>here ~~~</Safekey> <mobile>27887592452<<TransactionType>CREDIT</mobile>TransactionType> <regionalId>2345679888</regionalId><AdditionalInformation> </Customer> <merchantReference>~~~Merchant ref goes <Basket>here ~~~</merchantReference> <amountInCents>1000</amountInCents> <payUReference>~~~PayU ref goes here <currencyCode>ZAR</currencyCode>~~~</payUReference> <description>Goods</description> </Basket>AdditionalInformation> <Creditcard <pmId>DyZ7XBB5QxF5FEoIADAkMCQAUnlDEmIRVXNTa3xUYVUWfEUT</pmId><Basket> <amountInCents>1000</amountInCents> <cvv>123</cvv> </Creditcard> </soap:doTransaction> </soapenv:Body> </soapenv:Envelope> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/" xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="SOAP-ENV">
<soapenv:Body>
<soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<Api>ONE_ZERO</Api>
<Safekey>{00000000-0000-0000-0000-000000000000}</Safekey>
<TransactionType>PAYMENT/RESERVE</TransactionType>
<AdditionalInformation>
<merchantReference>1234567890</merchantReference>
</AdditionalInformation>
<Customer>
<countryCode>27</countryCode>
<countryOfResidence>ZAR</countryOfResidence>
<merchantUserId>0123465798</merchantUserId>
<email>john.doe@example.com</email>
<firstName>John</firstName>
<lastName>Doe</lastName>
<mobile>0827777777</mobile>
<regionalId>5612124567897</regionalId>
</Customer>
<Basket>
<amountInCents>12000</amountInCents> <!-- amount in zar cents -->
<currencyCode>ZAR</currencyCode>
</Basket>
<Ebucks>
<amountInCents>12000</amountInCents> <!-- amount in eBucks cents (EB * 10) -->
</Ebucks>
<Customfield>
<key>ebucksOtp</key>
<value>909059</value>
</Customfield>
<Customfield>
<key>ebucksAccountNumber</key>
<value>80000278865</value>
</Customfield>
</soap:doTransaction>
</soapenv:Body>
</soapenv:Envelope> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/" xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <amountInCents>1000</amountInCents> <wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <currencyCode>ZAR</currencyCode> </Basket> </soap:doTransaction> <wsse:UsernameToken wsu:Id="UsernameToken-9" xmlns:wsu</soapenv:Body> </soapenv:Envelope> |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsdschemas.xmlsoap.org/soap/envelope/"> <soap:Body> <wsse:Username>~~~SOAP Username goes here~~~</wsse:Username> <wsse:Password Type<ns2:doTransactionResponse xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">~~~SOAP Password goessoap.api.controller.web.payjar.com/"> <return> here~~~<<resultCode>00</wsse:Password>resultCode> <<resultMessage>Successful</wsse:UsernameToken>resultMessage> </wsse:Security> </soapenv:Header><successful>true</successful> <soapenv:Body> <soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/"><displayMessage>Successful</displayMessage> <Api>ONE_ZERO<<merchantReference>1234567890</Api>merchantReference> <Safekey>~~~SAFEKEY<payUReference>21976214819</payUReference> goes here ~~~</Safekey> <paymentMethodsUsed <TransactionType>CREDIT</TransactionType>xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AdditionalInformation> <amountInCents>1000</amountInCents> <merchantReference>~~~Merchant ref goes here ~~~</merchantReference><cardExpiry>122015</cardExpiry> <payUReference>~~~PayU ref goes here ~~~</payUReference><cardNumber>400000******1000</cardNumber> <<gatewayReference>37149772</AdditionalInformation>gatewayReference> <Basket> <information>VISA</information> <amountInCents>1000</amountInCents> <nameOnCard>John Doe</nameOnCard> <currencyCode>ZAR<</currencyCode>paymentMethodsUsed> </Basket> return> </soapns2:doTransaction>doTransactionResponse> </soapenvsoap:Body> </soapenvsoap:Envelope> |
...
|
Anchor | ||||
---|---|---|---|---|
|
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <return> <resultCode>00</resultCode><displayMessage>Transaction Pending <resultMessage>Successful</resultMessage> <successful>true</successful> <displayMessage>Successful</displayMessage> <merchantReference>1234567890</merchantReference> <payUReference>21976214819</payUReference> 3DS Completion</displayMessage> <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fraud> <amountInCents>1000<<resultCode>V030</amountInCents>resultCode> <cardExpiry>122015<<resultMessage>Success</cardExpiry>resultMessage> <cardNumber>400000******1000</cardNumber></fraud> <gatewayReference>37149772</gatewayReference><merchantReference>0123456789</merchantReference> <information>VISA</information><payUReference>31982857915</payUReference> <paymentMethodsUsed <nameOnCard>John Doe</nameOnCard>xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> </paymentMethodsUsed> </return><amountInCents>350</amountInCents> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <cardExpiry>092014</cardExpiry> <soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <cardNumber>456546******6016</cardNumber> <gatewayReference>37117846</gatewayReference> <return> <displayMessage>Transaction Pending 3DS Completion<<information>VISA</displayMessage>information> <fraud> <nameOnCard>Jon Doe </nameOnCard> <resultCode>V030</resultCode></paymentMethodsUsed> <resultCode>P3DS</resultCode> <resultMessage>Success</resultMessage> <resultMessage>Transaction Pending 3DS Completion</resultMessage> </fraud> <secure3D> <merchantReference>0123456789</merchantReference> <secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId> <payUReference>31982857915</payUReference> <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi<secure3DUrl><![CDATA[<form name="downloadForm" action="http://wwwacstest.bankserv.w3co.org/2001/XMLSchema-instance">za/V3DSStart?osb=visa-3&VAA=B" method="POST"> <amountInCents>350</amountInCents> <table name="dataTable" border="0" cellpadding="0"> <cardExpiry>092014</cardExpiry> <INPUT TYPE="hidden" NAME="TransactionID" value="A5ufG1Q3sp3qGDxu5de3"> <cardNumber>456546******6016</cardNumber> <INPUT TYPE="hidden" <gatewayReference>37117846</gatewayReference>NAME="PaReq" <information>VISA</information>value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTL <nameOnCard>Jon Doe </nameOnCard>zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh </paymentMethodsUsed> zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQ <resultCode>P3DS</resultCode> B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno <resultMessage>Transaction Pending 3DS Completion</resultMessage> pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA=="> <secure3D> <INPUT TYPE="hidden" <secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId>NAME="TermUrl" VALUE="http://staging.safeshop.co.za/s2s/Secure3D/Encode_Finish.asp"> <secure3DUrl><![CDATA[<form name<INPUT TYPE="downloadFormhidden" action="http://acstest.bankserv.co.za/V3DSStart?osb=visa-3&VAA=B"NAME="MD" VALUE="37117846"> method="POST"></table> <table<center><p><font nametype="dataTableArial" border="0" cellpadding="0"> size=2>Transfering to your bank for credit card authentication. <INPUT TYPE="hidden" NAME="TransactionID" value="A5ufG1Q3sp3qGDxu5de3"> <INPUT TYPE="hidden" NAME="PaReq" <p> If you are not redirected please <a href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your banking value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTLinstitution.<p> zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh<input type="image" src="http://staging.images.safeshop.co.za/PaymentMethods/Secure3D/VbyV_blue_120x69.gif" name="continue" zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQvalue="Continue"></center> B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno</form> <script pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA==">language="Javascript"> <!-- <INPUT TYPE="hidden" NAME="TermUrl" VALUE="http://staging.safeshop.co.za/s2s/Secure3D/Encode_Finish.asp"> function AutoSubmitForm() {document.downloadForm.submit(); <INPUT TYPE="hidden" NAME="MD" VALUE="37117846"> } </table> AutoSubmitForm(); <center><p><font type="Arial" size=2>Transfering to your bank for credit card authentication. //--></script>]]></secure3DUrl> </secure3D> <p> If you are not redirected please <a href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your banking <successful>true</successful> </return> </ns2:doTransactionResponse> </soap:Body> institution.<p></soap:Envelope> |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <input type="image" src="<ns2:doTransactionResponse xmlns:ns2="http://stagingsoap.api.imagescontroller.safeshopweb.copayjar.za/PaymentMethods/Secure3D/VbyV_blue_120x69.gif" name="continue"com/"> <return> value="Continue"></center> <resultCode>00</resultCode> <<resultMessage>Successful</form>resultMessage> <successful>true</successful> <script language="Javascript"> <displayMessage>Successful</displayMessage> <!-- <merchantReference>1234567890</merchantReference> <payUReference>21976214819</payUReference> function AutoSubmitForm() {document.downloadForm.submit(); <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> } <amountInCents>1000</amountInCents> AutoSubmitForm(); <cardExpiry>122015</cardExpiry> //--></script>]]></secure3DUrl> <cardNumber>400000******1000</cardNumber> </secure3D> <gatewayReference>37149772</gatewayReference> <successful>true</successful> </return><information>VISA</information> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <nameOnCard>John Doe</nameOnCard> </paymentMethodsUsed> <customFields> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <key>bankReference</key> <value>DEMO12</value> <return> </customFields> <resultCode>00</resultCode> </return> <resultMessage>Successful</resultMessage>Â </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> <successful>true</successful> |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <displayMessage>Successful</displayMessage> <merchantReference>1234567890</merchantReference> <payUReference>21976214819</payUReference><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <return> <amountInCents>1000</amountInCents><displayMessage>Successful</displayMessage> <fraud> <cardExpiry>122015</cardExpiry> <cardNumber>400000******1000</cardNumber><resultCode>V030</resultCode> <gatewayReference>37149772<<resultMessage>Success</gatewayReference>resultMessage> <information>VISA<</information>fraud> <nameOnCard>John Doe</nameOnCard><merchantReference>mercRef_1403097874</merchantReference> </paymentMethodsUsed><payUReference>185871924286</payUReference> <paymentMethodsUsed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard"> <customFields> <key>bankReference<<amountInCents>2156</key>amountInCents> <value>DEMO12</value> </customFields><cardExpiry>012015</cardExpiry> </return> Â </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <cardNumber>542028******1323</cardNumber> <gatewayReference>37585977</gatewayReference> <soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <information>MASTERCARD</information> <nameOnCard>John Doe</nameOnCard> <return> </paymentMethodsUsed> <displayMessage>Successful</displayMessage> <resultCode>00</resultCode> <fraud> <resultMessage>Successful</resultMessage> <resultCode>V030</resultCode> <successful>true</successful> <resultMessage>Success</resultMessage> </return> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> </fraud> <merchantReference>mercRef_1403097874</merchantReference> <payUReference>185871924286</payUReference> |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <paymentMethodsUsed <ns2:doTransactionResponse xmlns:xsins2="http://wwwsoap.api.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard"controller.web.payjar.com/"> <return> <amountInCents>2156</amountInCents> <cardExpiry>012015</cardExpiry><displayMessage>Successful</displayMessage> <fraud> <cardNumber>542028******1323</cardNumber> <resultCode>V035</resultCode> <gatewayReference>37585977</gatewayReference> <resultMessage>CHALLENGE - <information>MASTERCARD<0330</information>resultMessage> <nameOnCard>John Doe</nameOnCard></fraud> <<merchantReference>mercRef_1403098425</paymentMethodsUsed>merchantReference> <resultCode>00<<payUReference>185878360665</resultCode>payUReference> <resultMessage>Successful</resultMessage> <paymentMethodsUsed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard"> <successful>true</successful> </return> <amountInCents>7215</amountInCents> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <cardExpiry>012015</cardExpiry> <soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <cardNumber>542028******1323</cardNumber> <return> <gatewayReference>37585978</gatewayReference> <displayMessage>Successful</displayMessage> <information>MASTERCARD</information> <fraud> <nameOnCard>John Doe</nameOnCard> <resultCode>V035</resultCode> </paymentMethodsUsed> <resultMessage>CHALLENGE - 0330<<resultCode>00</resultMessage>resultCode> <<resultMessage>Successful</fraud>resultMessage> <merchantReference>mercRef_1403098425<<successful>true</merchantReference>successful> <payUReference>185878360665</payUReference></return> </ns2:doTransactionResponse> </soap:Body> <paymentMethodsUsed</soap:Envelope> |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:xsisoap="http://wwwschemas.w3xmlsoap.org/2001/XMLSchema-instance" xsi:type="ns2:creditCardsoap/envelope/"> <soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <amountInCents>7215</amountInCents> <return> <cardExpiry>012015</cardExpiry> <fraud> <cardNumber>542028******1323</cardNumber> <resultCode>V039</resultCode> <gatewayReference>37585978</gatewayReference> <resultMessage>DENY - 0700</resultMessage> <information>MASTERCARD<</information>fraud> <nameOnCard>John Doe</nameOnCard><merchantReference>mercRef_1403098545</merchantReference> <<payUReference>185879181093</paymentMethodsUsed>payUReference> <resultCode>00<<resultCode>P044</resultCode> <resultMessage>Successful<<resultMessage>Rejected for fraud</resultMessage> <successful>true<<successful>false</successful> </return> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <return> <fraud> <resultCode>V039</resultCode> <return> <resultMessage>DENY - 0700<<resultCode>00</resultMessage>resultCode> <resultMessage>Successful</resultMessage> </fraud> <successful>true</successful> <merchantReference>mercRef_1403098545</merchantReference> <displayMessage>Successful</displayMessage> <payUReference>185879181093< <merchantReference>1234567890</payUReference>merchantReference> <payUReference>21976214819</payUReference> <resultCode>P044</resultCode> <paymentMethodsUsed xsi:type="ns2:ebucks" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <resultMessage>Rejected for fraud</resultMessage> <amountInCents>12000</amountInCents> <successful>false</successful> </paymentMethodsUsed> </return> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> /"> <return> <merchantReference>EFT_PRO_98453984398</merchantReference> <payUReference>53390698880</payUReference> <paymentMethodsUsed xsi:type="ns2:eft" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <return> <resultCode>00</resultCode><amountInCents>100</amountInCents> <resultMessage>Successful<</resultMessage>paymentMethodsUsed> <successful>true</successful><redirect> <displayMessage>Successful</displayMessage> <method>HTTP_GET</method> <merchantReference>1234567890</merchantReference> <type>EFT_PRO</type> <payUReference>21976214819</payUReference> <paymentMethodsUsed xsi:type="ns2:ebucks" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><url>http://localhost:8080/PayJarWeb/redirectGet.do?PayUReference=53390698880</url> <amountInCents>12000</amountInCents></redirect> <<successful>true</paymentMethodsUsed>successful> </return> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
...