nayax / php-sdk
Nayax API integration via php
Installs: 168
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/nayax/php-sdk
This package is auto-updated.
Last update: 2025-12-09 17:54:24 UTC
README
install like a local composer package or just copy files
example form is given
min php version: 5.6
example in folders
$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}}', ]);