To Get Started with this SDK, Make sure you have a PHP application ready.Also make sure you subscribe to the various payment methods you want
composer require sevengps/payunit
To conveniently use Payunit, Add the Payunit Namespace in your desired controller.
Create a new instance of the Payunit class and pass in all the required parameters.
$myPayment = new PayUnit(
Call the MakePayment method to make a payment
If everything is put in place, a call to the PayUnit API will be made and if the request turns out successful, you will be redirected to the PayUnit payment interface. The interface is shown below.
You can check out this demo at https://gitlab.com/sevencommonfactor/payunit-php-demo/-/tree/dev to see payunit in action. Watch demo video here https://youtu.be/9q6ZgDJH23k
Please for security reasons make sure you read your Api key, Api password and Api user from an environment file