将 Omnipay 与 Aimeos 电子商务集成

Integrate Omnipay with Aimeos E-commerce

我正在使用 Aimeos 电子商务套餐,我想使用信用卡进行购物的综合支付。我想使用 omnipay。我需要的 composer.json 数组如下:

"require": {
"php": "^7.2",
"aimeos/aimeos-laravel": "~2019.10",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.0",
"laravel/tinker": "^1.0",
"laravel/ui": "^1.2",
"aimeos/ai-payments": "dev-master",
"league/omnipay": "3",
"omnipay/paypal": "^3.0"
},

当我在 CMD 中执行 [ composer require omnipay/common:^3 ] 时,给 ma 这个错误:

Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: aimeos/aimeos-core[dev-master, 2019.10.17].
- Can only install one of: aimeos/aimeos-core[dev-master, 2019.10.17].
- Can only install one of: aimeos/aimeos-core[dev-master, 2019.10.17].
- aimeos/ai-payments dev-master requires aimeos/aimeos-core dev-master -> satisfiable >by aimeos/aimeos-core[dev-master].
 -Installation request for aimeos/ai-payments dev-master -> satisfiable by aimeos/ai->payments[dev-master].
 -Installation request for aimeos/aimeos-core (locked at 2019.10.17) -> satisfiable  by aimeos/aimeos-core[2019.10.17].
  Installation failed, reverting ./composer.json to its original content.

但是服务页面[支付选项]上没有任何显示,甚至是 paypal。如何启用信用卡支付。

错误信息很清楚:你想为包 aimeos/ai-payments 使用分支 dev-master,这需要 aimeos/aimeos-core 的分支 dev-master。此外,你想为包 aimeos/aimeos-laravel 使用 stable 分支,这也需要为包 [=] 使用 stable 分支13=]。

只要您没有明确需要不稳定的分支,您应该简单地使用与 aimeos/ai-payments

相同的版本要求 ~2019.10