We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Url Redirecting

Url Redirecting

ashimjunior12
Shopify Partner
1 0 0

Hello, I am using storefront api, that will fetch products from the shopify and also add a payment gateway(just for testing) and the problem is right after the checkouts and shipping i am redirected to *.shopify.com instead of my own url (like http://localhost:3000), is there any solution how i can solve this cause redirecting me to the shopify url makes no sense.

Reply 1 (1)

StevenT_A7
Trailblazer
183 15 20

Hi @ashimjunior12 , 

 

Shopify mandates redirection to a Shopify-hosted checkout (e.g., \*.myshopify.com) after the cart and shipping steps when utilizing the Storefront API. This measure is essential for maintaining security and PCI compliance.

For enhanced customization, Shopify Plus offers "Checkout Extensibility" or "checkout.liquid." These options, while still Shopify-hosted, provide greater control over the user interface and are ideal for enterprise-level brands. Should you require complete control over the checkout process on your own domain, a custom solution would be necessary.

 

Please let me know if you have any questions, Feel free to refer Signature ---->

Thanks !  

Steven Taylor

Phone:- +1 (302) 260-8345
Email :- steven.taylor.a7@gmail.com