Download the PHP package thebikramlama/hbl without Composer
On this page you can find all versions of the php package thebikramlama/hbl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thebikramlama/hbl
More information about thebikramlama/hbl
Files in thebikramlama/hbl
Package hbl
Short Description HBL Payment Integration - Laravel Package
License MIT
Informations about the package hbl
NO LONGER WORKING
Please note this package is no longer working.
Please check the demo for new integration: Demo
Please contact me at: 9808134818 for new integration.
Himalayan Bank Payment Integration - Laravel Package
HBL Laravel Package can be used to generate himalayan bank payment requests.
Getting Started
This package can be installed through Composer.
Publish hbl.php
config file for configuration
Configuration
Edit the configuration file in config/hbl.php
Making a Payment Request
After the installation is complete, Hbl
alias is generated by default.
Using the default Alias
Creating a payment request
Syntax for creating a payment request
Fields
$amount
(integer, required): Amount to be paid$identifier
(integer, optional): Unique identifier used for invoicing. (Can be order ID)$description
(text, optional): Description text to display on payment page/invoice.$userDefinedValuesArr
(array, optional): Custom values to be sent and receive as postback. (Eg: verification data)$merchantID
(optional): Custom merchant other than config file, use this argument if you intend to use multiple accounts for payment.$merchantSecret
(optional): Use the secret key related to the custom merchantID$currencyCode
(optional): Use this argument if you intend to use multiple Currency payments. Available options: "NPR", "USD"$nonSecure
(optional): Use this argument to enable/disable OTP authentication. Available options: "Y", "N" (Y means disable)
Examples
Example with just amount
Example with more arguments
Example with full arguments
Important Notes
- Route names:
hbl.index
,hbl.error
are created by the package, please do not override. - Custom Views: Create custom views folder under
resources/views/vendor/hbl/
, copy the original view files from:vendor/thebikramlama/hbl/src/views/
Credits
License
The MIT License (MIT). Please see License File for more information.