WORLDPAYMENTSCORP

PHP EXAMPLE CODE (Version 1.2.1)

Example code

Get started

Open files initiate.php (customize_initiate.php if you want to work with demo 2) and return.php and change your the config by your merchant config values

Then, run the demo to understand the payment flow.

Demo

Click here to initiate the payment

Demo 2

Click here to initiate the payment