jaysson / omnipay-payubiz
Integrates PayUBiz payment gateway with omnipay
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/jaysson/omnipay-payubiz
Requires
- php: ~5.5|~7.0
- omnipay/common: ~2.0
This package is not auto-updated.
Last update: 2025-10-04 00:17:55 UTC
README
Integrates PayUBiz payment gateway with Omnipay.
Install
Via Composer
$ composer require jaysson/omnipay-payubiz
Usage
Configuration
$gateway = OmniAuth::create('PayUBiz'); $gateway->setKey(MERCHANT_ID); $gateway->setSalt(PAYU_SALT); $params = [ 'name' => $user->name, 'email' => $user->email, 'amount' => $product->amount, 'product' => $product->name, 'transactionId' => uniqid(), 'failureUrl' => url('api/v1/checkout/failed'), 'returnUrl' => url('api/v1/checkout/thank-you') ]; $gateway->purchase($params)->send()->redirect();
Check official OmniPay documentation for more
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email prabhakarbhat@live.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.