Apparently this module is using an incorrect Klarna's replacement token - {checkout.order_id} vs. {checkout.order.id} which is correct as documented https://developers.klarna.com/documentation/klarna-checkout/integration-.... In addition, urlencode curly braces are replaced with URL escaped versions (%7B an %7B) causing Klarna to fail raplacing those tokens. I've been able to reproduce it by adding custom address_update callback based on the same url pattern as currently used in getNotifyUrl() which caused 500 error on Klarna's side. Their technical support told by about those 2 issues.
Comments
Comment #3
jsacksick commentedI replaced {checkout.order.id} but if the curly braces are causing the problem, that fix isn't going be sufficient.
@zaporylie: Not closing this for now, please let me know if the issue persists.
Comment #5
jsacksick commentedActually, I decided to go ahead and decode the notify url via urldecode(), so marking this as fixed.