Align | |
---|---|
|
Align | ||
---|---|---|
| ||
|
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: |
. More information Return code and Payline message. | Yes | ||
token | Time stamped token that identifies the merchant's web payment request. |
False | ||
redirectURL | URL on which the shopper's browser must be redirected to make the payment. |
False | AN255 | https://webpayment.payline.com/v2/?token=16ohnJln3sfXw815263061 | ||
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
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
See the list of values
AN50
longMessage
Message of the result of the transaction
AN255