UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_ea1addfbb834
/
app
/
Providers
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
LaravelPagseguroServiceProvider.php
<?php namespace EstudioLMS\Providers; use EstudioLMS\Models\Config\Config; use EstudioLMS\Services\Admin\ConfigurationServices; use Illuminate\Support\ServiceProvider; use PHPSC\PagSeguro\Credentials; use PHPSC\PagSeguro\Environments\Production; use PHPSC\PagSeguro\Environments\Sandbox; use PHPSC\PagSeguro\Requests\Checkout\CheckoutService; class LaravelPagseguroServiceProvider extends ServiceProvider { protected $config; public function boot(ConfigurationServices $configurationServices) { try { $this->config = $configurationServices->pagseguroConfiguration(); } catch (\Exception $e) { $this->config['sandbox'] = 1; $this->config['email'] = 'financeiro@estudiosite.com.br'; $this->config['email'] = 'A3E4C99225DB4666B59BAD05DEDF8A3F'; } if ($this->config['sandbox'] == 1) { $this->app->bind('PagseguroEnv', function () { return new Sandbox(); }); } else { $this->app->bind('PagseguroEnv', function () { return new Production(); }); } $this->app->bind('PHPSC\PagSeguro\Credentials', function () { return new Credentials( $this->config['email'], $this->config['token'], $this->app->make('PagseguroEnv') ); }); $this->app->bind('PHPSC\PagSeguro\Requests\Checkout\CheckoutService', function () { return new CheckoutService($this->app->make('PHPSC\PagSeguro\Credentials')); }); } public function register() { /*if ($this->config['sandbox'] == 1) { $this->app->bind('PagseguroEnv', function () { return new Sandbox(); }); } else { $this->app->bind('PagseguroEnv', function () { return new Production(); }); } $this->app->bind('PHPSC\PagSeguro\Credentials', function () { return new Credentials( $this->config['email'], $this->config['token'], $this->app->make('PagseguroEnv') ); }); $this->app->bind('PHPSC\PagSeguro\Requests\Checkout\CheckoutService', function () { return new CheckoutService($this->app->make('PHPSC\PagSeguro\Credentials')); });*/ } }
Copyright © 2026 - UnknownSec