title | description | last_updated | template | originalLink | originalArticleId | redirect_from | related | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Klarna - Invoice Pay in 14 days |
In this article, you will find invoice pay scenarios for the payment process with Klarna. |
Jun 16, 2021 |
concept-topic-template |
dcff76cb-ec18-41d9-bd2f-b0e1713e8508 |
|
|
The configuration to integrate Part payment using Klarna is:
SHARED_SECRET
: shared token.
EID
: the id of the merchant, received from Klarna.
TEST_MODE
: true
or false
.
KLARNA_INVOICE_MAIL_TYPE
: type for user notification. Possible values are:
KlarnaConstants::KLARNA_INVOICE_TYPE_MAIL
KlarnaConstants::KLARNA_INVOICE_TYPE_EMAIL
KlarnaConstants::KLARNA_INVOICE_TYPE_NOMAIL
KLARNA_PCLASS_STORE_TYPE
: pClasses storage type. Could be json
, xml
, sql
. Default type is json
.
KLARNA_PCLASS_STORE_URI
: URI for pClasses storage. Default APPLICATION_ROOT_DIR . '/data/DE/pclasses.json
'.
KLARNA_CHECKOUT_CONFIRMATION_URI
: checkout confirmation URI, default value $domain . '/checkout/klarna/success
'.
KLARNA_CHECKOUT_TERMS_URI
: checkout terms URI, default value $domain
.
KLARNA_CHECKOUT_PUSH_URI
: checkout push URI, default value $domain . '/checkout/klarna/push'
.
KLARNA_CHECKOUT_UR
I: checkout URI, default value $domain
.
KLARNA_PDF_URL_PATTERN
: pdf URL pattern, default value https://online.testdrive.klarna.com/invoices/%s.pdf
.
You can copy over configuration to your config from the Klarna modules config.dist.php
file.
In order to perform the needed requests, you can easily use the implemented Klarna State Machine Commands and Conditions. The next section gives a summary of them.