cli: [Bug]: Post-purchase UI extension not working

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Extension

Expected behavior

CLI not working for Post-purchase UI

I tried creating a new Shopify app. After that, I added Post-purchase UI extension. In the console I see:

To view this extension:
 1. Install Shopify’s post-purchase Chrome extension...
 2. Open the Chrome extension and paste this URL into it...
 3. Run a test purchase on your store to view your extension...

I create a test product, and create a test checkout: https://help.shopify.com/en/manual/checkout-settings/test-orders

Again. It’s a simple app, with a simple extension, without any changes, only a fresh project, created from CLI.

App working and I can see it in the admin dashboard. But this extension is not.

Issue number one: I don’t see anything after checkout, and before thank you page.

Issue number two: I tried to deploy this extension. And I see this:

image

Actual behavior

Errors in the console. hieroglyphs

Stack trace

No response

Reproduction steps

  1. Install cli v3
  2. create a Shopify react node app
  3. add a post purchase ui extension
  4. use chrome extension/use npm deploy

Operating System

Windows 10 x64

Shopify CLI version (check your project’s package.json if you’re not sure)

3

Shell

No response

Node version (run node -v if you’re not sure)

No response

What language and version are you using in your application?

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (11 by maintainers)

Most upvoted comments

Thanks for sharing the context @SerhiDi. We are looking into it and we’ll provide you with a solution as soon as possible.