定制 reservepay/reservepay-magento 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Download the module with Composer Use Composer to add the module into your store: composer require reservepay/reservepay-magento

  2. 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

  1. Log in to the Magento Admin Panel.
  2. Navigate to Stores > Configuration > Sales > Payment Methods.
  3. Expand the Reservepay section.
  4. 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.
  5. 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/paymentsuccess and reservepay/payment/paymentfail controllers.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2026-07-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固