Skip to content

Commit

Permalink
support octane (#209)
Browse files Browse the repository at this point in the history
Co-authored-by: Parsa Gholipour <[email protected]>
  • Loading branch information
parsagholipour and parsagholipour authored Oct 13, 2021
1 parent f4c8982 commit 9f336a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Provider/PaymentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Shetabit\Multipay\Payment;
use Illuminate\Support\ServiceProvider;
use Shetabit\Multipay\Request;
use Shetabit\Payment\Events\InvoicePurchasedEvent;
use Shetabit\Payment\Events\InvoiceVerifiedEvent;

Expand Down Expand Up @@ -46,6 +47,10 @@ public function boot()
*/
public function register()
{
Request::overwrite('input', function ($key) {
return \request($key);
});

/**
* Bind to service container.
*/
Expand Down

0 comments on commit 9f336a7

Please sign in to comment.