changes untested
This commit is contained in:
1
src/pages/pay/cancel.vue
Normal file → Executable file
1
src/pages/pay/cancel.vue
Normal file → Executable file
@@ -147,7 +147,6 @@ export default defineComponent({
|
||||
})
|
||||
.then((result) => result.json())
|
||||
.then((data) => {
|
||||
console.log(data);
|
||||
// Redirect to Stripe Checkout
|
||||
return this.stripe.redirectToCheckout({ sessionId: data.sessionId });
|
||||
})
|
||||
|
||||
0
src/pages/pay/pay_oil.vue
Normal file → Executable file
0
src/pages/pay/pay_oil.vue
Normal file → Executable file
21
src/pages/pay/pay_service.vue
Normal file → Executable file
21
src/pages/pay/pay_service.vue
Normal file → Executable file
@@ -284,7 +284,7 @@ export default defineComponent({
|
||||
},
|
||||
mounted() {
|
||||
|
||||
this.getServicePrices();
|
||||
|
||||
// this.getStripePublishableKey();
|
||||
|
||||
},
|
||||
@@ -326,25 +326,6 @@ export default defineComponent({
|
||||
});
|
||||
},
|
||||
|
||||
getServicePrices() {
|
||||
let path = import.meta.env.VITE_BASE_URL + "/admin/service/get";
|
||||
axios({
|
||||
method: "get",
|
||||
url: path,
|
||||
withCredentials: true,
|
||||
})
|
||||
.then((response: any) => {
|
||||
this.service_prices = response.data;
|
||||
|
||||
})
|
||||
.catch(() => {
|
||||
notify({
|
||||
title: "Error",
|
||||
text: "Could not get service order",
|
||||
type: "error",
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
getServiceOrderNotes(service_id: any) {
|
||||
let path = import.meta.env.VITE_BASE_URL + "/service/call/notes" + service_id;
|
||||
|
||||
0
src/pages/pay/routes.ts
Normal file → Executable file
0
src/pages/pay/routes.ts
Normal file → Executable file
0
src/pages/pay/success.vue
Normal file → Executable file
0
src/pages/pay/success.vue
Normal file → Executable file
Reference in New Issue
Block a user