peachpayments/magento2-plugin-v2
Composer 安装命令:
composer require peachpayments/magento2-plugin-v2
包简介
PeachPayments Hosted Magento 2 module, all-in-one payment solution for emerging African markets.
README 文档
README
Module Overview
The PeachPayments_Hosted module is an all-in-one payment solution for Magento 2, specifically designed for emerging African markets. It provides a secure and seamless integration with Peach Payments, supporting various payment flows including Hosted Payments, and Recurring Payments (Subscriptions).
Key Features
- Multiple Payment Flows: Supports Hosted Payments integration method.
- Recurring Payments: Full support for subscriptions and standing instructions.
- Vault Support: Securely save customer payment methods for faster checkout.
- Webhooks: Real-time transaction status updates and automated order processing.
- Direct Buy Buttons: "Pay With Peach" shortcuts on Product Detail Pages (PDP) and Category Pages (PLP).
- Refund Support: Process refunds directly from the Magento Admin.
- Issue Reporting: Built-in tool for merchants to report issues directly to Peach Payments support.
- Robust Logging: Comprehensive logging to both files and database for easy troubleshooting.
System Requirements
- PHP: ^8.3 || ^8.4
- Magento: >=2.4.8 (Framework ^103.0)
Installation
Manual Installation
- Create the following directory structure in your Magento root:
mkdir -p app/code/PeachPayments/Hosted - Copy the contents of this repository into
app/code/PeachPayments/Hosted.
Composer Installation
Run the following command in your Magento root:
composer require peachpayments/magento2-plugin-v2
Finalizing Installation
After installing the files, run the following Magento CLI commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
Conflict Notice
This module (peachpayments/magento2-plugin-v2) conflicts with the legacy peachpayments/magento2-plugin. Ensure the legacy plugin is removed before installing this version to prevent system errors.
Admin Configuration
Log in to the Magento Admin and navigate to:
Stores > Configuration > Sales > Payment Methods > Peach Payments - Hosted
Here you can configure:
- Operation Mode (Sandbox/Live)
- API Credentials (Entity ID, Client ID, Secret Token, etc.)
- Recurring Payment settings
- Checkout appearance (Title, Description, Logos)
- PDP/PLP Shortcut buttons
Cron Jobs
The module utilizes the following cron jobs (configured in the default group):
| Job Name | Schedule | Purpose |
|---|---|---|
peach_payments_clean_database_logs_cronjob | 0 3 * * * | Cleans up old payment logs from the database. |
peach_payments_process_webhook_cronjob | */5 * * * * | Processes pending webhooks from Peach Payments. |
peach_payments_send_issue_report_cronjob | */5 * * * * | Sends queued issue reports to support. |
Logging
Logs are recorded in two ways:
- System Logs: Standard Magento logging (usually found in
var/log/system.log). - Database Logs: Transaction-specific logs stored in the
peach_payment_logtable. These can be managed and viewed via the database or cleared automatically by the cleanup cron job.
Compatability matrix
| Magento | Peach Payments module | ParadoxLabs Subscription module |
|---|---|---|
| 2.4.8 | Version: 2.0.0 | Version: 3.7.0 |
| 2.4.8 | Version: 2.0.1 | Version: 3.7.0 |
| 2.4.8 | Version: 2.0.2 | Version: 3.7.0 |
| 2.4.8 | Version: 2.0.3 | Version: 3.7.0 |
peachpayments/magento2-plugin-v2 适用场景与选型建议
peachpayments/magento2-plugin-v2 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 303 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 peachpayments/magento2-plugin-v2 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 peachpayments/magento2-plugin-v2 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 303
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 31
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2026-05-04