The validation handler should return a 303 response in case the purchase is denied

Created on 12 July 2023, over 1 year ago
Updated 22 August 2024, 3 months ago

Problem/Motivation

According to the documentation, to deny the purchase, the server must response with a 303. The code is currently returning a 302, and Klarna doesn't seem to be handling 302 properly...

To deny the purchase, reply with a HTTP status 303 See Other. This needs to include a Location header pointing to a page which informs the consumer why the purchase was not completed. The consumer will be redirected to this page.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇱Israel jsacksick

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

Comments & Activities

Production build 0.71.5 2024