I'm integrating the Shopify payment system to enable a software purchase. But alongside this, I also want the ability to make API calls to my external servers to validate certain requests. Basically, the user registers on my external website and then comes over to shopify to enter some details which I verify from my external servers / databases. My question is can I create an API call to an external server in the backend somehow? (it cannot be a frontend ajax call as I don't want to expose my APIs)
Can someone help? Let me know if further information is required. Thanks
If the call can not be made with AJAX it means you'll need to do all the validation steps via the API.
What does a validated customer actually mean for you? If I'm not validated what happens, or what can't I do? That's important to know.
To throw an idea out there, perhaps you want to consider a flow where :
If customer accounts are option or mandatory you will not be able to stop a customer from creating an account so the above may be closer to what you need.
Thank you for your reply. It's pretty simple. A user should not be able to buy from my shopify store unless they have passed some profile checks on my website. So basically, I need a way to make an API call to my servers before allowing the purchase on shopify. Do you think it's possible without exposing my APIs (which can happen if I use AJAX). I want to make a secure call to my servers (something like a backend call). Do you think App Proxies can do that for me?
My question is simple: Can I make an API call to my servers using Shopify (apart from AJAX)? (I need something that works in the background. Security of my APIs is of primary importance)
Please share if you have any other suggestions.
|an hour ago|