跳到主要内容

概述

Magento是一套专业开源的电子商务系统。Magento设计得非常灵活,具有模块化架构体系和功能。易于与第3方应用系统无缝集成。其面向企业级应用,可处理各方面的需求,以及建设一个多种用途和适用面的电子商务网站。

安装

2.0以上版本

  1. Github下载的文件覆盖到magento网站根目录;
  2. 在网站根目录下运行 php bin/magento setup:upgrade,等待加载完成所有的模块;
  3. 清除后台缓存System->Cache Management;
  4. 进入配置Stores-> Configuration-> Sales->Payment Methods。

2.0以下版本

  1. Github下载的文件覆盖到magento网站根目录;
  • 将文件夹‘op_xx’复制到网站正在使用的模板路径中,例如:app\design\frontend\正在使用的模板名\default\template\op_xx。
  • 文件夹images复制到正在使用的模板路径中,例如:skin\frontend\正在使用的模板名\default\images。
  1. 清除magento后台缓存;
  2. 进入配置System-> Configuration-> Payment Methods。

配置

配置选项
EnableYes
TitleYour payment method.
AccountProvide by Oceanpayment technical support.
TerminalProvide by Oceanpayment technical support.
SecureCodeProvide by Oceanpayment technical support.
Gataway URL• Production environment: https://secure.oceanpayment.com/gateway/service/pay
• Sandbox environment: https://test-secure.oceanpayment.com/gateway/service/pay
Pay Mode• Redirect: Redirect to open payment page
• Iframe: iframe payment page.
New Order StatusOn Hold
Approved Order StatusProcessing
Failure Order StatusCanceled
Pending Order StatusPending
Invoice When CompleteYes
Payment from Applicable CountriesAll Allowed Countries