Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Shopify CLI developing new post-purchase extension flow

Shopify CLI developing new post-purchase extension flow

fabian-murillo
Shopify Partner
5 1 4

Hello community,
I'm developing a Shopify custom App with a post-purchase extension, but it has become really annoying developing the post-purchase extension as every single time I need to test a change I have to create a new order, then I can see the extension changes and the it redirects automatically to the Thank you page, so I need it to stay always in the extension preview so I can test easily the changes.

Screenshot 2024-01-26 at 3.54.19 PM.png
As you can see in the screenshot I'm using the CLI console and configured the post-purchase extension properly. But as shown in the screenshot when I create the order for previewing the extension, it displays only once and then redirects to the Thank you page, I need it either to stay in post-purchase page or not redirect to Thank you page so I can test the changes and preview them using the same order.

Thanks in advance.

Reply 1 (1)

Liam
Community Manager
3108 344 892

Hi Fabian,

 

I've flagged this with the checkout extensions team - will let you know what I hear back.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog