Worldpay
To configure your Worldpay contract you need to configure it in the Worldpay portal and in optile. If you have multiple merchant codes from this provider, you need to create a separate contract for each code in optile.
Start by configuring the contract in Worldpay.
- Log in to https://secure.worldpay.com/sso/public/auth/login.html.
- In the Merchant Code drop-down, select the code for which you'll be configuring your contract. You need to repeat the steps below for every contract you want to configure in optile.
- In Account > Profile, edit the default XML Password. have the new password at hand, because you'll need it further on in the configuration process.
- Go to Integration > Configuration Details and make sure the Capture Delay is set to Off.
- Open the Merchant Channel tab to configure how notifications will be sent to our OPG platform.
- Configure the Test section of the Merchant Channels as shown below

- In the Address field, enter: https://api.sandbox.oscato.com/notification/WORLDPAY/{MERCHANT_CODE}/do.html, where {MERCHANT_CODE} is your optile merchant code.
- In the Merchant Channel Events section, activate all events in the http row. You only need to leave the REFUND_WEBFORM_ISSUED and REFUSED_BY_BANK boxes unselected.
- Save your changes.
10. Change your mode to TEST.

Now, configure your contract in optile.
-
Log in to your merchant portal.
- In the left-hand navigation, click Provider Contracts.
- Click + New Contract.
- Search for the provider and click on the provider's icon to select it.
- Select the methods and add the countries in which these methods will be available as per your contract. If the methods will be available in all countries, select Global.
- Click Continue.
- In the API Parameters section, enter the required data. You can leave the remaining fields blank.
- Leave the AUTOCAPTURE_ENABLED unselected.
- MAC-SECRET: Generate the secret on the Worldpay page: https://secure.worldpay.com/sso/public/auth/login.html, and enter it in optile.
- MERCHANT-CODE: Enter the code provided by Worldpay.
- MODE: For sandbox, enter TEST.
- Gateway URL: https://localhost
8. Click Continue.
9. Select the currencies this contract will use, or leave All currencies selected. If the contract should only use a limited range of currencies, add the currencies you want to use. The selected currencies must match the currencies that you have activated with Worldpay.
10. Click Continue.
11. Add any costs and transaction limits that apply as per the contract.
12. Click Finish.
You have finished configuring the contract. Now, click this contract in the contract list and activate it.
You can move on to configuring your transaction routing in optile to direct your transactions to specific payment providers and methods.