justlease/payum-ems-bundle

Symfony bundle for justlease/payum-ems

Installs: 18 619

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

2.0.1 2023-04-20 13:42 UTC

This package is auto-updated.

Last update: 2024-12-20 17:27:45 UTC


README

This bundle compliments justlease/payum-ems by making it easy to add to your Symfony project.

Installation

$ composer require justlease/payum-ems-bundle

Usage

Add PayumEmsBundle to your AppKernel.php:

<?php

$bundles = [
    // ...
    new Payum\Bundle\PayumBundle\PayumBundle(),
    new Justlease\PayumEmsBundle\PayumEmsBundle(),
    // ...
];

Now you can configure your gateway through YAML:

payum:
    gateways:
        ems_offsite:
            factory: ems_offsite
            store_name: '123456789'
            shared_secret: 'mysharedsecret'
            sandbox: true

For more configuration options, please refer to justlease/payum-ems.