gCartEncoder is a PHP Library that allows an easy 3 step process of implementation to get your products available to Google Checkout customers!
The gCartEncoder reads XML documents that follow the checkout XML schema. Follow Google's instructions to create a valid shopping cart and place it in a directory. It is advisable to create all of your products in a directory so that you can easily iterate over your "store" and produce the shopping items.
Checkout requires authentication, so you have got to store that information somewhere. XML once again is our method of choice but we can't leave that in plain text. It would be best to have further security but gCartEncoder must receive an XML document in a base64 encoded string, it will decode this and parse it as an XML document. The "schema" for this is very simple, it lends itself to what it is, a key and an id.
Once your products are stored and your secret is stashed its time to implement! Download the gCartEncoder library and place it on your PHP 5 enabled web server.
It creates your Google Checkout signature and then allows you to read your XML Product files and produce carts already stamped with the signature and all of the pricing details and other descriptors in a simple HTML form that enables users a one click shopping experience. Requirements:
· PHP 5.0