Faspay Gateway for Omnipay payment
Unofficial package Faspay Business Payment Gateway
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+.
Install via Composer :
composer require kurniajigunawan/faspay-omnipay
On this package is full supported for debit transaction of Faspay Payment :
- Faspay Channel
- Faspay Purchase
- Faspay Complete Purchase (Notification)
- Faspay Cancel
- Faspay Inquiry
We have a plan to support a credit card soon on next release.
An example code for Faspay Channel :
$gateway = new DebitGateway(); $gateway->setMerchantId('YOUR_MERCHANT_ID'); $gateway->setMerchant('YOUR_MERCHANT'); $gateway->setProductionMode(true); $gateway->setPassword('YOUR_PASSWORD'); $gateway->setUserId('YOUR_USER_ID'); $channel = $gateway->channel(); $channel->setRequest('Daftar Payment Channel'); $channel->setSignature(); $channel->send();
For general usage instructions, please see the main Omnipay repository.
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.