Online payment return handling does not work with custom order IDs

Created on 30 May 2023, over 1 year ago

Problem/Motivation

The recent introduction of the Unzer order ID customization event in Dispatch an event to customize the unzer order ID Fixed broke the handling of successful payment when the user returns from Unzer. The issue is that the payment is looked up by unzer order ID and that order ID is now different. That change had not been implemented in all the places.

Proposed resolution

Instead of using the Unzer order ID to retrieve the Unzer payment we should use Unzer's payment ID that we have already stored in the data section of the Drupal Commerce order.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany cspitzlay 🇩🇪🇪🇺

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

Comments & Activities

Production build 0.71.5 2024