From 27acd0c5de8309e959748b7961f12c996c920ab0 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 21 Dec 2021 12:22:18 +0800 Subject: [PATCH] update billplz to sandbox --- config/billplz.php | 2 +- .../components/bookings/elements/PaymentHistoryComponent.vue | 4 ++-- .../bookings/forms/ConfirmQuotationFormComponent.vue | 2 +- .../bookings/sections/BookingDetailsSectionComponent.vue | 2 +- resources/views/pages/payments_redirect.blade.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/billplz.php b/config/billplz.php index fb8ed920..ac5b3a75 100644 --- a/config/billplz.php +++ b/config/billplz.php @@ -1,7 +1,7 @@ env('BILLPLZ_BASE_URL', 'https://www.billplz.com'), + 'base_url' => env('BILLPLZ_BASE_URL', 'https://www.billplz-sandbox.com'), 'api_key' => env('BILLPLZ_API_KEY', '0fa4c710-761b-4a7a-a501-c2c2d02643d5'), 'x_signature_key' => env('BILLPLZ_X_SIGNATURE_KEY', 'S-pbNVthVRsvnPfZlgLwqqOg'), 'collection_id' => env('BILLPLZ_COLLECTION_ID', 'hev2wdjy'), diff --git a/resources/assets/vue/components/bookings/elements/PaymentHistoryComponent.vue b/resources/assets/vue/components/bookings/elements/PaymentHistoryComponent.vue index fb157182..f7cf99e8 100644 --- a/resources/assets/vue/components/bookings/elements/PaymentHistoryComponent.vue +++ b/resources/assets/vue/components/bookings/elements/PaymentHistoryComponent.vue @@ -33,7 +33,7 @@
- +
@@ -144,7 +144,7 @@
- +
diff --git a/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue b/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue index 12ca41de..b0b89274 100644 --- a/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue +++ b/resources/assets/vue/components/bookings/forms/ConfirmQuotationFormComponent.vue @@ -113,7 +113,7 @@ this.closeModal(); if (response.payload.data.payment_method === 5) { - window.location.href = 'https://www.billplz.com/bills/' + response.payload.data.payment_reference + '?auto_submit=true'; + window.location.href = 'https://www.billplz-sandbox.com/bills/' + response.payload.data.payment_reference + '?auto_submit=true'; } } } diff --git a/resources/assets/vue/components/bookings/sections/BookingDetailsSectionComponent.vue b/resources/assets/vue/components/bookings/sections/BookingDetailsSectionComponent.vue index 26cd0c81..5e61c1c2 100644 --- a/resources/assets/vue/components/bookings/sections/BookingDetailsSectionComponent.vue +++ b/resources/assets/vue/components/bookings/sections/BookingDetailsSectionComponent.vue @@ -255,7 +255,7 @@
- +