From a16c76940fc9f237861bccd30f167c52fc4e47c6 Mon Sep 17 00:00:00 2001 From: 1day2die Date: Wed, 1 Mar 2023 14:23:15 +0100 Subject: [PATCH] test --- app/Extensions/PaymentGateways/PayPal/index.php | 2 +- app/Extensions/PaymentGateways/PayPal/web_routes.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Extensions/PaymentGateways/PayPal/index.php b/app/Extensions/PaymentGateways/PayPal/index.php index 648913ae..a754fccc 100644 --- a/app/Extensions/PaymentGateways/PayPal/index.php +++ b/app/Extensions/PaymentGateways/PayPal/index.php @@ -23,7 +23,7 @@ use PayPalHttp\HttpException; * @param Request $request * @param ShopProduct $shopProduct */ -function PaypalPay(Request $request) +function PayPalPayment(Request $request) { /** @var User $user */ $user = Auth::user(); diff --git a/app/Extensions/PaymentGateways/PayPal/web_routes.php b/app/Extensions/PaymentGateways/PayPal/web_routes.php index 56497768..04b0c584 100644 --- a/app/Extensions/PaymentGateways/PayPal/web_routes.php +++ b/app/Extensions/PaymentGateways/PayPal/web_routes.php @@ -5,9 +5,9 @@ use Illuminate\Support\Facades\Route; include_once(__DIR__ . '/index.php'); Route::middleware(['web', 'auth'])->group(function () { - Route::get('payment/PayPalPay/{shopProduct}', function () { - PaypalPay(request()); - })->name('payment.PayPalPay'); + Route::get('payment/PayPalPayment/{shopProduct}', function () { + PayPalPayment(request()); + })->name('payment.PayPalPayment'); Route::get( 'payment/PayPalSuccess',