Question:
Is there a public key I need for accessing & verifying the data I get from wix. ? and how can I get ?
What are you trying to achieve:
Get Approved orders request to my end point via webhook and read the req body, so I can processing this
What have you already tried:
I was successfully able to get the local test done as show here
but when I get the order request from production website orders (My restaurant orders), I cannot read the body because the public key I am using is from above mentioned link (dev public key)
Where can I get the public key from production ? Do I need to publish an app for this simple use case ?
You will have to build an app, yes. But do you have to publish it on the app market? No that’s not required. Because you need this app for one particular site, so you need not publish it on the app market where all Wix users can get access to it. You can build the app, and directly install it on any of your own sites without the need to publish it.