Hello. I'm new to Shopify. A client of mine wants to switch to Shopify, but we have some automation that goes on behind the scenes, and I need to know if Shopify can be a solution we can use.
Currently we use Wordpress. In a nutshell, someone places an order, I execute some PHP code on the order confirmation page to check through items ordered to see if they match X,Y, or Z. If there is a match, we write the user info to a database, and register them for a membership on one of our other sites. E-mails are sent out, etc. All automated after the order is confirmed.
I need to know if I can execute PHP code on Shopify after the order is processed, using the order variables (name, address, items ordered, etc.), or if I can send order details to a remote MySQL data, for later processing. If there are any hooks/API options available to retrieve order info directly from shopify that I can call from a remote server, that would also work.
We plan on using Stripe as a payment processor, so I might also contact Stripe to see if they have anything I can use on their end after the payment is posted.
Any help will be greatly appreciated!
Bryan