samvdb / payum-paynl
The Payum extension for PayNL
Installs: 669
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/samvdb/payum-paynl
Requires
- paynl/sdk: ^1.5
- payum/core: ^1.5
Requires (Dev)
- payum/core: ^1.5@dev
- php-http/guzzle6-adapter: ^1.0
- phpunit/phpunit: ^5.7
This package is not auto-updated.
Last update: 2025-10-26 11:23:38 UTC
README
The Payum PayNL extension
- Require extension
$ composer require samvdb/payum-paynl
<?php use Payum\Core\PayumBuilder; use Payum\Core\GatewayFactoryInterface; $defaultConfig = []; $payum = (new PayumBuilder) ->addGatewayFactory('paynl', function(array $config, GatewayFactoryInterface $coreGatewayFactory) { return new \Payum\Paynl\PaynlGatewayFactory($config, $coreGatewayFactory); }) ->addGateway('paynl', [ 'factory' => 'paynl', 'sandbox' => true, 'token' => '', 'service_id' => '' ]) ->getPayum() ;
- While using the gateway implement all method where you get
Not implementedexception:
<?php use Payum\Core\Request\Capture; $paynl = $payum->getGateway('paynl'); $model = new \ArrayObject([ // ... ]); $paynl->execute(new Capture($model));
License
Released under the MIT License.