Adds specific error codes for failed Klarna paymentsBreaking changes
What’s new
Adds more specific error codes to the PaymentIntent API for when a Klarna payment fails:
payment_
method_ customer_ decline payment_
method_ not_ available payment_
method_ provider_ decline payment_
intent_ payment_ attempt_ expired
Impact
Adding specific error codes for when a Klarna payment fails gives you more detailed information about why the payment failed, enabling better error handling.