Problem/Motivation

After installing Commerce 3.x and trying to make a payment the website returns the following error, which makes this module completely useless in Commerce 3.x:

Error: Call to a member function getPluginId() on null in Drupal\commerce_payment\PaymentStorage->doCreate() (line 50 of modules/contrib/commerce/modules/payment/src/PaymentStorage.php).

For additional info @see: https://www.drupal.org/project/commerce_unzer/issues/3502313

Steps to reproduce

Proposed resolution

The proposed solution is in the Merge request that has been created and is based on the following Change record: https://www.drupal.org/node/3468511 . In addition, to avoid backward compatibility issues, it might be a good idea to create a new major release that supports Commerce 3.x while the 1.x branch continues to support Commerce 2.x

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 8.x-1.x Comparecompare

Comments

pozi created an issue.