本文介绍在magento1.9.x购物系统上安装支付插件,并且对接《PaymentCenter收款收单系统》的方法,以下是图文教程:
1、首先打开支付插件压缩包,找到magento1.9.x文件夹,用FTP把里面的文件上传到你的magento1.9.x站点的根目录;
2、进入magento后台,顶部菜单/System/Cache Management,刷新缓存
3、进入顶部菜单/System/Configuration
4、左侧菜单找到Sales/Payment Methods
5、找到onlinepayPaypal支付模块,进行参数设置,完成后点保存(Save Config),就完成支付插件安装了。
参数说明:
Enable 选择True表示启用;
Title 设置支付方式的标题;
New order status 设置Pending;
Success order status 设置Processing;
Fail order status 设置Pending;
Account Type(sandbox/live) 请和系统后台账户类型对应;
Payment Mode(sale/authorization) PAYPAL专用,其他支付方式忽略这个字段;
PaymentCenter Url 系统网址例如:https://paymentcenter.com
Sort order 支付方式的排序值;
6、magento1.9.x购物网站支付插件安装和设置完毕后,需要到收款收单系统后台/商户订单管理/商户站管理中添加商户站网址;
注意:
如果你的magento站可以独立访问https://domain.com和https://www.domain.com并且不发生强制跳转,那么商户站网址只要添加:https://domain.com
如果你的magento站点打开https://domain.com是强制跳转到https://www.domain.com的,那么商户站网址要添加:https://www.domain.com
7、测试下单支付流程
如此,在magento1.9.x安装支付插件并且对接PaymentCenter收款收单系统就完成了,其他类型的开源系统比如:wordpress+woocommerce、zencart、Opencart和Prestashop等安装支付插件也是类似操作,每个支付插件文件夹下都有相关的操作说明。
