PHPackages                             codeconjure/simplepay-payum - 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. codeconjure/simplepay-payum

ActiveLibrary[Payment Processing](/categories/payments)

codeconjure/simplepay-payum
===========================

OTP SimplePay v2 Payum gateway with Symfony bundle

00PHP

Since Apr 11Pushed 1mo agoCompare

[ Source](https://github.com/connorhu/simplepay-payum)[ Packagist](https://packagist.org/packages/codeconjure/simplepay-payum)[ RSS](/packages/codeconjure-simplepay-payum/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

codeconjure/simplepay-payum
===========================

[](#codeconjuresimplepay-payum)

OTP SimplePay v2 Payum gateway with Symfony bundle support.

Features
--------

[](#features)

- Payment initiation with GET redirect to SimplePay
- Return URL handling with HMAC signature verification
- IPN (Instant Payment Notification) handler
- Refund support
- Symfony bundle with PayumBundle auto-configuration

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

[](#installation)

```
composer require codeconjure/simplepay-payum
```

A PSR-18 HTTP client is required at runtime. Install one of:

```
composer require symfony/http-client nyholm/psr7
# or
composer require guzzlehttp/guzzle php-http/guzzle7-adapter
```

Configuration (Symfony + PayumBundle)
-------------------------------------

[](#configuration-symfony--payumbundle)

### Bundle registration

[](#bundle-registration)

If your application does not use Symfony Flex, register the bundle manually in `config/bundles.php`:

```
return [
    // ...
    CodeConjure\SimplePayPayum\Bundle\SimplePayBundle::class => ['all' => true],
];
```

```
# config/packages/payum.yaml
payum:
  gateways:
    simplepay:
      factory: simplepay
      merchant_id: '%env(SIMPLEPAY_MERCHANT_ID)%'
      secret_key: '%env(SIMPLEPAY_SECRET_KEY)%'
      sandbox: '%env(bool:SIMPLEPAY_SANDBOX)%'
```

```
SIMPLEPAY_MERCHANT_ID=MERCHANTID001
SIMPLEPAY_SECRET_KEY=FxDa5w314kLlNseq2sKuVwaqZshZT5d6
SIMPLEPAY_SANDBOX=true
```

Payment details
---------------

[](#payment-details)

Set the return and IPN URLs in the payment details before capture:

```
$payment->setDetails([
    'url' => [
        'success' => $captureUrl . '?simplepay_result=SUCCESS',
        'fail'    => $captureUrl . '?simplepay_result=FAIL',
        'cancel'  => $captureUrl . '?simplepay_result=CANCEL',
        'timeout' => $captureUrl . '?simplepay_result=TIMEOUT',
        'dn'      => $notifyUrl,
    ],
]);
```

Where `$captureUrl` is the Payum capture token URL and `$notifyUrl` is the Payum notify token URL.

Status mapping
--------------

[](#status-mapping)

SimplePay statusPayum status`COMPLETE`Captured`WAITING`, `IN_PAYMENT`Pending`CANCELLED`Canceled`TIMEOUT`Expired`REFUND`, `REFUND_PARTIAL`Refunded`FRAUD`, `CARD_DECLINED`, `ERROR`FailedLicense
-------

[](#license)

MIT

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance58

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1845575?v=4)[Connor](/maintainers/connorhu)[@connorhu](https://github.com/connorhu)

---

Top Contributors

[![connorhu](https://avatars.githubusercontent.com/u/1845575?v=4)](https://github.com/connorhu "connorhu (21 commits)")

### Embed Badge

![Health badge](/badges/codeconjure-simplepay-payum/health.svg)

```
[![Health](https://phpackages.com/badges/codeconjure-simplepay-payum/health.svg)](https://phpackages.com/packages/codeconjure-simplepay-payum)
```

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)[yenepay/php-sdk

YenePay SDK for PHP

112.7k](/packages/yenepay-php-sdk)

PHPackages © 2026

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