- Payme - Merchant
- Click - Merchant
- Oson - Merchant
- Uzcard - Merchant
- Paynet - Merchant
- Stripe - Merchant(Subscribe)
По умолчанию для оплаты установлен "накопительный режим". Чтобы производить оплату в "Одноразовом режиме", вам необходимо изменить параметр в config/payuz.php 'multi_transaction' => false
- Upay
- Visa
You can install the package via composer:
composer require goodoneuz/pay-uz
Publishing required files of package:
php artisan vendor:publish --provider="Goodoneuz\PayUz\PayUzServiceProvider"
Migrate tables:
php artisan migrate
Seed settings:
php artisan db:seed --class="Goodoneuz\PayUz\database\seeds\PayUzSeeder"
Placing routes for service in web.php
//handle requests from payment system
Route::any('/handle/{paysys}',function($paysys){
(new Goodoneuz\PayUz\PayUz)->driver($paysys)->handle();
});
//redirect to payment system or payment form
Route::any('/pay/{paysys}/{key}/{amount}',function($paysys, $key, $amount){
$model = Goodoneuz\PayUz\Services\PaymentService::convertKeyToModel($key);
$url = request('redirect_url','/'); // redirect url after payment completed
$pay_uz = new Goodoneuz\PayUz\PayUz;
$pay_uz
->driver($paysys)
->redirect($model, $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.