diff --git a/src/components/Cart.vue b/src/components/Cart.vue index 006786f..1b85c76 100644 --- a/src/components/Cart.vue +++ b/src/components/Cart.vue @@ -830,8 +830,8 @@ export default { .post("/feepayment", this.formPayment) .then((response) => { console.log(response); - window.open(response.data.message + "?auto_submit=true"); - // window.location.href = response.data.message + '?auto_submit=true'; + // window.open(response.data.message + "?auto_submit=true"); + window.location.href = response.data.message + '?auto_submit=true'; console.log(response); diff --git a/src/components/result/ToPay.vue b/src/components/result/ToPay.vue index 4b7b355..a6fdc48 100644 --- a/src/components/result/ToPay.vue +++ b/src/components/result/ToPay.vue @@ -319,8 +319,8 @@ export default { }) .then((response) => { console.log(response); - window.open(response.data.message + "?auto_submit=true"); - // window.location.href = response.data.message + '?auto_submit=true'; + // window.open(response.data.message + "?auto_submit=true"); + window.location.href = response.data.message + '?auto_submit=true'; }) .catch((error) => {