PHPackages                             wemake180/bagisto-wompi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. wemake180/bagisto-wompi

ActiveBagisto-package[Payment Processing](/categories/payments)

wemake180/bagisto-wompi
=======================

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

v1.0.1(8mo ago)06MITPHPPHP ^8.2|^8.3CI passing

Since Aug 28Pushed 8mo agoCompare

[ Source](https://github.com/Wemake180-dev/bagisto-wompi-panama)[ Packagist](https://packagist.org/packages/wemake180/bagisto-wompi)[ Docs](https://github.com/Wemake180-dev/bagisto-wompi)[ RSS](/packages/wemake180-bagisto-wompi/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Bagisto Wompi Payment Gateway
=============================

[](#bagisto-wompi-payment-gateway)

[![Latest Version](https://camo.githubusercontent.com/34e695c6016bc2a934a96bed696e29b2f2ab562a7134d65a55d00653cd506bea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d626c75652e737667)](https://github.com/webkul/bagisto-wompi)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)[![Bagisto](https://camo.githubusercontent.com/64e74ae4776a6962c0aa19df8d01c5e88153b5c662c21fa5baa95fae97b330f3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6261676973746f2d322e782d6f72616e67652e737667)](https://bagisto.com)

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

[](#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
------------

[](#requirements)

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

Installation
------------

[](#installation)

### Method 1: Manual 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)

[](#method-2-composer-installation-future)

```
composer require webkul/bagisto-wompi
php artisan migrate
```

Configuration
-------------

[](#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

[](#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
-----

[](#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
-------------------------

[](#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
--------------

[](#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
----------------

[](#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
-------

[](#license)

MIT License - see LICENSE file for details.

---

**Ready to use in any Bagisto project!**

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance60

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

255d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e45998467e4501d71373a5d0ee06713bbe0822e6e92fa021bd4484de51c9545b?d=identicon)[Richacosta06](/maintainers/Richacosta06)

---

Top Contributors

[![Richacosta06](https://avatars.githubusercontent.com/u/34117033?v=4)](https://github.com/Richacosta06 "Richacosta06 (5 commits)")

---

Tags

laravelpaymentgatewaye-commercebagistonequiWompicolombiapse

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wemake180-bagisto-wompi/health.svg)

```
[![Health](https://phpackages.com/badges/wemake180-bagisto-wompi/health.svg)](https://phpackages.com/packages/wemake180-bagisto-wompi)
```

###  Alternatives

[evryn/laravel-toman

A simple stable Laravel package to handle popular payment gateways in Iran including ZarinPal and IDPay.

1079.9k](/packages/evryn-laravel-toman)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[tsaiyihua/laravel-linepay

linepay library for laravel

102.9k](/packages/tsaiyihua-laravel-linepay)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
