...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://soap.api.controller.web.payjar.com/" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <SOAP-ENV: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>Staging Integration Store 3</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">WSAUFbw6</wsse:Password> </wsse:UsernameToken> </wsse:Security> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:doTransaction> <Api>ONE_ZERO</Api> <Safekey>{07F70723-1B96-4B97-B891-7BF708594EEA}</Safekey> <TransactionType>FINALIZE</TransactionType> <AdditionalInformation> <merchantReference>mercRef_1395758911</merchantReference> <payUReference>150243726115</payUReference> </AdditionalInformation> <Customer> <email> </email> <firstName>firstName_1395758911</firstName> <lastName>lastName_1395758911</lastName> <merchantUserId>merchantUserId_1395758911</merchantUserId> <mobile> </mobile> <regionalId>regionalId_1395758911</regionalId> </Customer> <Basket> <amountInCents>8264</amountInCents> <currencyCode>ZAR</currencyCode> </Basket> <Creditcard> <amountInCents>8264</amountInCents> </Creditcard> </ns1:doTransaction> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
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>mercRef_1395758911</merchantReference> <payUReference>150243726115</payUReference> <resultCode>00</resultCode> <resultMessage>Successful</resultMessage> <successful>true</successful> </return> </ns2:doTransactionResponse> </soap:Body> </soap:Envelope> |
...