Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - APPROVE)
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
                <displayMessage>Successful</displayMessage>
                <fraud>
                    <resultCode>V030</resultCode>
                    <resultMessage>Success</resultMessage>
                </fraud>
                <merchantReference>mercRef_1403097874</merchantReference>
                <payUReference>185871924286</payUReference>
                <paymentMethodsUsed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard">
                    <amountInCents>2156</amountInCents>
                    <cardExpiry>012015</cardExpiry>
                    <cardNumber>542028******1323</cardNumber>
                    <gatewayReference>37585977</gatewayReference>
                    <information>MASTERCARD</information>
                    <nameOnCard>John Doe</nameOnCard>
                </paymentMethodsUsed>
                <resultCode>00</resultCode>
                <resultMessage>Successful</resultMessage>
                <successful>true</successful>
            </return>
        </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

Anchor
response_with_fraud_challenge
response_with_fraud_challenge

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - CHALLENGE)
linenumberstrue
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:doTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/">
            <return>
                <displayMessage>Successful</displayMessage>
                <fraud>
                    <resultCode>V035</resultCode>
                    <resultMessage>CHALLENGE - 0330</resultMessage>
                </fraud>
                <merchantReference>mercRef_1403098425</merchantReference>
                <payUReference>185878360665</payUReference>
                <paymentMethodsUsed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:creditCard">
                    <amountInCents>7215</amountInCents>
                    <cardExpiry>012015</cardExpiry>
                    <cardNumber>542028******1323</cardNumber>
                    <gatewayReference>37585978</gatewayReference>
                    <information>MASTERCARD</information>
                    <nameOnCard>John Doe</nameOnCard>
                </paymentMethodsUsed>
                <resultCode>00</resultCode>
                <resultMessage>Successful</resultMessage>
                <successful>true</successful>
            </return>
        </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>

Anchor
response_with_fraud_deny
response_with_fraud_deny

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENY)
linenumberstrue
<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>
                    <resultMessage>DENY - 0700</resultMessage>
                </fraud>
                <merchantReference>mercRef_1403098545</merchantReference>
                <payUReference>185879181093</payUReference>
                <resultCode>P044</resultCode>
                <resultMessage>Rejected for fraud</resultMessage>
                <successful>false</successful>
            </return>
        </ns2:doTransactionResponse>
    </soap:Body>
</soap:Envelope>