mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Merge branch 'dillon/69-shipping-portal-debugging-on-dev' into development
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<div class="row h-100">
|
||||
<div class="col b-a padding-10 pointer" :class="{ 'b-primary': paymentMethod.name === 'Online Transfer', 'text-primary': paymentMethod.name === 'Online Transfer', 'b-grey': paymentMethod.name !== 'Online Transfer' }" @click="updatePaymentType({name: 'Online Transfer', id: 'payment_gateway'})">
|
||||
<div class="m-b-15 m-t-10 text-center">
|
||||
<img src="/images/fpx-logo-vector-01.png" alt="logo" height="25">
|
||||
<img :src="asset('images/fpx-logo-vector-01.png')" alt="logo" height="25">
|
||||
</div>
|
||||
<p id="online-banking" class="no-margin bold all-caps">Online Banking</p>
|
||||
</div>
|
||||
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -576,8 +575,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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user