Google checkout 自己写的,免费了啊!

来源:互联网 发布:网络教育晋职称能用吗 编辑:程序博客网 时间:2024/05/22 03:08

本文章已经移到作者个人空间:http://www.365joomla.com

http://www.365joomla.com/Joomla-%E8%B5%84%E8%AE%AF/Google-checkout-for-virtuemat.html

演示地址:http://365joomla.com/demo/index.php?option=com_virtuemart&Itemid=53&vmcchk=1&Itemid=53

用joomla开发商务网站的时候,客户要求要使用Google checkout支付,在joomla官方找了,但是都是收费了 ,而且网上也没能下载到,下载了一个试用的,安装起来很不方便,还要修改代码什么的,于是乎,咬紧牙关,自己写了个Google checkout,而且是安装包形式的,安装嘛,是借用了http://www.phoca.cz/   这个网站的Phoca Install将我要安装的文件整合进去了,修改了Phoca Install里面的代码,因为安装的过程要求joomla全局设置里面FTP配置正确并且启用,所以在安装的时候不成功,我就修改了里面的代码:


这样做的原因:JFile::copy 需要joomla全局设置里面FTP配置正确并且启用,如果没用启用,安装过程中,拷贝文件的时候,如果目标文件所在的文件夹不存在,拷贝会失败,所以拷贝前  先判断  不存在目标文件夹  则创建该文件夹  然后拷贝文件到该文件夹

 

 


 

Virtuemart Payment Systems,有如下特点:

With this Google Checkout module, you can process your order payment like the way you use Paypal, but you can save a lot of your transaction fees and gain customers' trust, simply because customers trust Google!

1.0 Features

1. Easy installation: with our updater component, the installation of this module in VirtueMart is easy!(易于安装使用)

2. Two environment: the sandbox or live production.(两种测试模式)

3. Select the Fast Checkout button size and style.(自定义支付按钮)

4. Thanks http://www.phoca.cz/ ,Phoca Install is a very good component.

 

 


 

下面是截图:

1.virtuemart后台配置:

 

2.安装过程


 

 

3.virtuemart后台

 

下载的地址,需要注册下载啊

http://www.365joomla.com/view.download/7/5.html

 

对后续版本的更新预览:

1.增加tax,shipping,现在1.0是计算在总和里面的,没有一个大概的浏览,1.0的tax,shipping默认是关闭的,状态为NO,在后续版本中,将继续保留,提供用户自己选择

2.google checkout不同的支付模式。

3.即将添加的功能:

    Write to Log

    Add to item description in Google Checkout(让用户选择产品的描述方式)

    Continue Shopping url

    Google Analytics

敬请期待,由于我大部分时间比较忙,可能不能及时放出新的版本,还请谅解!!!