A laravel package to seamlessly integrate VTPass api within your laravel application
VTPass is a platform through which you can make convenient payment for your day to day services like Phone Airtime Recharge, Internet Data bundle subscription, Cable TV subscription such as DTSV, GOTV, Startimes, Electricity bills (PHCN) and many other services.
Create a VTPass Account Sign Up.
Look up VTPass API Documentation API Documentation.
Although you have access to all VTpass products, they are disabled by default. To start selling specific products, you must whitelist them first. Whitelisting allows you to activate only the products you intend to offer through your integration. Follow the steps below to whitelist your desired products and enable them for vending.
- To whitelist products for:
- The live environment, go to your VTpass profile here.
- The Sandbox environment, go to your Sandbox profile here.
- Click on the Product Settings tab on your profile page.
- Check the products you would like to vend and click the submit button
Now that you have gone through the documentation and all necessary tests done on the test environment, you are almost ready to go live!
- Create Live Account: The next step is to create a live account here.
- Request Access: After creating a live account, you need to request API access by clicking here (you need to be logged in to your live account before you can access this).
- Fill Form: Fill the form on the page and check the service(s) integrated. Note: You will be required to input the request ID of a successful integration.
- Submit: Once done, click on submit.
If you are using this package in a non-laravel project, or you need a framework agnostic usage of this package, using the vanilla php version php-vtpass-vtu is suggested.
You can install the package via composer:
composer require henryejemuta/laravel-vtpassPublish VTPass configuration file, migrations as well as set default details in .env file:
php artisan vtpass:initTo use the VTPass package you must import the VTPass Facades with the import statement below; Other Classes import is based on your specific usage and would be highlighted in their corresponding sections.
...
use HenryEjemuta\LaravelVTPass\Facades\VTPass;
...composer testPlease see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you notice any bug or issues with this package kindly create and issues here ISSUES
If you discover any security related issues, please email henry.ejemuta@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.