fadlisaad / php-touch-n-go
Basic implementation of Touch N Go transaction using PHP
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/fadlisaad/php-touch-n-go
Requires
- php: >=7.4
- guzzlehttp/guzzle: *
Requires (Dev)
- orchestra/testbench: ^3.8
README
Base code for Touch N Go Sandbox
Requirement
- Register with TNGDigital and get merchant ID
- replace the details in config.php
- replace sample-private-key.pem with your generated private key during registration with TNGDigital
How to install
$ composer require fadlisaad/php-touch-n-go
How to use
- Refer to create-order.php on how to create new transaction
- Refer to query-order.php on how to query transaction status
- For further information please refer to the documentation provided by TNGDigital team
License
Refer to LICENSE
Disclaimer
This is only a quick wrapper for creating payment intent with Touch N Go using PHP. If you're using Laravel, stay tune.