8000 GitHub - appoets/omnipay-payubiz: PayU Biz payment gateway integration to Laravel for merchants in India.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

appoets/omnipay-payubiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 5.x OmniPay PayUBiz

Laravel package for PayUBiz payment gateway with Omnipay.

Install

Via Composer

$ composer require appoets/omnipay-payubiz

Usage

Configuration

$PayU = OmniAuth::create('PayUBiz');
$PayU->setKey(MERCHANT_ID);
$PayU->setSalt(PAYU_SALT);

$PaymentDetails = [
    'name' => $user->name,
    'first_name' => $user->first_name,
    'last_name' => $user->last_name,
    'email' => $user->email,
    'amount' => $product->amount,
    'product' => $product->name,
    'curl' => url('api/payment/cancelled'),
    'furl' => url('api/payment/failed'),
    'surl' => url('api/payment/success')
];

$PayU->purchase($PaymentDetails)->send()->redirect();

Check official OmniPay documentation for more

Credits

License

The MIT License (MIT). Please see License File for more information.

About

PayU Biz payment gateway integration to Laravel for merchants in India.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0