Response |
The "doWebPaymentResponse" message is Payline's response to a web payment initialization request. You will find in this reply message the Internet address of the Payline payment web pages as well as the authentication token to use for your shopper.
The answer has the following structure:
Element | Description | Required | Format | Example |
result | Information on the result of the payment request: See the items below | Yes | ||
token | Time stamped token that identifies the merchant's web payment request | Yes | ||
redirectURL | URL on which the shopper's browser must be redirected to make the payment. | Yes | AN255 | |
stepCode | Action class identifier to call for the URL character | no | AN20 | |
reqCode | ldentifier of the class method Action to call for the URL character | no | AN20 | |
method | The mode of operation of the personalized url : POST or GET | no | AN4 | POST |
Object result
Element | Description | Format | Example | Condition |
---|---|---|---|---|
code | The return code of the web service: Accepted transaction: 00000, 02400, 02500, 02501, 02517, 02520, 02616, 03000, 04000. Other code: Transaction not accepted See details of Payline Return Codes | N5 | ||
shortMessage | Short message of the result of the transaction | AN50 | ||
longMessage | Message of the result of the transaction | AN255 | ||
partnerCode | Return code from partner (payment method) and SAA acquirer | AN50 | from version 14 | |
partnerCodeLabel | Partner's wording | AN255 | from version 14 |