Update OrderSubscriber::onOrderPlaced() method to only update Affirm payments

Created on 24 June 2025, 12 days ago

In the OrderSubscriber::onOrderPlaced(), it was wrong to assume that an order could only have one payment. We have a project where we use Gift Cards, and they are implemented as a payment gateway. So, after applying the Gift Card and paying with Affirm, a fatal error occurred.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine marchuk.vitaliy Rivne, UA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024