PHPackages                             yproximite/payum-system-pay - 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. yproximite/payum-system-pay

ActiveLibrary[Payment Processing](/categories/payments)

yproximite/payum-system-pay
===========================

SP Plus gateway for Payum

v2.1.1(3y ago)56.5k↑50%2[4 issues](https://github.com/Yproximite/payum-system-pay/issues)[2 PRs](https://github.com/Yproximite/payum-system-pay/pulls)MITPHP

Since Feb 8Pushed 3y ago11 watchersCompare

[ Source](https://github.com/Yproximite/payum-system-pay)[ Packagist](https://packagist.org/packages/yproximite/payum-system-pay)[ RSS](/packages/yproximite-payum-system-pay/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (7)Versions (15)Used By (0)

Payum System Pay
================

[](#payum-system-pay)

> A Payum gateway to use [SystemPay](https://paiement.systempay.fr) (a French payment system)

[![Latest Stable Version](https://camo.githubusercontent.com/c9c1b3b20fed6e1907377d989f339d4c6e5c224493e1f3f178bf54deec7aba4d/68747470733a2f2f706f7365722e707567782e6f72672f7970726f78696d6974652f706179756d2d73797374656d2d7061792f76657273696f6e)](https://packagist.org/packages/yproximite/payum-system-pay)[![Build Status](https://camo.githubusercontent.com/a994e0f25620513ba79b40a6eb3652c5cbeb25069787d98d208b1cdc0b05fba8/68747470733a2f2f7472617669732d63692e636f6d2f5970726f78696d6974652f706179756d2d73797374656d2d7061792e7376673f746f6b656e3d704e4273326f6152706678647968715766323868266272616e63683d6d6173746572)](https://travis-ci.com/Yproximite/payum-system-pay)

Requirements
------------

[](#requirements)

- PHP 7.2+
- [Payum](https://github.com/Payum/Payum)
- Optionally [PayumBundle](https://github.com/Payum/PayumBundle) and Symfony 3 or 4+

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

[](#installation)

```
$ composer require yproximite/payum-system-pay
```

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

[](#configuration)

### With PayumBundle (Symfony)

[](#with-payumbundle-symfony)

First register the gateway factory in your services definition:

```
# config/services.yaml or app/config/services.yml
services:
    yproximite.system_pay_gateway_factory:
        class: Payum\Core\Bridge\Symfony\Builder\GatewayFactoryBuilder
        arguments: [Yproximite\Payum\SystemPay\SystemPayGatewayFactory]
        tags:
            - { name: payum.gateway_factory_builder, factory: system_pay }
```

Then configure the gateway:

```
# config/packages/payum.yaml or app/config/config.yml

payum:
  gateways:
    system_pay:
      factory: system_pay
      vads_site_id: 'change it' # required
      certif_prod: 'change it' # required
      certif_test: 'change it' # required
      sandbox: true
      hash_algorithm: 'algo-sha1' # or 'algo-hmac-sha256'
```

### With Payum

[](#with-payum)

```
