From bbd87e6623cb6fce90ee514242ab9d2439264d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Sat, 21 Dec 2019 12:45:45 +0300 Subject: [PATCH] Paypal Standard signed issue solved. --- .../Resources/views/show.blade.php | 88 ++++++++++--------- modules/PaypalStandard/Routes/signed.php | 2 +- 2 files changed, 46 insertions(+), 44 deletions(-) diff --git a/modules/PaypalStandard/Resources/views/show.blade.php b/modules/PaypalStandard/Resources/views/show.blade.php index e5a9458d9..bdd14657d 100644 --- a/modules/PaypalStandard/Resources/views/show.blade.php +++ b/modules/PaypalStandard/Resources/views/show.blade.php @@ -1,46 +1,48 @@ -

{{ $setting['name'] }}

+
+

{{ $setting['name'] }}

-@if($setting['mode'] == 'sandbox') -
{{ trans('paypal-standard::general.test_mode') }}
-@endif + @if($setting['mode'] == 'sandbox') +
{{ trans('paypal-standard::general.test_mode') }}
+ @endif -
- {{ trans('paypal-standard::general.description') }} -
- -
- - - - - @foreach ($invoice->items as $item) - - - - - @endforeach - - - - - - - - - - - - - - - - - - - -
-
- -
+
+ {{ trans('paypal-standard::general.description') }}
- + +
+ + + + + @foreach ($invoice->items as $item) + + + + + @endforeach + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
diff --git a/modules/PaypalStandard/Routes/signed.php b/modules/PaypalStandard/Routes/signed.php index bafa7a6b4..b1b2594de 100644 --- a/modules/PaypalStandard/Routes/signed.php +++ b/modules/PaypalStandard/Routes/signed.php @@ -5,5 +5,5 @@ Route::group([ 'middleware' => 'signed', 'namespace' => 'Modules\PaypalStandard\Http\Controllers' ], function () { - Route::post('invoices/{invoice}/paypal-standard', 'Payment@show')->name('signed.invoices.paypal-standard.show'); + Route::get('invoices/{invoice}/paypal-standard', 'Payment@show')->name('signed.invoices.paypal-standard.show'); });