Need Help Today/Now with E-Commerce Checkout Page PHP JS Json

Job ID: 35321458

Budget: $15 – $25 USD

Hi there, I have an e-commerce project that uses the famous Square Web SDK and php sdk for payment and checkout. It's php and js - there are about 4 small files that make up the script and I need help modifying them so we can run some other built-in functions and show messages or success screens based on if those functions execute successfully or not - like checking a save credit card checkbox for example.

There are lots of results and responses all over the place and the script hands off some variables to a js file which then posts them to a php file. It's sort of confusing for me to understand how to inject a couple of functions in the process that won't mess it up but will also be easy to see if the function worked or not (ie success, true, 1, etc).

I want to get this done asap. Thanks
Related categories: PHP JavaScript AJAX MySQL JSON