stancer/cms-magento
Composer 安装命令:
composer require stancer/cms-magento
包简介
Stancer Magento module
README 文档
README
This official module allows you to accept credit card payments via the Stancer platform directly on Magento 2.x.
Requirements
Minimal versions
| Magento version | PHP Version |
|---|---|
| 2.x | 7.4 or greater |
API keys
In order to configure the Magento 2 module, you need Stancer API keys. You can find your keys in the Developers
tab on your Stancer account.
When creating your account, a private and public key is automatically generated for test mode. Live mode keys will be created after account validation.
Supported payment method
The module allows you to make payments by credit card.
Payments are 3D Secure compatible. The amount from which 3D Secure is triggered can be configured from the module in the Magento Admin panel.
Install
Creating an account in the Magento Marketplace is not typically required when manually installing extensions, as manual installation does not involve Magento Marketplace authentication keys.
However, if you are using the Magento 2 Marketplace to download extensions, you might need to set up your authentication keys. Here's how you can do it.
Magento Marketplace
The recommended way of installing is through Magento Marketplace, where you can find The Official Stancer Payment Module.
Manual installation and configure
1. Backup Your Website
Before starting, back up your website, including the database and files.
2. Download
Download the extension package to your local machine, host, or server.
3. Unzip the Extension
Navigate to the Magento 2 installation directory and extract the contents of the ZIP file
to the app/code/StancerIntegration/Payments directory.
4. Enable maintenance mode
Enable the maintenance mode by running the following command:
php bin/magento maintenance:enable
5. Update composer.json:
Open the composer.json file in your Magento root directory and add a reference to the extension you just uploaded.
You can do this by adding a repositories section to your composer.json file.
"repositories": [
{
"type": "path",
"url": "app/code/StancerIntegration/Payments"
}
]
6. Require the Extension:
In the command line, use Composer to require the extension. Run the following command:
composer require stancer/cms-magento
7. Enable the Extension:
After the installation, you need to enable the extension. Run the following commands:
php bin/magento module:enable StancerIntegration_Payments
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean
8. Deploy Static Content:
php bin/magento setup:static-content:deploy -f
9. Flush Cache:
Finally, flush the cache to ensure that your changes take effect:
php bin/magento cache:flush
10. Disable maintenance mode
php bin/magento maintenance:disable
11. Login to Magento 2 Admin panel.
Navigate to this page Stores -> Configuration -> Sales -> Payment Methods.
12. Configure the Stancer Payment module:
Expand Stancer configuration by clicking on
Configurebutton.Select
Environment(default: test)Enter your
PublicandPrivatekeys.Choose desired
Payment Flow.Config
3D Secureif you want to activate secure payments.Save Config.
API Library
This module is using the Stancer API Library for PHP.
License
MIT license.
For more information, see the LICENSE file.
stancer/cms-magento 适用场景与选型建议
stancer/cms-magento 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 18 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 08 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 stancer/cms-magento 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 stancer/cms-magento 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-23