PHP code example of paynamics / paygate-sdk-php
1. Go to this page and download the library: Download paynamics/paygate-sdk-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
paynamics / paygate-sdk-php example snippets
PAYNAMICS_MERCHANT_ID=<your paynamics merchant ID>
PAYNAMICS_MERCHANT_KEY=<your paynamics merchant KEY>
PAYNAMICS_ENVIRONMENT=<sandbox || production>
PAYNAMICS_SANDBOX_ENDPOINT=<paynamcis sandabox endpoint>
PAYNAMICS_PRODUCTION_ENDPOINT=<your production endpoint>
HSBC_MERCHANT_ID=<your HSBC merchant ID >
HSBC_MERCHANT_NAME=<your HSBC merchant name>
HSBC_MERCHANT_KEY=<your HSBC merchant KEY>