After the request is accepted, the Worldpay Payment service typically returns an XML response of the following form:
http://www.worldpay.com/successURL?orderKey=BIBIT^DEMO^Example_ToditoCash_Order&paymentStatus=AUTHORISED&paymentAmount=100&paymentCurrency=USD&mac=24dcd933111a50e0f29c32f4d78ad62a
The response includes various components, which are described below:
Components | Description |
---|---|
|
The successURL that you have specified in your XML order request.* |
|
The orderKey parameter, including:
|
|
The status of the payment*. |
|
The amount of the payment*. |
|
The currency of the payment*. |
|
The MAC secret. This value can be null if the MAC secret is not used. Note: The MAC is returned if all the following conditions are met:
|
Note: * This value cannot be null.
If you are using the direct model, redirect the shopper to this URL, so that the shopper can complete the next steps in the payment process.
If you are using the redirect model, append the following details to the URL, before redirecting the shopper:
For more information about redirecting shoppers, see the Worldwide Payment Gateway Integration Guide.
At the end of this stage:
Note: For detailed information on the direct model and the redirect model, see the Worldwide Payment Gateway Integration Guide on the Worldpay website.
Guide feedback?
Email us at: guides@worldpay.com |
|
© Worldpay 2018. All rights reserved. |