From 3726ad96c872999265436f99d5fca591a9c24ea0 Mon Sep 17 00:00:00 2001 From: MOHAMMED BOUBAZINE <39988497+Medboubazine@users.noreply.github.com> Date: Fri, 29 Mar 2024 01:22:29 +0100 Subject: [PATCH] Update Laravel.md --- docs/frameworks/Laravel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/frameworks/Laravel.md b/docs/frameworks/Laravel.md index baa518b..c9cbdea 100644 --- a/docs/frameworks/Laravel.md +++ b/docs/frameworks/Laravel.md @@ -60,7 +60,7 @@ php artisan make:model ChargilyPayment -m - Routes : ```php -Route::post('chargilypay/checkout', [ChargilyPayController::class, "checkout"])->name("chargilypay.checkout"); +Route::post('chargilypay/redirect', [ChargilyPayController::class, "redirect"])->name("chargilypay.redirect"); Route::get('chargilypay/back', [ChargilyPayController::class, "back"])->name("chargilypay.back"); Route::post('chargilypay/webhook', [ChargilyPayController::class, "webhook"])->name("chargilypay.webhook_endpoint"); ```