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