diff --git a/scripts/dropins.js b/scripts/dropins.js index 6f7ec9c7e1..e7c768e441 100644 --- a/scripts/dropins.js +++ b/scripts/dropins.js @@ -63,7 +63,7 @@ const handleUserOrdersRedirects = () => { if (error.includes(defaultErrorMessage)) { console.log("defaultErrorMessage", 1); - window.location.href = `${ORDER_STATUS_PATH}${ORDER_REF_URL_QUERY}`; + window.location.href = `${ORDER_DETAILS_PATH}${ORDER_REF_URL_QUERY}`; } else if (isAuthenticated) { console.log("defaultErrorMessage", 2); window.location.href = `${CUSTOMER_ORDERS_PATH}`;