From 662cb485eccbbc2fe392019d4925d13a0e518fdd Mon Sep 17 00:00:00 2001 From: Hussain Nagaria Date: Thu, 9 Nov 2023 13:19:30 +0530 Subject: [PATCH] fix: proper href location set --- printrov_merch_store/www/store/checkout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printrov_merch_store/www/store/checkout.html b/printrov_merch_store/www/store/checkout.html index 2a7a8ed..e9fd876 100644 --- a/printrov_merch_store/www/store/checkout.html +++ b/printrov_merch_store/www/store/checkout.html @@ -35,7 +35,7 @@ } }).then(({ message: store_order_id }) => { // redirect to success page - window.location = `{{ success_page_route }}?store_order_id=${store_order_id}` + window.location.href = `{{ success_page_route }}?store_order_id=${store_order_id}` }).catch(() => { alert("Error placing your order!") })