From 5c60de28517d6a4970c792179f31d90f5154664f Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Fri, 13 Sep 2024 00:49:20 +0800 Subject: [PATCH] Debugging --- .../paymentsBilling/forms/PaymentFormComponent.vue | 5 ++--- routes/web.php | 3 --- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue b/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue index 6b39b582..9b6992e9 100644 --- a/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue +++ b/resources/assets/vue/components/paymentsBilling/forms/PaymentFormComponent.vue @@ -35,7 +35,7 @@
- logo + logo

Online Banking

@@ -149,8 +149,7 @@ successHandler(response){ if (response.payload) { if (response.payload.data.payment_method === 5) { - console.log('debug: ', this.route('billplz.bill', response.payload.data.payment_reference) + '?auto_submit=true'); - // window.location.href = this.route('billplz.bill', response.payload.data.payment_reference) + '?auto_submit=true'; + window.location.href = this.route('billplz.bill', response.payload.data.payment_reference) + '?auto_submit=true'; } } diff --git a/routes/web.php b/routes/web.php index e3a1fccc..f1c5da23 100644 --- a/routes/web.php +++ b/routes/web.php @@ -39,7 +39,6 @@ use App\Models\Transaction; use App\Models\Wallet; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Http; -use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Route; use Mccarlosen\LaravelMpdf\Facades\LaravelMpdf; @@ -575,8 +574,6 @@ Route::get('/payment-and-billing', function () { Route::get('/notifications/list', 'Notifications\ListNotificationsController@list')->name('notifications.list'); Route::get('billplz/bills/{bill_no}', function($bill_no){ - Log::info('DEBUGGING 1: '.env('WEPOST_BASE_URL')); - Log::info('DEBUGGING 2: '.env('BILLPLZ_BASE_URL').'/bills/'.$bill_no); return redirect(env('BILLPLZ_BASE_URL').'/bills/'.$bill_no); })->name('billplz.bill');