revert
This commit is contained in:
parent
a16c76940f
commit
869bd1e0ef
|
@ -23,7 +23,7 @@ use PayPalHttp\HttpException;
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param ShopProduct $shopProduct
|
* @param ShopProduct $shopProduct
|
||||||
*/
|
*/
|
||||||
function PayPalPayment(Request $request)
|
function PaypalPay(Request $request)
|
||||||
{
|
{
|
||||||
/** @var User $user */
|
/** @var User $user */
|
||||||
$user = Auth::user();
|
$user = Auth::user();
|
||||||
|
|
|
@ -5,9 +5,9 @@ use Illuminate\Support\Facades\Route;
|
||||||
include_once(__DIR__ . '/index.php');
|
include_once(__DIR__ . '/index.php');
|
||||||
|
|
||||||
Route::middleware(['web', 'auth'])->group(function () {
|
Route::middleware(['web', 'auth'])->group(function () {
|
||||||
Route::get('payment/PayPalPayment/{shopProduct}', function () {
|
Route::get('payment/PaypalPay/{shopProduct}', function () {
|
||||||
PayPalPayment(request());
|
PaypalPay(request());
|
||||||
})->name('payment.PayPalPayment');
|
})->name('payment.PaypalPay');
|
||||||
|
|
||||||
Route::get(
|
Route::get(
|
||||||
'payment/PayPalSuccess',
|
'payment/PayPalSuccess',
|
||||||
|
|
Loading…
Reference in a new issue