reservepay/reservepay-magento
Composer 安装命令:
composer require reservepay/reservepay-magento
包简介
Reservepay Payment Service for Magento 2
README 文档
README
This module integrates the Reservepay payment gateway into Magento 2. It allows customers to pay securely using Reservepay's hosted payment flow.
Features
- Redirect Payment Flow: Redirects customers to a secure payment form to complete their transaction.
- Automatic Invoicing: Automatically creates an invoice in Magento upon successful payment confirmation.
- Cart Restoration: Automatically restores the customer's shopping cart if the payment fails or is cancelled, allowing them to retry easily.
- Secure Validation: Uses encrypted cookies and API validation to ensure order integrity during the redirect process.
Requirements
- Magento 2.3.x or higher
- PHP 7.3 or higher, below PHP 8.0
- Valid Reservepay Merchant Credentials (Merchant ID, Installation ID, API Key)
Installation
-
Download the module with Composer Use Composer to add the module into your store:
composer require reservepay/reservepay-magento -
Enable the module Run the following commands in your Magento root directory:
bin/magento module:enable Reservepay_Payment bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy bin/magento cache:flush
Configuration
- Log in to the Magento Admin Panel.
- Navigate to Stores > Configuration > Sales > Payment Methods.
- Expand the Reservepay section.
- Configure the following settings:
- Enabled: Set to
Yes. - Title: The payment method title shown to customers (e.g., "Pay with Reservepay").
- Merchant ID: Enter your Reservepay Merchant ID.
- Installation ID: Enter your Reservepay Installation ID.
- API Key: Enter your secret API Key.
- Enabled: Set to
- Click Save Config.
Technical Details
- API Endpoints: The module communicates with
https://api.reservepay.com/to initiate payments and verify transaction status. - Security: Sensitive order data is validated using a secure, HTTP-only cookie (
payment_redirect_token) to prevent unauthorized access during the payment redirect loop. - Webhooks/Callbacks: The module handles payment success and failure via the
reservepay/payment/paymentsuccessandreservepay/payment/paymentfailcontrollers.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2026-07-13