dev-master
9999999-dev https://sourcefabric.orgThe Payum extension. It provides Mbe4 payment integration.
GPLv3
The Requires
- php ^7.1
- payum/core ^1.3
The Development Requires
payment phone payum bill mbe4
The Payum extension. It provides Mbe4 payment integration.
The Payum extension. It provides mbe4 payment integration., (*1)
This library requires PHP 7.1 or higher., (*2)
Install this extension as a Composer dependency by requiring it in a composer.json
file:, (*3)
composer require payhelper/payum-mbe4
Register the mbe4
Payum factory using PayumBuilder
:, (*4)
use Payum\Core\GatewayFactoryInterface; use PayHelper\Payum\Mbe4\Mbe4GatewayFactory; $payumBuilder->addGatewayFactory('mbe4', function(array $config, GatewayFactoryInterface $gatewayFactory) { return new Mbe4GatewayFactory($config, $gatewayFactory); }); $payumBuilder->addGateway('mbe4', [ 'factory' => 'mbe4', 'username' => 'username', // change this 'password' => 'password', // change this 'clientId' => 4321, // change this 'serviceId' => 1234, // change this 'contentclass' => 1, // change this, see mbe4 documentation below ]);
This extension supports only single payments, no subscriptions., (*5)
See mbe4
documentation., (*6)
In order to use that extension with the Symfony, you will need to install PayumBundle first and configure it according to its documentation., (*7)
composer require payum/payum-bundle ^2.0
mbe4
Gateway Factory as a service# app/config/services.yml services: app.payum.mbe4.factory: class: Payum\Core\Bridge\Symfony\Builder\GatewayFactoryBuilder arguments: [PayHelper\Payum\Mbe4\Mbe4GatewayFactory] tags: - { name: payum.gateway_factory_builder, factory: mbe4 }
# app/config/config.yml payum: gateways: mbe4: factory: mbe4 username: username # change this password: password # change this clientId: 4321 # change this serviceId: 1234 # change this contentclass: 1 # change this
Retrieve it from the payum
service:, (*8)
$gateway = $this->get('payum')->getGeteway('mbe4');
This library is licensed under the GNU GPLv3 license., (*9)
The Payum extension. It provides Mbe4 payment integration.
GPLv3
payment phone payum bill mbe4