思而科软件有限公司 WeChat Pay for Magento 2 用户指南说明书
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
949 748 3700 (US)
400 6265 600 (CN)
***********************
思而科软件有限公司
WeChat Pay for Magento 2
User Guide
2018/8/8
目录Content
1. 安装Installation (2)
2. 模块设置Module Setting (2)
3. 商户申请How to Apply (4)
4. 插件特点Extension Features (4)
5. 联系我们Contact Us (6)
1. 安装Installation
1) 下载插件压缩包
Download the zip folder of the extension
2) 在MAGENTO_ROOT > app > code路径下,创建Silksoftwarecorp文件夹
Create a folder named SilksoftwareCorp under the route of MAGENTO_ROOT > app > code
3) 上传压缩包并解压至MAGENTO_ROOT > app > code > Silksoftwarecorp
Upload and extract the zip folder to the route of MAGENTO_ROOT > app > code > Silksoftwarecorp
4) 在执行以下命令前,请备份数据库
Remember to backup your database, then execute the following commands:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
2. 模块设置Module Setting
Admin > Stores > Configuration > Sales > Payment Methods
Enabled: 选择“YES”以启用支付方式
Select ‘Yes’ to enable the payment method
Title: 为支付方式设置在前台显示的名称
Set the title for the payment method to be displayed in the frontend
APP ID: 填写微信支付分配的公众账号ID
Enter the APP ID that is assigned by WeChat Pay
Merchant ID: 填写微信支付分配的商户号
Enter the Merchant ID that is assigned by WeChat Pay
Private Key: 填写商户支付密钥
Enter the private key of the merchant
APP SECRET: 公众帐号SECRET,仅JSAPI支付的时候需要配置 (登录公众平台,进入开发者中心可设置)
It’s WeChat Official Account SECRET, only necessary if JSAPI payment mode is applied. (Login to the WeChat Official Account Platform and select developer center to configure)
Sign Type: 选择签名和验证签名方式,支持MD5和SHA256方式
Select the sign and authentication type, there are MD5 and SHA256 type
Apiclient Cert Path: 证书路径,注意应该填写绝对路径(仅退款、撤销订单时需要,可登录商户平台下载) The certification path, please enter the absolute path (only need for refund, withdraw orders, it could be downloaded after log in to merchant platform)
Apiclient Key Path: Key路径,注意应该填写绝对路径(仅退款、撤销订单时需要,可登录商户平台下载) The key path, please enter the absolute path (only need for refund, withdraw orders, it could be downloaded after log in to merchant platform)
Instructions: 您可以在此添加与该支付方式相关的任何信息以在前台显示
You can add information related to the payment method here to be shown in the frontend.
Sort Order: 输入支付方式的显示顺序
Enter the desired Sort Order for the payment method display.
Logo: 上传自定义的支付方式logo
Upload a custom payment method logo here.
3. 商户申请How to Apply
1) 申请公众号
Apply for a WeChat Official Account
前往公众平台注册公众号,选择帐号类型为服务号(政府或媒体订阅号),并完成微信认证。
Go to the WeChat Official Platform https:///to apply an official account, account type is service account (governmental or media subscription account).
2) 申请微信支付商户号
Apply for a WeChat Pay Merchant Account
提交资料申请微信支付,待资料审核通过后,前往商户平台完成账户验证。
Submit all the materials for WeChat Pay application, and go to WeChat platform to finish account verification after the approval of your submission.
3) 在线签署协议
Sign the online agreement
在线完成协议签署,即开启资金结算功能,启动设计和开发。
Once the agreement is signed, the payment function is enabled, and the relevant design and development could be started.
4. 插件特点 Extension Features
1) WeChat Native Pay:
在PC电脑端,客户选择WeChat Pay后,将会生成一个用于支付的二维码。
客户通过手机中的WeChat App扫描二维码进行支付。
After customers select WeChat Pay from desktop in the browser, there will be a QR code to pay. Customers just need open their WeChat App on the phone to scan the QR code to complete the payment.
2) WeChat H5 Pay
客户使用手机浏览器访问网站,选择WeChat Pay支付后,会尝试唤醒手机中的WeChat App进行支付。
If customers open the site via mobile browser on the phone, and they select WeChat Pay, it will be automatically activated in the WeChat App to pay.
3) WeChat JSAPI Pay
客户在WeChat App中访问网站,选择WeChat Pay支付后,会唤醒手机中的WeChat App进行支付。
If customers visit the site via WeChat App, once WeChat Pay is selected,it will be automatically activated in the WeChat App to pay.
***********************
4) 支持后台在线退款
It supports refund directly from Magento backend.
5. 联系我们Contact Us
如果对插件有任何疑问,请随时联系我们:
If there’s any question on the extension, please feel free to contact us:
联系电话Tel: 949 748 3700 (US)
400 6265 600 (CN)
联系邮箱Email: ***********************
中国官网China Site: 。