I have created the public app. I am able to make authorization.
Now i have to register web hook for public app. According to documentation for public app i have to register webhook via API not via shop admin.
Now the issue is what will be the end URL to post and regiter webhook for order/create. As i know for private app we have to post at shop/admin.
That is https://xxxxxxx.myshopify.com/admin/api/2020-10/webhooks.json
But unable to get URL for Public API POST.
That is what will be in place of xxxxx in this url for public app https://xxxxxxx.myshopify.com/admin/api/2020-10/webhooks.json
Solved! Go to the solution
@Cannesis : What should be the URL/domain before ... /admin/webhooks.json. Is it will be shop URL or something specific or common for all shop as we are creating Public app.
I have created the webhook successfully.
But I am not getting response from my test store webhook, when order is created using test payment gateway.
What could be the reason?
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022