PHP code example of zmbakh / nurkassa-php-sdk
1. Go to this page and download the library: Download zmbakh/nurkassa-php-sdk 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/ */
zmbakh / nurkassa-php-sdk example snippets
$nurkassa = new Nurkassa\Nurkassa();
$nurkassa->setAccessToken('h2rOjGoWhofLZHLO9K0xW3h8Pyfml7RG7ikLXSemHNhmaSgBrgDXNu5NMNs6'); //Example token.
$pos = new \Nurkassa\Models\ProgrammingMode\PosModel();
$request = $pos->index();
$response = $nurkassa->handleRequest($request);