ReferencePayment PartnersKlarnaKlarnaKlarna was founded in 2005 in Stockholm, Sweden with the aim of making it easier for people to shop online. In the last 17 years, technology has evolved, excited and transformed the world around us, yet our mission remains as relevant as ever, to make paying as simple, safe and above all, smoooth as possible. Klarna is the leading global payments and shopping service, providing smarter and more flexible shopping and purchase experiences to 150 million active consumers across more than 450,000 merchants in 45 countries. Klarna offers direct payments, pay after delivery options and instalment plans in a smooth one-click purchase experience that lets consumers pay when and how they prefer to. When the company acquired SOFORT in 2014 the Klarna Group was formed. Klarna is backed by investors such as Sequoia Capital, Silver Lake, Bestseller Group, Dragoneer, Permira, Visa, Ant Group and Atomico.Source: https://www.klarna.com/international/about-us/ Features Integration type Pop-in (redirection in overlay) Tokenization Yes Payment Flow 1-step payment flow : Capture 2-step payment flow : Authorization + Capture 3-step payment flow : Pending Authorization + Authorization + Capture Additional featuresInformation request and CITMITServer-to-server How to test?infoAll tests behaviours are directly available within the payment page redirected to. Data Mapping & Mandatory FieldsBelow is the mapping between your Create Session request and the fields expected by this payment method.Purse Session fieldMandatoryamountNoorder.redirectionYesorder.referenceNoorder.amountYesorder.tax_amountNoorder.currency_codeYescustomer.typeNocustomer.company_nameNocustomer.gender_codeNocustomer.birthdateNocustomer.billing_address.first_nameNocustomer.billing_address.last_nameNocustomer.billing_address.address_linesNocustomer.billing_address.cityNocustomer.billing_address.postal_codeNocustomer.billing_address.country_codeYescustomer.billing_address.province_codeNocustomer.billing_address.emailNocustomer.billing_address.phoneNocustomer.billing_address.mobile_phoneNocustomer.billing_address.work_phoneNoshipments.shipping_address.first_nameNoshipments.shipping_address.last_nameNoshipments.shipping_address.address_linesNoshipments.shipping_address.cityNoshipments.shipping_address.postal_codeNoshipments.shipping_address.country_codeNoshipments.shipping_address.province_codeNoshipments.shipping_address.emailNoshipments.shipping_address.phoneNoshipments.shipping_address.mobile_phoneNoshipments.shipping_address.work_phoneNoshipments.item_lines.nameYesshipments.item_lines.priceYesshipments.item_lines.quantityYesshipments.item_lines.amountYesshipments.item_lines.tax_lines.rateNoshipments.item_lines.tax_lines.amountNo Payment LabelsLabelMethodPayment typeklarnainstallmentsprimary (payment by installments)ActionsWidget/Front actionsOther actionsActionMandatory fieldsOptional fieldsINIT--APPLY--StatusPSP statusStateCodeDescriptionSUCCESSSUCCESSSUCCEEDEDSuccessful requestCOMPLETEDSUCCESSSUCCEEDEDConsumer has successfully gotten an Authorization from the Payment system on updated_at. The Authorization Token is contained in the authorization_token field in a Klarna Payments integration.CREATESUCCESSSUCCEEDEDCreate requestBACKWAITINGSUCCEEDEDConsumer has pressed the Back button on updated_at. Session is still open for them to retry.IN_PROGRESSWAITINGSUCCEEDEDConsumer has entered the Payment Page on update_atWAITINGWAITINGSUCCEEDEDSession is created and consumer has not entered the Payment Page yetBAD_REQUESTERRORFAILEDBad format: parameterBAD_VALUEERRORFAILEDBad value: parameterCANCEL_NOT_ALLOWEDERRORFAILEDCancel not possibleCANCELLEDERRORFAILEDConsumer has cancelled the HPP Session on updated_at. This cancellation is definitive.CAPTURE_NOT_ALLOWEDERRORFAILEDCapture not possibleDISABLEDERRORFAILEDSession was disabled by an API call, on the merchant’s initiative, on updated_at.ERRORERRORFAILEDConsumer has encountered an error while paying on updated_at. Session is still open for them to retry.FAILEDERRORFAILEDConsumer has been declined for the Payment on updated_at. Session is still open for them to retry.NO_SUCH_CAPTUREERRORBAD_REQUESTCapture cannot be foundNO_SUCH_ORDERERRORBAD_REQUESTOrder cannot be foundNOT_ALLOWEDERRORFAILEDUnauthorized tokenNOT_FOUNDERRORBAD_REQUESTInvalid authorization tokenREFUND_NOT_ALLOWEDERRORFAILEDRefund not possibleTOKEN_NOT_FOUNDERRORBAD_REQUESTCustomer token not foundUNPROCESSABLE_ENTITYERRORFAILEDUnprocessable requestUNKNOWN_RESPONSEERRORFAILEDPartner unknown