creditagricole / etransactions
Magento 2.3/2.4 的 Etransactions 支付模块
Requires
- php: ~7.4.0||~8.1.0||~8.2.0
README
Up2pay e-transactions by Credit Agricole 的 Magento 2 扩展支付解决方案
关于
通过一次集成,提供多种支付方式,享受个性化的安全支付页面,多语言和多货币支持,为客户提供货到付款或分期付款(无利息)的便利。
安装
-
请确保您已拥有网站的 Magento 认证密钥(http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html)
-
在命令行中进入 Magento2 根目录(
<your Magento install dir>
) -
执行以下命令以通过 Composer 获取模块文件(将在
vendor
子目录下创建一个名为creditagricole
的文件夹)。您需要使用Public key
作为用户名,使用Private key
作为密码。composer require creditagricole/etransactions
-
执行以下命令以安装、激活和部署模块
# Installation du module php bin/magento setup:upgrade # Nettoyage du cache php bin/magento cache:clean # Déploiement des ressources Front Office pour l'étape de paiement du tunnel de commande pour chaque langue du site (l'option <lang> est une liste séparée par des espaces de codes langue au format ISO-636, la liste est disponible en lançant la commande php bin/magento info:language:list) php bin/magento setup:static-content:deploy <lang> (exemple : fr_FR)
-
然后您可以通过菜单“商店 \ 配置”中的新选项卡“CreditAgricole”配置模块。正确输入您的身份信息(密码、HMAC 密钥)非常重要,否则可能会出现 500 错误。
配置
默认配置适用于 CreditAgricole 测试环境,其中所有支付方式均可用,所有卡均可激活,不会进行实际支付。
要在生产环境中使用该模块,您必须已与 CreditAgricole 签订合同,拥有您的身份信息,并根据合同配置选项、支付方式和卡片。
已知问题(已知问题)
版本 2.2.1, 2.2.2
在 BackOffice 中保存模块设置存在问题(账户设置):字段 password
和 hmacalgo
在每次保存时都会重新加密。
在 Magento 2.3.x(2.3-dev)中部分解决问题
提交 305bf94b7401065ea0aaf2c18af93ce7b8dfca15) 这些字段确实不再在保存时重新加密,但它们不再从配置文件(etc/config.xml)中读取。