$merchantId = '{{ your merchant id }}';
$hashCode = '{{ your hash code }}';
$adapter = new Adapter($merchantId, $hashCode);
// to get redirect url $redirectUrl
$redirectUrl = $adapter->initiatePayment([
'amount' => 1.23,
'currency' => 'ACP', // for list of currencies view the website documentation
'orderId' => uniqid(), // your system order id
'methodCode' => 'visa', // what payment method to use
'redirectUrl' => '{{ your redirect page}}',
'notificationUrl' => '{{ your notification page}}',
]);
-
Notifications
You must be signed in to change notification settings - Fork 0
nayax/php-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|