Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hello.
I want to collect data from a form on my website where the client fills in with his email and send this information to a private app in my store.
Thank you.
Solved! Go to the solution
This is an accepted solution.
Send the information over ajax to an url endpoint created in your private app.
Alternatively create a proxy app.
https://shopify.dev/apps/online-store/app-proxies
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
Send the information over ajax to an url endpoint created in your private app.
Alternatively create a proxy app.
https://shopify.dev/apps/online-store/app-proxies
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Sending information from a form like that requires me to sanitize the input(email) on Shopify? If so how sanitization is usually done in Shopify apps. I did not find anything on the documentation regarding that.
If you have some source in mind could suggest some tutorial or blog article demonstrating data being exchanged through a url endpoint from the store-front to the private app (Store Front --> Private App) like we are discussing. I only found the other way around (Private App --> Store Front) .
I can't thank you enough for your answer.
Were you able to find any tutorials on sending the information over ajax to a url endpoint created in your private app? I'm trying to do something similar.
Still not.