Versions Compared

Key

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

...

Anchor
response_without_bank_ref
response_without_bank_ref

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE
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>

            <customFields>

     
         <key>bankReference</key>                 <value>DEMO12</value>

            </customFields>

            <displayMessage>Successful</displayMessage>

            <merchantReference>Munier</merchantReference>
             <payUReference>31976214819</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>

               <gatewayReference>37149772</gatewayReference>

               <information>VISA</information>

               <nameOnCard>NonThree</nameOnCard>
             </paymentMethodsUsed>
             <resultCode>00</resultCode>
             <resultMessage>Successful</resultMessage>
             <successful>true</successful>
          </return>
       </ns2:doTransactionResponse>
    </soap:Body>

</soap:Envelope>

 

Anchor
response_with_bank_ref
response_with_bank_ref

Top

Code Block
languagexml
titleRESPONSE - Credit Card: PAYMENT or RESERVE (with bank reference)
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>
            <customFields>
               <key>bankReference</key>
               <value>DEMO12</value>
            </customFields>
            <displayMessage>Successful</displayMessage>
            <merchantReference>Munier</merchantReference>
            <payUReference>31976214819</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>
               <gatewayReference>37149772</gatewayReference>
               <information>VISA</information>
               <nameOnCard>NonThree</nameOnCard>
            </paymentMethodsUsed>
            <resultCode>00</resultCode>
            <resultMessage>Successful</resultMessage>
            <successful>true</successful>
         </return>
      </ns2:doTransactionResponse>
   </soap:Body>
</soap:Envelope>

...