basisbank / module-payment
Basisbank Payment模块,适用于Magento 2.1.x,2.2.x
This package is auto-updated.
Last update: 2022-07-24 13:43:31 UTC
README
Basisbank Payment - Magento 2安装指南。
1. 前提条件
在安装Basisbank_Payment模块之前,您应该设置一个测试环境,因为您需要将模块放在前端,这将需要一些时间来进行安装、配置和测试。如果您直接将此解决方案部署到您的生产服务器,您可能会遇到影响您正常业务的问题。
为了使模块正常工作,您需要启用以下cron作业:(如果您的magento主cron作业已经启用,请跳过此步骤)
- /usr/bin/php //www/bin/magento cron:run > /dev/null 2>&1
- /usr/bin/php //www/update/cron.php > /dev/null 2>&1
- /usr/bin/php //www/bin/magento setup:cron:run > /dev/null 2>&1
2 安装(从zip文件)
- 在您的桌面上解压缩模块。
- 以Magento文件系统所有者的身份登录到您的Magento商店服务器,并导航到Magento主目录。
- 创建一个目录
<path_to_magento_store>/app/code/Basisbank/Payment/
并切换到新目录。 - 将所有模块文件移动到
<path_to_magento_store>/app/code/Basisbank/Payment/
。 - 在此阶段,您可以使用以下方法之一进行安装:5.1. Web Setup Wizard的组件管理器(仅限Magento 2.0.x版本,2.1.x版本使用命令行)5.1.1. 在Web Setup Wizard中安装。打开浏览器并登录到Magento
admin section with administrative privileges.
5.1.2. 导航到'System > Web Setup Wizard'。5.1.3. 点击'Component Manager',向下滚动并找到'Basisbank_Payment'。点击启用操作。5.1.4. 按屏幕上的说明操作,确保创建备份。
5.2. 命令行
5.2.1. To enable the module on the command line change directory to the Magento
Home directory. Ensure you are logged in as the Magento filesystem owner.
5.2.2. Verify that 'Basisbank_Payment' is listed and shows as disabled: `php bin/magento module:status`.
5.2.3. Enable the module with: `php bin/magento module:enable Basisbank_Payment`.
5.2.4. Then we need to ensure the configuration tasks are run: `php bin/magento setup:upgrade`.
5.2.5. After setup upgrade, run compile command: `php bin/magento setup:di:compile`.
5.2.6. Finally on the command line to clear Magento's cache run: `php bin/magento cache:clean`.
完成此操作后,登录到Magento管理面板并继续配置模块
3. 模块配置
2.1. 登录到Magento后台。2.2. 导航到 Stores > Configuration > Sales -> Payment Methods > Basisbank Payment。2.3. 配置所有字段并点击"Save Config"按钮。
重要提示:在Basisbank模块的初始安装过程中,要显示“页面应使用哪些类型的通道?”字段中的贷款类型,您必须输入“公司ID”、“零售商ID”,然后点击“Save Config”按钮。然后贷款类型将显示在字段中。您可以选择类型并使用“Save Config”按钮进行保存。重要提示:您可以从Laanlet门户(见第3.2点)获取共享密钥。重要提示:“PriceTag Stylesheet”字段 - 必须以html标签开头
4. Laanlet门户配置
3.1. 登录到Laanlet门户。3.2. 获取共享密钥 - 导航到"Setup" -> "Webshop admin"部分。3.3. 导航到"Setup" -> "Webshop admin"部分并输入接受URL、拒绝URL和手动URL:接受URL:https:///basisbank_payment/checkout/redirect/ 拒绝URL:https:///basisbank_payment/checkout/redirect/ 手动URL:https:///basisbank_payment/checkout/redirect/
重要提示:用您的域名替换。