ekyna / payum-payzen
Payum PayZen (Systempay, Scellius) gateway
Installs: 5 827
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 13
Open Issues: 1
Type:component
Requires
- php: ^7.1|^8.0
- payum/core: ^1.5
- psr/log: ^1.0|^2.0
- symfony/options-resolver: >3.4,<7.0
- symfony/process: >3.4,<7.0
Requires (Dev)
- php-http/guzzle6-adapter: ^2.0
- phpunit/phpunit: ^7.0|^8.0
README
PayZen Payum Gateway (Systempay, Scellius, CLIC&PAY, OSB, SOGE_COMMERCE)
Installation / Configuration
composer require ekyna/payum-payzen
use Ekyna\Component\Payum\Payzen\Api\Api; use Ekyna\Component\Payum\Payzen\PayzenGatewayFactory; $factory = new PayzenGatewayFactory(); $gateway = $factory->create([ 'site_id' => '132456', 'certificate' => '132456', 'ctx_mode' => Api::MODE_PRODUCTION, 'hash_mode' => Api::HASH_MODE_SHA256, 'directory' => __DIR__ . '/payzen-cache', 'endpoint' => Api::ENDPOINT_SYSTEMPAY, // default value, see `Api::ENDPOINT_*` constants for more 'endpoint_url' => // null default value, add custom endpoint not in `Api::ENDPOINT_*` constants ]); // Register your convert payment action // $gateway->addAction(new \Acme\ConvertPaymentAction());