Klarna Invoice: Get Started
Installation
php composer.phar require payum/klarna-invoice php-http/guzzle7-adapterconfig.php
<?php
//config.php
use Payum\Core\PayumBuilder;
use Payum\Core\Payum;
/** @var Payum $payum */
$payum = (new PayumBuilder())
->addGateway('klarna', [
'factory' => 'klarna_invoice',
'eid' => 'EDIT IT',
'secret' => 'EDIT IT',
'country' => 'SE',
'language' => 'SV',
'currency' => 'SEK',
'sandbox' => true,
])
->getPayum()
;prepare.php
Supporting Payum
Last updated