Laravel: Billplz Helper
Billplz is a simple cash solution to send bills and collect payments in real-time.
There’s already a package available for PHP.
We going to create a wrapper and helper for Laravel application for the Billplz.
First, create a config file for Billplz –
Then create a utility class in
Lastly, create a helper in
app/Support directory named
helpers.php, and add the following command.
Now you’re done setting up your Billplz helper. You just need to setup
BILLPLZ_VERSION in your
.env to start use the Billplz helper.
Following are some example of the usage:
Billplz also provide sandbox for you to test. Do refer Billplz API documentation for more details.