Update commerce_cybersource for Drupal 11 compatibility (support Commerce 3.x)

Created on 25 February 2025, 13 days ago

Problem/Motivation

During a Drupal 11 upgrade, I got stuck when upgrading the `Commerce` module to version ^3.0 (D11 compatible)
It happens because the `commerce_cybersource` requires commerce on version 2.20, which is not D11 compatible blocking the update

- drupal/commerce_cybersource is locked to version 1.0.0 and an update of this package was not requested.

- drupal/commerce_cybersource 1.0.0 requires drupal/commerce ^2.20 

Steps to reproduce

  1. On your Drupal site, make sure you have both drupal/commerce (2.40.0) and drupal/commerce_cybersource (1.0.0) modules
  2. Require drupal/commerce at ^3.0 (which is Drupal 11 compatible).
  3. Run composer update drupal/commerce --with-dependencies.
  4. Composer fails due to commerce_cybersource requiring drupal/commerce ^2.20, which is not compatible with Drupal 11.

Proposed resolution

  • Update the commerce_cybersource module to support drupal/commerce 3.x.
  • If breaking changes exist between Commerce 2.x and 3.x, adjust dependencies and update the module accordingly.
  • Release a new version of commerce_cybersource that supports Drupal 11 and Commerce 3.x.

API changes

Data model changes

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇷Brazil irafah

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

Comments & Activities

Production build 0.71.5 2024