Some payment gateways require additional configuration. Please follow the guide below to configure your payment gateway correctly.
How to Setup WorldPay
Once you have set up your account with WorldPay you will receive a test account. To setup WorldPay please follow these steps:
- Login to your WorldPay account using the username and password they issue you.
1.1 If appropriate, select the relevant MerchantCode.
- Click on the "SETUP" link on the side bar on the left
- Select the test account from the Installations list.
- In the "Payment Response URL" and "Shopper Redirect URL" enter: <site url>/mysite/code/Payment/Notifiers/standalone_payment_notifications.php
- Ensure that the following options are ticked:
5.1 Payment Response Enabled.
5.2 Shopper Redirect button enabled.
5.3 Enable the Shopper Response.
5.4 Attach HTTP(s) Payment Response to the Failure Email.
- Enter an email address for failed payments under ""
- Login to Booking Live > Settings > Finances > Payment Settings
- Click Add Payment Setting and select Worldpay
- Enter in your WorldPay "Installation ID" and 'Merchant Account ID'
9.1 The Installation ID can be found from within your Worldpay settings:
- Click Save
- Repeat the steps 8 and 9 but also check the "MOTO" box to enable you to take payment over the phone
Adding the MD5SecretPhrase enables this to be sent, if completely empty however then the security is not used.
- In your WorldPay account, choose your installation integration setup, at the bottom of the form you should see a field labeled "MD5 secret for transactions". Type a signature phrase you want to use and then re-enter it into the confirmation box.
- Please add this value to MD5SecretPhrase in the above relelvant payment setting.
- Under that field, you will see another labeled "SignatureFields". It is in this box that you want to enter the data parameters you want to protect. For the purpose of this tutorial I will be protecting the following parameters.
- Please enter the value
Before you can go-live with Worldpay, you must complete Worldpay's compliance requests found here.