Payment gateway without payment method is overriden

Created on 8 November 2024, about 1 month ago

Describe your bug or feature request.

During PaymentOrderUpdater::updateOrder, the first completed payment with a payment method will override the payment gateway and payment method stored on the order. When order is assigned multiple payments (for example a financing payment and a down payment), payments with a payment method will have precedence over payments without it even if the payments without payment method are first in the list.

We should probably assign the first completed to the order, whether or not a payment method is linked to it.

🐛 Bug report
Status

Active

Version

3.0

Component

Payment

Created by

🇨🇭Switzerland aerzas

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

Comments & Activities

Production build 0.71.5 2024