getTransaction: SOAP request example
Security details described under security headers
getTransaction:Â SOAP response example
Sample below provides Secure 3D values. Should the getTransaction call not return this please contact PayU support to activate extended Secure 3D responses.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:getTransactionResponse xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <return> <basket> <amountInCents>~~~Basket amount ~~~</amountInCents> <currencyCode>~~~Basket currency ~~~</currencyCode> <description>~~~Basket description ~~~</description> </basket> <customFields> <key>Secure3D</key> <value>{"lkpTransactionId":"~~~lkpTransactionId ~~~","lkpErrorNo":"~~~lkpErrorNo ~~~","lkpErrorDescription":"~~~lkpErrorDescription ~~~","lkpEnrolled":"~~~lkpEnrolled ~~~","lkpEciFlag":"~~~lkpEciFlag ~~~","authSend":"~~~authSend ~~~","authErrorNo":"~~~authErrorNo ~~~","authErrorDescription":"~~~ authErrorDescription ~~~","authCavv":"~~~authCavv ~~~","authXid":"~~~authXid ~~~","authEciFlag":"~~~authEciFlag ~~~","authPAResStatus":"~~~authPAResStatus ~~~"}</value> </customFields> <displayMessage>~~~displayMessage ~~~</displayMessage> <merchantReference>~~~merchantReference ~~~</merchantReference> <payUReference>~~~payUReference ~~~</payUReference> <paymentMethodsUsed xsi:type="ns2:~~~paymentMethodsUsed (Creditcard) ~~~" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <amountInCents>~~~amountInCents ~~~</amountInCents> <cardExpiry>~~~cardExpiry ~~~</cardExpiry> <cardNumber>~~~cardNumber ~~~</cardNumber> <gatewayReference>~~~gatewayReference ~~~</gatewayReference> <information>~~~information ~~~</information> <nameOnCard>~~~nameOnCard ~~~</nameOnCard> </paymentMethodsUsed> <resultCode>~~~resultCode ~~~</resultCode> <resultMessage>~~~resultMessage ~~~</resultMessage> <successful>~~~successful (NB see Response parameters above!) ~~~</successful> <transactionState>~~~transactionState ~~~</transactionState> <transactionType>~~~transactionType ~~~</transactionType> </return> </ns2:getTransactionResponse> </soap:Body> </soap:Envelope> |
---|