Use the push webhook to acknowledge and complete the order as backup

Created on 15 March 2022, over 2 years ago
Updated 7 February 2023, over 1 year ago

Problem/Motivation

Unexpected user behaviour like clicking the browser back button after completing the Klarna forms, can lead to out of sync states between commerce and Klarna.

Steps to reproduce

Proposed resolution

Klarna can fire a webhook for un-acknowledged orders. The detailed documentation is available ony for checkout, but this works for payment as well. (see the merchants_url property).

Use the webhook to acknowledge the order and add payments if they were not added.

Remaining tasks

Test coverage.

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇸🇮Slovenia Primsi

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024