...
- API requests:
- API response:
Anchor |
---|
| example_without_fraud |
---|
| example_without_fraud |
---|
|
...
Top
Code Block |
---|
language | xml |
---|
title | REQUEST - Credit Card with Token (Save Card) - first requesteBucks (PAYMENT) |
---|
linenumbers | true |
---|
|
<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: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>
<email>john.doe@example.com</email>
<Customer> <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<<amountInCents>12000</lastName>amountInCents> <!-- amount in zar cents -->
<mobile>27887592452</mobile> <currencyCode>ZAR</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> <amountInCents>1000</amountInCents><key>ebucksAccountNumber</key>
<cardExpiry>122013</cardExpiry>
<value>80000278865</value>
<cardNumber>5111120000091349</cardNumber>
<cvv>123</cvv>
<nameOnCard>N Surname</nameOnCard>
</Creditcard>
</Customfield>
</soap:doTransaction>
</soapenv:Body>
</soapenv:Envelope> |
Anchor |
---|
| saverequest_cardcredit |
---|
| request_2 | save_card_2 | credit |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | Credit Card with Token (Save Card) Subsequent REQUEST:REQUEST - Crediting a transaction |
---|
linenumbers | true |
---|
|
<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>
<Safekey>{86903CCB-79A9-42EE-0174-1ACE90185507}</Safekey> <wsse:UsernameToken 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>AdditionalInformation>
</Basket> <Basket>
<Creditcard <amountInCents>1000</amountInCents>
<pmId>DyZ7XBB5QxF5FEoIADAkMCQAUnlDEmIRVXNTa3xUYVUWfEUT</pmId> <amountInCents>1000</amountInCents><currencyCode>ZAR</currencyCode>
<cvv>123<</cvv>
Basket>
</Creditcard>
soap:doTransaction>
</soapsoapenv:doTransaction>
Body>
</soapenv:Body>
</soapenv:Envelope> |
doTransaction (PAYMENT - EBUCKS)
The following is to send the payment instruction to the ebucks' API when paying with eBucks and can have a transaction type of payment or reserve. The corresponding method API call to ebucks PAYMENT API is Auth or AuthSettle
REQUEST
Parameter | Type | Definition | Required |
Api | Varchar | Version of the API (e.g.ONE_ZERO). | Y |
Safekey | Varchar(38) | PayU Merchant Identifier ('{GUID}'). Provided to merchant upon integration (e.g. {86903CCB-79A9-42EE-0174-1ACE90185507}). | Y |
TransactionType | Varchar | The type of transaction being performed (e.g. PAYMENT, RESERVE). | Y |
payUReference | Varchar(24) | PayU reference from initial authenticate call to retain transaction thread | |
Additional Information |
merchantReference | Varchar(64) | Unique merchant identifier for transaction. | Y |
payUReference | Varchar(24) | PayU reference from initial authentication call to retain transaction thread (Transaction record will be created with supplied reference). | N |
notificationUrl | Varchar | URL where the merchant would like to be notified of transaction result via IPN (Instant Payment Notification). Needed for "secure3d=true" transactions. | N |
returnUrl | Varchar | URL to return browser to after a customer has completed transaction. Needed for "secure3d=true" transactions. | N |
Customer |
merchantUserId | Varchar(64) | Unique Customer ID in merchant system | Y |
email | Varchar(64) | Customer Email Address. | N |
firstName | Varchar(64) | Customer first name. | N |
lastName | Varchar(64) | Customer last name. | N |
mobile | Varchar | Customer Mobile Number in international format without "+" (e.g. 27827891248). | N |
Basket |
amountInCents | Integer | Total amount of the basket in cents. Format as 1000 for R10.00. | Y |
currencyCode | Varchar(2) | Currency code defined by PayU. Example: ZAR. | Y |
description | Varchar(64) | Basket description that will show on PayU. | Y |
Ebucks |
amountInCents | Integer | Amount in eBucks cents. | Y |
Customfield |
ebucksOtp | Integer | OTP retrieved from customer which was generated during the GenerateOTP process. | Y |
ebucksAccountNumber | Varchar | eBucks Member's account number retrieved from the AUTHENTICATE_ACCOUNT call. | Y |
Code Block |
---|
language | xml |
---|
title | doTransaction (PAYMENT - EBUCKS) - REQUEST |
---|
linenumbers | true |
---|
|
<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> |
...
Top
Code Block |
---|
language | xml |
---|
title | REQUEST - Crediting a transaction |
---|
linenumbers | true |
---|
|
<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>
<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>~~~SOAP Username goes here~~~</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">~~~SOAP Password goes
here~~~</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<Api>ONE_ZERO</Api>
<Safekey>~~~SAFEKEY goes here ~~~</Safekey>
<TransactionType>CREDIT</TransactionType>
<AdditionalInformation>
<merchantReference>~~~Merchant ref goes here ~~~</merchantReference>
<payUReference>~~~PayU ref goes here ~~~</payUReference>
</AdditionalInformation>
<Basket>
<amountInCents>1000</amountInCents>
<currencyCode>ZAR</currencyCode>
</Basket>
</soap:doTransaction>
</soapenv:Body>
</soapenv:Envelope> |
...
Top
...
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE |
---|
linenumbers | true |
---|
...
Anchor |
---|
| response_without_bank_ref |
---|
| response_without_bank_ref |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE |
---|
linenumbers | true |
---|
|
<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>
<resultMessage>Successful</resultMessage>
<successful>true</successful>
<displayMessage>Successful</displayMessage>
<merchantReference>1234567890</merchantReference>
<payUReference>21976214819</payUReference>
<paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<amountInCents>1000</amountInCents>
<cardExpiry>122015</cardExpiry>
<cardNumber>400000******1000</cardNumber>
<resultMessage>Successful</resultMessage><gatewayReference>37149772</gatewayReference>
<successful>true<<information>VISA</successful>information>
<displayMessage>Successful</displayMessage> <nameOnCard>John Doe</nameOnCard>
<merchantReference>1234567890</merchantReference> </paymentMethodsUsed>
<payUReference>21976214819<</payUReference>return>
</ns2:doTransactionResponse>
</soap:Body>
<paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi</soap:Envelope>
|
Anchor |
---|
| response_with_3D |
---|
| response_with_3D |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with 3D Secure enabled - card enrolled) |
---|
|
<soap:Envelope xmlns:soap="http://wwwschemas.w3xmlsoap.org/2001/XMLSchema-instancesoap/envelope/">
<soap:Body>
<amountInCents>1000</amountInCents><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<return>
<cardExpiry>122015</cardExpiry> <displayMessage>Transaction Pending <cardNumber>400000******1000</cardNumber>3DS Completion</displayMessage>
<fraud>
<gatewayReference>37149772</gatewayReference> <information>VISA<<resultCode>V030</information>resultCode>
<nameOnCard>John Doe<<resultMessage>Success</nameOnCard>resultMessage>
</paymentMethodsUsed>fraud>
<<merchantReference>0123456789</return>merchantReference>
</ns2:doTransactionResponse> </soap:Body>
</soap:Envelope>
|
...
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with 3D Secure enabled - card enrolled) |
---|
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><payUReference>31982857915</payUReference>
<soap:Body> <ns2:doTransactionResponse<paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:ns2xsi="http://soapwww.api.controller.web.payjar.com/w3.org/2001/XMLSchema-instance">
<return> <displayMessage>Transaction Pending 3DS Completion</displayMessage><amountInCents>350</amountInCents>
<fraud><cardExpiry>092014</cardExpiry>
<resultCode>V030</resultCode><cardNumber>456546******6016</cardNumber>
<resultMessage>Success<<gatewayReference>37117846</resultMessage>gatewayReference>
</fraud> <information>VISA</information>
<merchantReference>0123456789</merchantReference> <nameOnCard>Jon Doe <payUReference>31982857915</payUReference>
</nameOnCard>
<paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> </paymentMethodsUsed>
<resultCode>P3DS</resultCode>
<amountInCents>350</amountInCents> <resultMessage>Transaction Pending 3DS Completion</resultMessage>
<cardExpiry>092014</cardExpiry><secure3D>
<cardNumber>456546******6016</cardNumber><secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId>
<secure3DUrl><![CDATA[<form <gatewayReference>37117846</gatewayReference>name="downloadForm" action="http://acstest.bankserv.co.za/V3DSStart?osb=visa-3&VAA=B"
method="POST">
<information>VISA</information> <table name="dataTable" border="0" cellpadding="0">
<nameOnCard>Jon Doe </nameOnCard> </paymentMethodsUsed> <INPUT TYPE="hidden" NAME="TransactionID" value="A5ufG1Q3sp3qGDxu5de3">
<resultCode>P3DS</resultCode> <INPUT TYPE="hidden" NAME="PaReq"
<resultMessage>Transaction Pending 3DS Completion</resultMessage> value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTL
<secure3D> <secure3DId>A5ufG1Q3sp3qGDxu5de3</secure3DId>
zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh
<secure3DUrl><![CDATA[<form name="downloadForm" action="http://acstest.bankserv.co.za/V3DSStart?osb=visa-3&VAA=B" zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQ
method="POST">B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno
<table name="dataTable" border="0" cellpadding="0"pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA==">
<INPUT TYPE="hidden" NAME="TransactionIDTermUrl" valueVALUE="A5ufG1Q3sp3qGDxu5de3http://staging.safeshop.co.za/s2s/Secure3D/Encode_Finish.asp">
<INPUT TYPE="hidden" NAME="hiddenMD" NAMEVALUE="PaReq37117846">
value="eNpVUtty2jAQfddXeNLHzliWbWzCLJohgZSkTbik0yZ9E2IpLmCD5Av46ys5dtK+nbO7Wp2zu/B9qxDHzygLhRweUWvxG51kPbyanrP463K3Ci7ZTL</table>
zOskX5ebp5qR/Efje84jAfLfHEoUSlkyzlzPVcH2hHiWml5FakOQchTzf3TzzqhYHPgLaUwAHV/ZgzPwh7UdwH+sYJpOKA/EakO42qHG1UIoXTdQPaZAnIrEh
<center><p><font type="Arial" size=2>Transfering to your bank for credit card authentication.
zdeEx84B2hECh9nyb58cBpVVVuau2iysztxZAbZoA/dA2LyzSxvo5WfM48Ov56+IJy9XPu/GPSzkZf9Gnl9vq2+MQqK0gsBY5ct9jgdf3fIdFg9AbMGOriRMQ <p> If you are not redirected please <a B6uFLwO3Z4S1jMDR/jN6Y4HN/BswbgqlMJWdnY4RwPMxS9HUmNm+YyMCteSZWqNyPjlBzFjcDyOjwYYJJKnOxX5v33TQmP6weju1S5G5mfadCPWsno
href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your banking
pZdP0QqF/qz3GyQb+q88XEbqqpaVQkZrws9K4bGUkza2r70PYOaHs6Bv13Un8BvvXHsA=="> institution.<p>
<INPUT TYPE="hidden" NAME="TermUrl" VALUE <input type="image" src="http://staging.images.safeshop.co.za/s2sPaymentMethods/Secure3D/EncodeVbyV_blue_Finish120x69.aspgif"> name="continue"
<INPUT TYPEvalue="hiddenContinue" NAME="MD" VALUE="37117846">
></center>
</table>form>
<center><p><font<script typelanguage="ArialJavascript" size=2>Transfering to your bank for credit card authentication.
>
<!--
<p> Iffunction you are not redirected please <a href="javascript:AutoSubmitForm()">click here</a> on the image to continue to access your banking
AutoSubmitForm() {document.downloadForm.submit();
}
institution.<p> AutoSubmitForm();
<input type="image" src="http://staging.images.safeshop.co.za/PaymentMethods/Secure3D/VbyV_blue_120x69.gif" name="continue"//--></script>]]></secure3DUrl>
value="Continue"></center>
</secure3D>
<successful>true</successful>
</form> </return>
</ns2:doTransactionResponse>
<script language="Javascript">
</soap:Body>
</soap:Envelope> |
Anchor |
---|
| response_with_bank_ref |
---|
| response_with_bank_ref |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with bank reference) |
---|
linenumbers | true |
---|
|
<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>
function AutoSubmitForm() {document.downloadForm.submit(); <resultMessage>Successful</resultMessage>
} <successful>true</successful>
AutoSubmitForm(); <displayMessage>Successful</displayMessage>
<merchantReference>1234567890</merchantReference>
//--></script>]]></secure3DUrl> <payUReference>21976214819</payUReference>
</secure3D> <paymentMethodsUsed <successful>true</successful>
xsi:type="ns2:creditCard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</return> </ns2:doTransactionResponse> </soap:Body>
</soap:Envelope> |
...
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with bank reference) |
---|
linenumbers | true |
---|
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body> <amountInCents>1000</amountInCents>
<cardExpiry>122015</cardExpiry>
<cardNumber>400000******1000</cardNumber>
<ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <gatewayReference>37149772</gatewayReference>
<information>VISA</information>
<return> <resultCode>00<<nameOnCard>John Doe</resultCode>nameOnCard>
<resultMessage>Successful</resultMessage></paymentMethodsUsed>
<customFields>
<successful>true</successful> <displayMessage>Successful</displayMessage><key>bankReference</key>
<merchantReference>1234567890<<value>DEMO12</merchantReference>value>
<payUReference>21976214819</payUReference></customFields>
</return>
<paymentMethodsUsed xsi:type="ns2:creditCard" xmlns:xsi </ns2:doTransactionResponse>
</soap:Body>
</soap:Envelope>
|
Anchor |
---|
| response_with_fraud_approve |
---|
| response_with_fraud_approve |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - APPROVE) |
---|
linenumbers | true |
---|
|
<soap:Envelope xmlns:soap="http://wwwschemas.w3xmlsoap.org/2001/XMLSchema-instancesoap/envelope/">
<soap:Body>
<amountInCents>1000</amountInCents>
<cardExpiry>122015</cardExpiry>
<cardNumber>400000******1000</cardNumber><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<return>
<gatewayReference>37149772</gatewayReference> <information>VISA<<displayMessage>Successful</information>displayMessage>
<nameOnCard>John Doe</nameOnCard><fraud>
</paymentMethodsUsed> <resultCode>V030</resultCode>
<customFields> <resultMessage>Success</resultMessage>
<key>bankReference</key> <value>DEMO12<</value>
fraud>
</customFields> </return><merchantReference>mercRef_1403097874</merchantReference>
 </ns2:doTransactionResponse> </soap:Body> </soap:Envelope>
|
...
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - APPROVE) |
---|
linenumbers | true |
---|
|
<soap:Envelope xmlns:soap <payUReference>185871924286</payUReference>
<paymentMethodsUsed xmlns:xsi="http://schemaswww.xmlsoapw3.org/soap/envelope/2001/XMLSchema-instance" xsi:type="ns2:creditCard">
<soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <amountInCents>2156</amountInCents>
<cardExpiry>012015</cardExpiry>
<return> <displayMessage>Successful</displayMessage><cardNumber>542028******1323</cardNumber>
<fraud><gatewayReference>37585977</gatewayReference>
<resultCode>V030<<information>MASTERCARD</resultCode>information>
<resultMessage>Success<<nameOnCard>John Doe</resultMessage>nameOnCard>
</fraud>paymentMethodsUsed>
<merchantReference>mercRef_1403097874<<resultCode>00</merchantReference>resultCode>
<payUReference>185871924286<<resultMessage>Successful</payUReference>resultMessage>
<paymentMethodsUsed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard"><successful>true</successful>
</return>
<amountInCents>2156</amountInCents> </ns2:doTransactionResponse>
</soap:Body>
</soap:Envelope>
|
Anchor |
---|
| response_with_fraud_challenge |
---|
| response_with_fraud_challenge |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - CHALLENGE) |
---|
linenumbers | true |
---|
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<cardExpiry>012015</cardExpiry><ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<return>
<cardNumber>542028******1323</cardNumber> <displayMessage>Successful</displayMessage>
<gatewayReference>37585977</gatewayReference> <fraud>
<information>MASTERCARD</information> <resultCode>V035</resultCode>
<nameOnCard>John Doe</nameOnCard> <resultMessage>CHALLENGE </paymentMethodsUsed>- 0330</resultMessage>
<resultCode>00<</resultCode>fraud>
<resultMessage>Successful</resultMessage>
<merchantReference>mercRef_1403098425</merchantReference>
<successful>true</successful> <<payUReference>185878360665</return>payUReference>
</ns2:doTransactionResponse> </soap:Body> </soap:Envelope>
|
...
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - CHALLENGE) |
---|
linenumbers | true |
---|
|
<soap:Envelope <paymentMethodsUsed xmlns:soapxsi="http://schemaswww.xmlsoapw3.org/soap/envelope/">2001/XMLSchema-instance" xsi:type="ns2:creditCard">
<soap:Body> <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <amountInCents>7215</amountInCents>
<cardExpiry>012015</cardExpiry>
<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</merchantReference><successful>true</successful>
</return>
<payUReference>185878360665</payUReference> </ns2:doTransactionResponse>
<paymentMethodsUsed xmlns:xsi</soap:Body>
</soap:Envelope>
|
Anchor |
---|
| response_with_fraud_deny |
---|
| response_with_fraud_deny |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENY) |
---|
linenumbers | true |
---|
|
<soap:Envelope xmlns:soap="http://wwwschemas.w3xmlsoap.org/soap/2001envelope/XMLSchema-instance" xsi:type="ns2:creditCard">
<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<<merchantReference>mercRef_1403098545</nameOnCard>merchantReference>
<<payUReference>185879181093</paymentMethodsUsed>payUReference>
<resultCode>00<<resultCode>P044</resultCode>
<resultMessage>Rejected for <resultMessage>Successful<fraud</resultMessage>
<successful>true<<successful>false</successful>
</return>
</ns2:doTransactionResponse>
</soap:Body>
</soap:Envelope>
|
Anchor |
---|
| response_witheBucks_fraud_denyPAYMENT |
---|
| response_witheBucks_fraud_denyPAYMENT |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENYeBucks (PAYMENT) |
---|
linenumbers | true |
---|
|
<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>
<resultCode>00</resultCode>
<resultMessage>DENY - 0700<<resultMessage>Successful</resultMessage>
<successful>true</successful>
</fraud> <displayMessage>Successful</displayMessage>
<merchantReference>mercRef_1403098545</merchantReference> <merchantReference>1234567890</merchantReference>
<payUReference>185879181093<<payUReference>21976214819</payUReference>
<paymentMethodsUsed <resultCode>P044</resultCode>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 |
---|
| response_withEFTPro_fraud_denypayment |
---|
| response_withEFTPro_fraud_denypayment |
---|
|
Top
Code Block |
---|
language | xml |
---|
title | RESPONSE - doTransaction (PAYMENT - EBUCKS)- EFTPro payment |
---|
linenumbers | true |
---|
|
<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> |
...