zipmoney / magento2
适用于 Magento 2 的 Zip 支付模块
1.1.2
2021-02-26 02:12 UTC
Requires
- zipmoney/merchantapi-php: ^1.0
- dev-master
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-fix/fixed-twisto-Singapore-api-key-validity-issue
- dev-release/release-1.1.2
- dev-hotfix/fixed-two-order-confirmation-issue
- dev-feature/error-message-loader-issue-global-zip-widget-issue
- dev-feature/support-smi
- dev-hotfix/fixed-issue-email-has-a-wrong-format
- dev-hotfix/product-image-url-issue-fixed
- dev-hotfix/remove-database-setup-dependence
- dev-hotfix/success-page-redirect-with-order-id
- dev-hotfix/config-fix
- dev-hotfix/multi-site-refund-country-validator
- dev-hotfix/checkout-js-error
- dev-develop
- dev-release/release-1.0.6
- dev-release/release-1.0.5
- dev-feature/release-1.0.5
- dev-feature/IN-1115-checkout-title
- dev-feature/remove_product_selector-IN-912
- dev-feature/IN-1103-uniform-field-name
- dev-hotfix/jira-961
- dev-orderState
This package is auto-updated.
Last update: 2022-10-26 06:13:53 UTC
README
更新模块
这个版本的 Zip 支付模块已被最新版本所取代,详见此处。
尽管如此,此版本仍将按预期工作,但更新版本具有改进并删除了一些不必要的依赖项
- M2 中的标准安装位置
- 支持部分捕获
- 全局计算器小部件
安装
请访问https://zip-magento2.api-docs.io/v1/integration-steps/2-download-zip-extension以获取更多信息
通过 SFTP 或文件上传安装
- 您需要从merchantapi-php和当前仓库下载代码
- 将当前仓库文件放入文件夹
/yourMagento2root/app/code/ZipMoney/ZipMoneyPayment/
- 将 merchantapi-php 文件放入
/yourMagento2root/lib/internal/merchantapi-php/
- 然后按照以下正常插件安装步骤进行,无需 composer require 命令
使用 Composer 安装
要通过 Composer 安装扩展,请运行
cd <your Magento install dir>
composer require zipmoney/magento2
php bin/magento module:status
(检查 ZipMoney_ZipMoneyPayment 模块是否禁用)php bin/magento module:enable ZipMoney_ZipMoneyPayment
(如果禁用,则启用插件)php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy en_AU en_US
(指定您的网站区域,或留空以使用所有区域)
升级现有模块
composer update zipmoney/magento2
php bin/magento setup:di:compile
php bin/magento c:c
php bin/magento setup:static-content:deploy en_AU en_US
使用 Magento 组件管理器安装
注意:此扩展尚未在 Magento 市场中提供。此部分将在扩展发布到市场后更新。
配置
支付部分
- 打开 Magento 管理员
- 在左侧菜单中单击 Stores 图标,然后选择 Settings > Configuration
- 配置页面将打开。在此屏幕左侧的小菜单中,您必须单击 Sales,然后在展开时选择 Payment Methods。
- 在支付方式页面,单击 Other Payment Methods 以展开。
- 将启用设置为 Yes,并为支付方式设置标题“zipMoney – 立即购买,稍后付款”或“zipPay – 立即购买,稍后付款”
- 输入私钥和公钥。
- 选择您的产品类型(zipPay 或 zipMoney)
- 将支付操作设置为捕获,或如果您想在结账完成时授权并在以后捕获,则选择授权
- 如果您想记录所有调试信息,请将日志设置设置为 Info 或 Debug。
- 设置环境为沙盒(用于您的测试或开发站点)或生产(用于您的直播网站)
- 将“上下文检查结账”设置为“是”以启用iframe结账
- 将“排序顺序”设置为0以将支付方式置于顶部。
营销横幅和小部件部分
- 向下滚动并展开营销横幅和小部件部分
- 展开一切,并根据您的需求将所有选项设置为是/否。
- 点击顶部“保存配置”