Use this code as a guide to implement a payment button for the Alignet VPOS Gateway using the Datil VPOS API.
- PHP 7.0.x
- Composer
- Linux or OSX.
composer install
php -S localhost:8000
Finally, visit http://localhost:8000 and click the Pay button. You should be redirected to the VPOS payment page where you can enter your credit card information.
When you finalize the transaction at the VPOS screen, you will be redirected to the URL you registered in the VPOS Gateway.