Trigger a MySQL database entry after an online sale

I would like to have my customers information entered into my database after each online sale. Currently, after a sale I have to enter the customers name, phone, and email into my (seperate) system manually. I usually use PHP in order to create the MySQL database entry using an input console i created.

 

I would like to automate this process.

I would like to have my customers "order" in order to sign up for my sports league. Then - I would like the customers name, phone number, and email to go into my current signups table.

Can PHP code be triggered by a sale on square online?

570 Views
Message 1 of 2
Report
1 REPLY 1
Square Community Moderator

Hello there, @pkdiscgolf

 

Welcome to the Community!

 

Just to confirm what you're looking for - you want to integrate the database you've created with your customers' information with your Online Store Orders? So you can add them to a sign-up after their order is placed. Is that correct? 

 

I will keep an eye out for your reply👀

 

 

Kassi
Community Moderator, Square
Sign in and click Mark as Best Answer if my reply answers your question.
503 Views
Message 2 of 2
Report