API Tutorials
Hi. I was wondering I am not familiar with APIs and how to incorporate them into my html. Is there any recommended video tutorials on API and t-shirtgang? Thanks.
Hi!
I have actually compiled a test script in PHP on our API page here:
http://tshirtgang.com/cp/api#download
This is only one example of code to use, you do need to be familiar with XML and any language of your choosing. XML is very simple to understand, it's very much like HTML if you're unfamiliar with it.
The download link however, is only an example of our Create Order API. It will show you how to fill out the XML and post it via PHP and cURL.
You would incorporate this script in your checkout page where you would confirm your payment. If you're looking for an easy script, you can check stackoverflow.com for PayPal IPN scripts and incorporate the API there.
I have actually compiled a test script in PHP on our API page here:
http://tshirtgang.com/cp/api#download
This is only one example of code to use, you do need to be familiar with XML and any language of your choosing. XML is very simple to understand, it's very much like HTML if you're unfamiliar with it.
The download link however, is only an example of our Create Order API. It will show you how to fill out the XML and post it via PHP and cURL.
You would incorporate this script in your checkout page where you would confirm your payment. If you're looking for an easy script, you can check stackoverflow.com for PayPal IPN scripts and incorporate the API there.
If I am using paypal will I have to grant you access to my account?
QUOTE:
If I am using paypal will I have to grant you access to my account?
Never! You will accept all payments first, then submit orders through Tshirtgang and pay for it like regular.
Andrew
You must be logged in to reply.