Payzone Payment Gateway
Getting Started
This PHP integration pack will allow you to implement the payzone payment gateway into your site, using the preferred method for integration.
- Upload the files to the server via FTP
- In the assets/includes/payzone_gateway.php file, inside the __construct() function update the set statements with your merchant details
- Merchant ID - this can be found in the MMS under Account Admin -> Gateway Account Admin
- Merchant Password - this can be reset in the MMS under Account Admin -> Gateway Account Admin
- Pre Shared Key - this can be found in the MMS under Account Admin -> Account Settings
- Secret Key - This is a unique string for use by the site, you can create any random string
- Hash method - this can be found in the MMS under Account Admin -> Account Settings
- Click on one of the Submit options below, depending on whether you want to submit with dummy data, or manually enter test details
- Once you have successfully tested you can start integrating with your system, recording the transaction into your transaction log, and getting / setting the configuration values using your sites database
Example payment flow
The example payment flows below will allow you to submit a transaction end to end using the current configuration, there are 2 options:
'Without Data' - which will simulate a 'new' customer or a customer with no records stored
'With Data' - which will simulate a 'returning' customer who already have some details stored on your server, the details used in this example are from the test cards pack.
Module Configuration
Configuration
| Merchant ID | Health-2543590 |
| Merchant Password | Kghs5j1g95h2i5h |
| PreSharedKey | R2XGpN3QX1SacY5xCruhxK |
| SecretKey | Abcd1234 |
| Debug Mode | false |
| Show payzone logo (Payment/Results) | true |
| Order Order Details (Results) | true |
Payment Settings
| Transaction Type | SALE |
| Hash Method | SHA1 |
| Base currency | GBP |
| Currency Symbol | £ |
URLS
| Homepage | https://www.payzonedirect.healthcurepharma.co.uk/index.php |
| Cart Page | https://www.payzonedirect.healthcurepharma.co.uk/cart.php |
| Payment Page | https://www.payzonedirect.healthcurepharma.co.uk/payment.php |
| Process Payment | https://www.payzonedirect.healthcurepharma.co.uk/process.php |
| Results Page | https://www.payzonedirect.healthcurepharma.co.uk/results.php |
| Payment form action | # |