Payment method not shown for Klarna purchases

Created on 2 April 2025, 3 days ago

Problem/Motivation

When customers pay by Klarna the payment method does not show against their order in /admin/commerce/orders, or in the receipt email. All other payment methods are showing as far as I am aware.

Steps to reproduce

  • Install the Commerce Stripe module
  • Ensure the Stripe account is configure to accept Klarna
  • Pay by Klarna
  • Visit /admin/commerce/orders - the payment method is not shown

I have had a look in the module code, and it seems that the payment method label should be the contents of the Stripe Klarna dob field. The client's website is not collecting dob for Klarna (I have asked them if they can switch it on). Is that all it will show in the label - just the value of that field and not "Klarna" anywhere?

🐛 Bug report
Status

Active

Version

1.0

Component

Payment Element

Created by

🇬🇧United Kingdom gillmead

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @gillmead
  • 🇬🇧United Kingdom gillmead

    Correction to the above. The dob is collected during the Klarna checkout process as it has to be for age verification. It is not, however, being recorded back into the commerce_payment_method__stripe_klarna_dob table.

Production build 0.71.5 2024