jojo_
Tourist
Contact Me
Status
Offline
Last Activity
‎05-14-2021 05:18 AM
Topic Started
2
Topics Started
Topic Solutions
2
Solutions
Post Count
9
Posts
Post Kudos
1
Likes

Community Badges

No content to show

User Activity

@makasanasI had the same problem. fixed it by adding a SSH key to githubhttps://help.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh
Refer https://stackoverflow.com/questions/58347894/shopify-app-access-token-how-to-make-it-more-secure
So after a week of rigorous battle with the code and the API , i finally figured out how to save the discount as a metafield. I also encountered a lot of errors including 405, 500, 501  I'm sharing the solution here, so that it will helpful for anyon...
Okay, I finally figured it out. I was trying to do a post from client side and not from server side.  This post has been very helpful.Also I was duplicating the router.get() for accepting the POST from client side.  I found this stackoverflow answer ...
Still getting the same error 501 @chipkeyes88  method=POST path="/admin/api/2020-04/metafields.json" host=demoo-app-new.herokuapp.com request_id=1999a2f8-c959-4d56-9113-46aee1a1669b fwd="111.92.74.226" dyno=web.1 connect=1ms service=168ms status=501 ...
@SBD_  Thanks for looking into this.  I fixed the 405 error by adding a post method to router.router.post("*", verifyRequest(), async ctx => { await handle(ctx.req, ctx.res); ctx.respond = false; ctx.res.statusCode = 200; });But now its...
As said in my earlier post , somehow i managed to learn about the REST API and you can only create a SHOP metafield (Storefront) using GraphQL API.  Now i'm trying to make a post request for a SHOP metafield. But it results in 405 method not allowed ...
@hassain can you help here. https://community.shopify.com/c/Shopify-APIs-SDKs/Save-discount-as-a-shop-metafield-in-Node-js-React-app/m-p/729830 
Hey,  I'm following this tutorial on Building your user interface with Polaris and want to save the discount value as a Shop metafield on handleSubmit() inside pages/annotated-layout.js . As a total newbie to this react.js + node architecture, i have...
This widget could not be displayed.
This widget could not be displayed.
Helpful From
Likes given to