weareplanet / shopware-6
WeArePlanet 为 Shopware 6 的集成
6.1.8
2024-09-16 15:46 UTC
Requires
- php: >=8.2
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Conflicts
- shopware/administration: <6.6.0.0,>=7
- shopware/storefront: <6.6.0.0,>=7
README
WeArePlanet 支付插件围绕 WeArePlanet API 展开。这个库便于您与各种服务(如交易)交互。请注意,此插件适用于 6.5 和 6.6 版本。有关 6.4 插件,请访问我们的 Shopware 6.4 插件。
要求
- Shopware 6.5.x 或 Shopware 6.6.x。请参见下表。
- 每个商店版本支持的 PHP 最低版本。
支持版本
安装
您可以使用 Composer 或 手动安装
Composer
首选方法是通过 composer。如果您尚未安装 composer,请按照安装说明进行操作。
一旦安装了 composer,请在您的项目根目录中执行以下命令以安装此库
composer require weareplanet/shopware-6 php bin/console plugin:refresh php bin/console plugin:install --activate --clearCache WeArePlanetPayment
通过 composer 更新
composer update weareplanet/shopware-6 php bin/console plugin:refresh php bin/console plugin:install --activate --clearCache WeArePlanetPayment
手动安装
或者,您可以下载整个包。在发布页面列出了所有稳定版本。
解压您下载的 zip 文件,并将自动加载器包含到您的项目中
# unzip to ShopwareInstallDir/custom/plugins/WeArePlanetPayment
composer require weareplanet/sdk 4.6.0
php bin/console plugin:refresh
php bin/console plugin:install --activate --clearCache WeArePlanetPayment
使用方法
该库需要配置您账户的空间 ID、用户 ID 和应用程序密钥,这些可以在您的 WeArePlanet 账户仪表板中找到。
日志和调试
要查看日志,请运行以下命令
cd shopware/install/dir tail -f var/log/weareplanet_payment*.log
文档
许可证
请参阅许可证文件获取更多信息。