Download the PHP package rusdyahmad/bayarcash without Composer
On this page you can find all versions of the php package rusdyahmad/bayarcash. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rusdyahmad/bayarcash
More information about rusdyahmad/bayarcash
Files in rusdyahmad/bayarcash
Package bayarcash
Short Description A PHP client library for integrating with the Bayarcash payment gateway, supporting FPX and DuitNow.
License MIT
Homepage https://github.com/rusdyahmad/bayarcash
Informations about the package bayarcash
Bayarcash PHP SDK
A PHP SDK for integrating with the Bayarcash payment gateway API.
Table of Contents
- Installation
- Configuration
- Laravel Integration
- Standalone PHP
- Usage
- Creating a Client
- Payment Channels
- Creating Payment Intents
- Retrieving Transactions
- Bank Listing
- Portal Management
- FPX Direct Debit
- Handling Callbacks
- Available Payment Channels
- Testing
- Security
- License
Installation
You can install the package via composer:
Or add it directly to your composer.json file:
Configuration
Laravel Integration
If you're using Laravel, the package includes a service provider and facade for easy integration.
-
Publish the configuration file:
-
Add your Bayarcash credentials to your
.env
file: - You can now use the
Bayarcash
facade in your application:
Standalone PHP
For standalone PHP applications, you'll need to create a configuration object:
Usage
Creating a Client
Laravel
Standalone PHP
Payment Channels
The SDK supports multiple payment channels. You can specify the channel when creating a payment intent:
Creating Payment Intents
FPX Payment
Retrieving Transactions
Bank Listing
FPX Banks
DuitNow DOBW Banks
Portal Management
Listing Portals
Creating a Portal
FPX Direct Debit
Creating a Direct Debit Mandate
Getting Mandate Details
Updating a Mandate
Terminating a Mandate
Getting Mandate Transaction Details
Handling Callbacks
Transaction Callbacks
FPX Direct Debit Callbacks
Available Payment Channels
The SDK supports the following payment channels:
FPX
- FPX (Financial Process Exchange)DuitnowDobw
- DuitNow Online Banking/WalletsDuitnowQr
- DuitNow QRFpxDirectDebit
- FPX Direct DebitSPayLater
- SPay LaterBoostPayflex
- Boost PayFlexQris
- QRISNets
- NETS
Each channel has specific features and requirements. Refer to the Bayarcash API documentation for details.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
All versions of bayarcash with dependencies
guzzlehttp/guzzle Version ^7.0
psr/log Version ^1.0|^2.0|^3.0
ext-json Version *