$ composer require ekyna/payum-payzen-bundle
Add the bundle to the kernel:
// app/Kernel.php
public function registerBundles()
{
$bundles = [
// ...
new \Ekyna\Bundle\PayumPayzenBundle\EkynaPayumPayzenBundle(),
];
// ...
}
Declare the Payzen gateway:
# app/config/config.yml
payum:
gateways:
...
payzen:
factory: payzen
Configure the API parameters:
# app/config/config.yml
ekyna_payum_payzen:
api:
ctx_mode: 'PRODUCTION'
site_id: '1324567890'
certificate: '1234567890'
endpoint: SCELLIUS
# Optional
hash_mode: 'SHA256'
directory: '%kernel.project_dir%/var/payzen'
debug: true
How can I help you explore Laravel packages today?