Unable to publish post purchase extension

Bunty
Pathfinder
118 31 72

Hi guys,

 

Is anyone facing the same problem with the new post purchase extension via the CLI? I am getting an error 'An error occurred while attempting to prepare your script.' when I run 'shopify extension push'

I have followed the steps outlined here https://shopify.dev/apps/checkout/post-purchase/getting-started-post-purchase-extension

I can test the extension locally using the chrome plugin, and the build has no errors

I am running this on Windows 10 with nodeJS

and the following packages

"@shopify/post-purchase-ui-extensions""^0.10.1",
"@shopify/post-purchase-ui-extensions-react""^0.10.1",
 "react""^17.0.0"
 
the Shopify CLI version is 2.1.0
The extension is connected to the app and development store preview as been enabled
 
Any help will be much appreciated

 

0 Likes
Bunty
Pathfinder
118 31 72

Anyone out there that has come across this? Surely, can't be just a problem I am facing

0 Likes
seandk88
Shopify Partner
2 0 0

Hi Bunty, 

Unfortunately I can't even get past the tutorial - https://shopify.dev/apps/checkout/post-purchase/getting-started-post-purchase-extension.

The url is updated by the chrome extension during checkout, and when I visit the script_url the response looks sensible. Were there any gotchas you experienced during your setup?

Once I am past this step I could then share my experience in trying to publish the extension.

Many thanks,

Sean

0 Likes