- Payme - Merchant
- Click - Merchant
- Oson - Merchant
- Uzcard - Merchant
- Paynet - Merchant
- Stripe - Merchant(Subscribe)
- Upay
- Visa
You can install the package via composer:
composer require goodoneuz/pay-uzPublishing required files of package:
php artisan vendor:publish --provider="Goodoneuz\PayUz\PayUzServiceProvider"Migrate tables:
php artisan migrateSeed settings:
php artisan db:seed --class="Goodoneuz\PayUz\database\seeds\PayUzSeeder"Placing routes for service in web.php
//here comes requests from payment system
Route::any('/handle/{paysys}',function($paysys){
PayUz::driver($paysys)->handle();
});
//here user redirects to payment system
Route::any('/redirect/{paysys}/{user_id}/{amount}',function($paysys, $user_id, $amount){
$user = App\User::find($user_id);
$url = 'https://payment.uz';
PayUz::driver($paysys)->redirect($user, $amount, 860, $url);
});PaymentException
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email shaxzodbek.qambaraliyev@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.