Drupal 10 support

Created on 27 January 2023, almost 2 years ago
Updated 1 March 2023, over 1 year ago

When trying to install on D10, get the following:

drupal/commerce_authnet 1.7.0 requires drupal/core ^8.8 || ^9

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States j_ten_man

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

Comments & Activities

  • Issue created by @j_ten_man
  • @j_ten_man opened merge request.
  • 🇮🇱Israel jsacksick

    I missed your MR for some reason, not sure why some of the libraries actually require "once".

    I don't see where it's being used in js/commerce_authnet.accept.form.js.

  • Status changed to Fixed almost 2 years ago
  • 🇮🇱Israel jsacksick

    Committed your changes and bumped the core minimum required version to 9.2 (which is the version when the once library was introduced).

    See https://www.drupal.org/node/3158256 .

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed over 1 year ago
  • 🇮🇳India sirdhilip

    I have installed Drupal 10.0.2 and Commerce 8.x-2.33 module.
    When I try to install Commerce Authorize.net module. It is not installed.
    Since the commerceguys/authnet v1.1.2 requires guzzlehttp/guzzle ~6.2 But the package is fixed to 7.5.0.

    Kindly provide the solution.

    root@6f8c47df5856:/var/www/html/drupal/salesforce-gg# composer require 'drupal/commerce_authnet:1.x-dev@dev'
    Info from https://repo.packagist.org: #StandWithUkraine
    ./composer.json has been updated
    Running composer update drupal/commerce_authnet
    Loading composer repositories with package information
    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - commerceguys/authnet v1.1.2 requires guzzlehttp/guzzle ~6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.8] but the package is fixed to 7.5.0 (lock
    file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - drupal/commerce_authnet 1.x-dev is an alias of drupal/commerce_authnet dev-1.x and thus requires it to be installed too.
    - drupal/commerce_authnet dev-1.x requires commerceguys/authnet ^1.1.2 -> satisfiable by commerceguys/authnet[v1.1.2].
    - Root composer.json requires drupal/commerce_authnet 1.x-dev@dev -> satisfiable by drupal/commerce_authnet[1.x-dev (alias of dev-1.x)].

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

    Regards,
    Dhilipkumar Swaminathan

  • I think we have to use "dev"
    https://www.drupal.org/project/commerce_authnet/releases/8.x-1.x-dev
    composer require 'drupal/commerce_authnet:1.x-dev@dev'

    AND YES the DEV is snafu also. :( for Drupal 10.0.0.4 using php 8.1

    Problem 1
    - commerceguys/authnet v1.1.2 requires guzzlehttp/guzzle ~6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.8] but the package is fixed to 7.5.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - drupal/commerce_authnet 1.x-dev is an alias of drupal/commerce_authnet dev-1.x and thus requires it to be installed too.
    - drupal/commerce_authnet dev-1.x requires commerceguys/authnet ^1.1.2 -> satisfiable by commerceguys/authnet[v1.1.2].
    - Root composer.json requires drupal/commerce_authnet 1.x-dev@dev -> satisfiable by drupal/commerce_authnet[1.x-dev (alias of dev-1.x)].

    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Production build 0.71.5 2024