kurniajigunawan / faspay-omnipay
Faspay Gateway for Omnipay payment
v1.0.2
2020-11-19 04:34 UTC
Requires
- omnipay/common: 3.0-beta.1
- php-http/guzzle6-adapter: ^1.1
Requires (Dev)
- omnipay/tests: 3.0-beta.1
README
Unofficial package Faspay Business Payment Gateway
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+.
Installation
Install via Composer :
composer require kurniajigunawan/faspay-omnipay
Feature
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.
Example Code
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.
Support
If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found.
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.