Getting this error when I click on the "BUY IT NOW" button in the product page while customizing the theme
I can replace the code like the error recommends but I'm not sure why I'm getting the error and don't want to change the code unless I understand the issue a bit more.
I’m Helen from Shopify Support. Welcome to the Community!
The page redirect error that you are seeing happens when trying to complete a checkout from within the Theme Editor. This is expected behaviour, and is related to where you are checking out from; It’s not indicative of a problem with your checkout, payment provider or theme.
To confirm this, please test it out by clicking on the dynamic checkout button on your product page from your actual storefront. From here, you should be redirected to the payment gateway, and able to proceed as normal without any error notifications.
Let me know how it goes!
Helen | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution