/**
* Copyright (C) 2007 Powersellersunite.com.
* Written by Bob Lee. All rights reserved.
* Please contact info@powersellersunite.com for licensing or purchase
* Or visit http://www.powersellersunite.com/googlecheckout.php
* Do not remove this from the file.
* 05/05/2008 Version 3.0
* Level 2 Integration see https://checkout.google.com/support/sell/bin/answer.py?answer=42917
*
* Rewritten for clarity by websnail
*
*
*/
Joomla VirtueMart - Google Checkout Payments Module
--------------------------------------
This Joomla VirtueMart payment module allows you to easily add Google Checkout as a payment option to your website.
Customers can click on the Google Checkout Buy Now button and quickly pay for items in their cart.
COMPATABILITY
=============
This module is currently supports VirtueMart 1.0.x. and 1.1.x.
INSTALLATION
-----------------
If you've extracted the files correctly you should already have the correct structure so just copy the "administrator" folder into the root (base) folder for your Joomla installation.
Ref:
====
/administrator/components/com_virtuemart/classes/payment/ps_googlecheckout.cfg.php
/administrator/components/com_virtuemart/classes/payment/ps_googlecheckout.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/googlecheckout.php [UPLOAD IN BINARY]
/administrator/components/com_virtuemart/classes/payment/googlecheckout/googleerror.log [CHMOD 766]
/administrator/components/com_virtuemart/classes/payment/googlecheckout/googlemessage.log [CHMOD 766]
/administrator/components/com_virtuemart/classes/payment/googlecheckout/license.php [UPLOAD IN BINARY, (Will arrive in seperate email)]
/administrator/components/com_virtuemart/classes/payment/googlecheckout/callback/htaccess.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/callback/merchant-calculation-callback.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/callback/new-order-notification.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/callback/order-state-change-notification_CANCELLED.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/callback/order-state-change-notification_CHARGED.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/callback/order-state-change-notification_DELIVERED.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/callback/responsehandler_gc.php [UPLOAD IN BINARY]
/administrator/components/com_virtuemart/classes/payment/googlecheckout/ioncube/* [See below]
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googlecart.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googleitem.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googlelog.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googlemerchantcalculations.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googlerequest.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googleresponse.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googleresult.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googleshipping.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/googletax.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/xml-processing/gc_xmlbuilder.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/xml-processing/gc_xmlparser.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/xml-processing/xmlbuilder.php
/administrator/components/com_virtuemart/classes/payment/googlecheckout/library/xml-processing/xmlparser.php
/administrator/components/com_virtuemart/classes/shipping/standard_shipping_gc.php
/administrator/components/com_virtuemart/html/* [See MODIFICATIONS For VirtueMart 1.0.x. below]
/components/com_virtuemart/themes/default/templates/* [See MODIFICATIONS For VirtueMart 1.1.x. below]
IMPORTANT:
----------
The files:
- googlecheckout.php,
- responsehandler_gc.php,
- license.php
MUST be uploaded in BINARY mode (Not ASCII)
I suggest using Joomlxplorer to upload those files since it will automatically set them to BINARY mode
If using another FTP client specify BINARY mode when you are uploading these files.
(For locations see the 'Ref:' table above)
===============
MODIFICATIONS For VirtueMart 1.0.x. (file edits)
The files in this folder:
/administrator/components/com_virtuemart/html/
Have already been modified for 1.0.15. If you are using a different version or already customized those files please follow the manual modifications below.
shop.cart.php and checkout.index.php are being distributed with this package as free code under Joomla/VirtueMart GNU license.
#
#-----[ OPEN shop.cart.php]------------------------------------------
#-----[IE: /administrator/components/com_virtuemart/html/shop.cart.php ]
#
#
#-----[ FIND ]------------------------------------------
#
_PHPSHOP_CHECKOUT_TITLE ?>
#
#-----[ AFTER, ADD ]------------------------------------------
#
#
#-----[ OPEN checkout.index.php]------------------------------------------
#-----[IE: /administrator/components/com_virtuemart/html/checkout.index.php ]
#
#
#-----[ FIND ]------------------------------------------
#
elseif ($checkout_this_step == CHECK_OUT_GET_FINAL_CONFIRMATION) {
ps_checkout::final_info();
?>