Undefined property: PaymentGateway::$value in OrderCompleteSubscriber->onOrderPaid()

Created on 27 March 2025, 9 days ago

Problem/Motivation

We are getting a warning:

Warning: Undefined property: Drupal\commerce_payment\Entity\PaymentGateway::$value in Drupal\quivers\EventSubscriber\OrderCompleteSubscriber->onOrderPaid() (line 61 of docroot/modules/contrib/quivers/src/EventSubscriber/OrderCompleteSubscriber.php)

Steps to reproduce

Make any order paid and check the logs.

Proposed resolution

Rework code to avoid the issue.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

9.2

Component

Code

Created by

🇨🇾Cyprus alex.bukach

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

Comments & Activities

Production build 0.71.5 2024