Extended response codes
If Worldpay has enabled them for you, these are the extended response codes you can get if Worldpay is your acquirer. There is also a feature at plugin level to override/customize the messages you receive from Worldpay.
How to customize Worldpay response messages
- Go to Stores/Configuration/Sales/Worldpay Exception Codes. The Extended Response Codes screen appears:
- In the Extended Response Codes, you can review and customize the messages triggered by various response codes:
Configuration | Description |
---|---|
Error Code | The unique ISO code within the response sent by Worldpay. |
Worldpay Response | The messages sent by Worldpay with each ISO code. |
Custom Response | This enables you to override the messages Worldpay sends. |
Action | If a new message is needed during any future development, a Delete icon appears so you can delete any old or incorrect messages. |
The shopper journey
The shopper goes to Store front/login/Add to Cart/Proceed to Checkout.
In the screenshot below, the magic code REFUSED5 returns this gateway response message from Worldpay:
In the screenshot below, the magic code REFUSED13 returns this custom gateway response message from Worldpay. You can see in this case the message is less formal:
See the online Test Values and Useful Tables guides for more details, and to access more codes.