App reviews, troubleshooting, and recommendations
Hi all,
I have been working on this tutorial.
I got to the last step where I can see the upsell product. Problem: When I press the 'Pay Now' button, the loading icon on the buttons appears and nothing happens.
On the console. When I press the button, this appears:
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
I have my server folder inside the main app folder - for the .env file, I created a development app on my developer store and added the credentials from there.
But my main app is registered on my partner's account.
Questions:
For my server folder:
- Where is best to locate it?
- Should I use the credentials of my app on my partner account? (I did not do it as I cannot get an admin access token, only the temporary one)
For making the Pay Now button:
- Do you know what I am missing?
I am also running both: My server and my app locally when testing the app.
I hope you can lead me through the steps as I find the tutorial lacking some main but extremely simple steps that take so long to solve when you do not know where to set things.
Thanks for you help.
Yurith Rubio
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025