https://github.com/dbrax/beem-paymentsapi-laravel
Laravel lib for beem payments api
https://github.com/dbrax/beem-paymentsapi-laravel
beem beemafrica mobilemoney
Last synced: about 2 months ago
JSON representation
Laravel lib for beem payments api
- Host: GitHub
- URL: https://github.com/dbrax/beem-paymentsapi-laravel
- Owner: dbrax
- License: mit
- Created: 2021-07-01T07:22:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-21T12:28:52.000Z (over 3 years ago)
- Last Synced: 2025-02-02T07:28:03.363Z (4 months ago)
- Topics: beem, beemafrica, mobilemoney
- Language: PHP
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://packagist.org/packages/epmnzava/beempayments)
[](https://packagist.org/packages/epmnzava/beempayments)
## Installation
You can install the package via composer:
```bash
composer require epmnzava/beempayments
```## Usage
```php
//
checkout("50000","255701000000","SAMPLE-12345","96f9cc09-afa0-40cf-928a-d7e2b27b2411");//convert your reponse to an array to access src
$response=json_decode($res);// go to the link provided
return redirect($response->src);
//reponse doc coming soon}
//whitelisting service
public function whitelistmywebsite(){
$website="https://storewid.com";
$bpay=new Beempayments;$response=$bpay->whitelist($website);
//$reponse={
"status": 200,
"message": "succesful"
//};}
```
### Testing
```bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Emmanuel Mnzava](https://github.com/epmnzava)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.