承接 robbinc91/botble-redsys 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

robbinc91/botble-redsys

Composer 安装命令:

composer require robbinc91/botble-redsys

包简介

Redsys Payment Gateway for Botble CMS

README 文档

README

Redsys (Servired / Sermepa) payment gateway integration for Botble CMS.

Package metadata

Field Value
Composer package robbinc91/botble-redsys
Homepage / source github.com/robbinc91/botble-redsys
Plugin ID (plugin.json) robbinc91/botble-redsys
PHP namespace Botble\Redsys\
Author Robin Cabeza Ruiz
License MIT

Features

  • Redsys as a checkout payment method (with Botble payment plugin).
  • Redsys settings under Admin → Payments.
  • Signed notification handling and optional OK-return verification.
  • Successful payments fire Botble’s PAYMENT_ACTION_PAYMENT_PROCESSED hook.
  • Idempotent processing to reduce duplicate payment rows.

Requirements

  • PHP >= 8.2.11 (see composer.json).
  • Botble with botble/payment plugin installed and active.
  • HTTPS on production for callback URLs.
  • Redsys notification URL must be reachable from Redsys servers.

Dependencies

  • botble/payment — required Botble plugin (plugin.json).
  • ssheduardo/redsys-laravel ~1.5.0 — Redsys Laravel SDK (composer.json).

Composer vs vendor/robbinc91

If you only copy this plugin into platform/plugins/redsys and run composer update at the project root, Composer installs merged dependencies (e.g. ssheduardo/redsys-laravel) into vendor/. It does not necessarily create vendor/robbinc91/botble-redsys unless the root app composer requires robbinc91/botble-redsys. That layout is normal for Botble plugins deployed as files under platform/plugins/.

Option A (merge-plugin): SDK is declared in this plugin’s composer.json and resolved into the app’s root vendor/ after composer update.

Installation

Method A — Copy into Botble (most common)

  1. Put the plugin folder here (folder name redsys):

    platform/plugins/redsys

  2. From the project root:

    composer update
  3. Activate using the directory name under platform/plugins (here redsys). Botble’s CLI strips any vendor/ prefix but still resolves the folder — cms:plugin:activate botble-redsys would not match if your folder is redsys.

    php artisan cms:plugin:activate redsys

    Or use Admin → Plugins.

Method B — Install as Composer package (optional)

If the package is on Packagist or a VCS repository configured in the root composer.json:

composer require robbinc91/botble-redsys:^1.0

You still need the plugin discovered by Botble under platform/plugins/redsys (copy, symlink, or your deployment strategy). Botble scans direct children of platform/plugins, not arbitrary nested vendor paths.

Configuration

Admin → Payments — enable Redsys and set:

  • Merchant code (FUC)
  • Terminal
  • SHA-256 secret key
  • Environment: test or live
  • Trade name

HTTP routes

Method Path Name
GET /payment/redsys/checkout payments.redsys.checkout
POST /payment/redsys/notification payments.redsys.notification
GET /payment/redsys/ok payments.redsys.ok
GET /payment/redsys/ko payments.redsys.ko

Configure Redsys backoffice (example):

  • Notification: https://your-domain.com/payment/redsys/notification
  • OK: https://your-domain.com/payment/redsys/ok
  • KO: https://your-domain.com/payment/redsys/ko

CSRF

Exclude the notification route from CSRF verification (Redsys server POST has no Laravel token):

  • Path prefix / URI: payment/redsys/notification

(Typically in app/Http/Middleware/VerifyCsrfToken.php $except.)

Integration behaviour

  • Notification (POST …/notification) is the primary authoritative confirmation.
  • OK return can assist when session/callback ordering differs; signatures are verified when Redsys sends parameters.
  • Hotel/booking flows that listen for PAYMENT_ACTION_PAYMENT_PROCESSED behave like other gateways (e.g. Stripe) once this hook runs.

Verify installation

php artisan route:list --name=payments.redsys

Expect four routes named payments.redsys.*.

Then: test mode checkout → confirm notification → confirm payment and order/booking linkage → switch to live credentials.

Translations

Language files live under resources/lang/{locale}/redsys.php (e.g. en, es).

robbinc91/botble-redsys 适用场景与选型建议

robbinc91/botble-redsys 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 08 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「redsys」 「payment-gateway」 「botble」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 robbinc91/botble-redsys 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 robbinc91/botble-redsys 我们能提供哪些服务?
定制开发 / 二次开发

基于 robbinc91/botble-redsys 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-08