wemake180/bagisto-wompi 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

wemake180/bagisto-wompi

Composer 安装命令:

composer require wemake180/bagisto-wompi

包简介

Wompi Payment Gateway integration for Bagisto E-commerce - Support for Colombia payments

README 文档

README

Latest Version License Bagisto

A comprehensive Wompi Payment Gateway integration for Bagisto e-commerce platform, specifically designed for Panama market with support for Clave and international credit/debit cards.

Features

  • 🇵🇦 Panama Market Focus: Full support for Wompi Panama payment methods
  • 💳 Multiple Payment Methods: Credit cards, debit cards, and Clave (Panama)
  • 🔐 Secure Transactions: 3D Secure authentication and SHA256 signatures
  • 📱 Widget Integration: Embedded and popup payment forms
  • 🔔 Real-time Webhooks: Automatic order status updates
  • 🌍 Multi-language: Spanish and English support
  • 📊 Transaction Tracking: Complete transaction history and status monitoring
  • Easy Configuration: Simple admin panel setup

Requirements

  • Bagisto: 2.x
  • PHP: 8.1 or higher
  • Laravel: 10.x or 11.x
  • Extensions: curl, json

Installation

Method 1: Manual Installation

  1. Copy the module to your Bagisto project:

    cp -r packages/Webkul/Wompi /your-bagisto-project/packages/Webkul/Wompi
  2. Register the module in config/concord.php:

    'modules' => [
        // ... other modules
        \Webkul\Wompi\Providers\WompiServiceProvider::class,
    ],
  3. Run migrations:

    php artisan migrate
    php artisan config:cache

Method 2: Composer Installation (Future)

composer require webkul/bagisto-wompi
php artisan migrate

Configuration

  1. Access Admin Panel → Sales → Payment Methods
  2. Enable Wompi payment method
  3. Configure credentials:
    • Sandbox Mode: Enable for testing
    • Public Key (Sandbox): Your sandbox public key
    • Private Key (Sandbox): Your sandbox private key
    • Public Key (Production): Your production public key
    • Private Key (Production): Your production private key

Wompi Dashboard Configuration

Configure these URLs in your Wompi dashboard:

  • Webhook URL: https://your-domain.com/wompi/webhook
  • Success URL: https://your-domain.com/wompi/success
  • Cancel URL: https://your-domain.com/wompi/cancel

Usage

  1. Customer selects Wompi as payment method during checkout
  2. Redirect to payment page with Wompi widget
  3. Customer completes payment using their preferred method
  4. Automatic webhook processing updates order status
  5. Customer redirected to success/cancel page based on result

Supported Payment Methods

  • Credit Cards: Visa, MasterCard
  • Debit Cards: Local and international
  • Clave: Panama's national payment system
  • 3D Secure: Enhanced security for card transactions

File Structure

packages/Webkul/Wompi/
├── src/
│   ├── Config/system.php           # Admin configuration
│   ├── Http/Controllers/           # Controllers
│   ├── Models/                     # Eloquent models  
│   ├── Payment/Wompi.php          # Main payment class
│   ├── Repositories/              # Data repositories
│   └── Resources/                 # Views and translations
├── composer.json                   # Package definition
└── README.md                      # Documentation

For New Projects

To use this module in another Bagisto project:

  1. Copy the entire folder:

    cp -r packages/Webkul/Wompi /new-project/packages/Webkul/Wompi
  2. Add to concord.php in the new project:

    \Webkul\Wompi\Providers\WompiServiceProvider::class,
  3. Run setup:

    cd /new-project
    php artisan migrate
    php artisan config:cache
  4. Configure in Admin Panel with your Wompi credentials

License

MIT License - see LICENSE file for details.

Ready to use in any Bagisto project!

wemake180/bagisto-wompi 适用场景与选型建议

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

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

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

围绕 wemake180/bagisto-wompi 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-28