- Issue created by @marchuk.vitaliy
- Merge request !4Issue #3338931: Upgrade Square to use the latest version of the PHP SDK (25.1) β (Merged) created by Unnamed author
- πΊπ¦Ukraine marchuk.vitaliy Rivne, UA
Can someone test the patch ?
I have only encountered a problem with the "Obtain Token" method, once that is resolved I can make a payment etc. - Status changed to Needs review
almost 2 years ago 6:24am 7 February 2023 - π¨π³China lawxen
When I use commerce kickstart I got this error:
Your requirements could not be resolved to an installable set of packages. Problem 1 - centarro/certified-projects[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.x-dev] require drupal/commerce_square ^1.5 -> satisfiable by drupal/commerce_square[1.5.0, 1.6.0, 1.7.0, 1.x-dev]. - drupal/commerce_square[1.5.0, 1.6.0, 1.7.0, 1.x-dev] require square/square ^17.2 -> satisfiable by square/square[17.2.0.20220216, 17.3.0.20220316]. - square/square 17.2.0.20220216 requires php >=7.2 <8.1 -> your php version (8.2.7) does not satisfy that requirement. - square/square 17.3.0.20220316 requires php >=7.2 <8.2 -> your php version (8.2.7) does not satisfy that requirement. - Root composer.json requires centarro/certified-projects ^1.0 -> satisfiable by centarro/certified-projects[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.x-dev].
This issue made people can't install this module if they use latest php, like 8.2.7
- πΊπΈUnited States hockey2112
My cpanel was set to 8.1, but my composer was using 8.2 by default. I used this command and was able to process my changes successfully:
ea-php81 /opt/cpanel/composer/bin/composer install
- π³π±Netherlands sebastian hagens Breda, Netherlands
Applied this patch with composer and works with Drupal 10.1.5 and PHP 8.2.12
- π¬π§United Kingdom alexpott πͺπΊπ
https://github.com/square/square-php-sdk is now up to version 33 ... they have quite the release schedule!
- π¨π¦Canada teknocat
Can somebody explain to me how you apply the patch using composer and then get composer to actually install the newer square SDK dependency without using some weird trickery?
When can we expect a new release of this module with the dependency updated?
- First commit to issue fork.
- last update
12 months ago 12 pass - last update
11 months ago Composer require failure - last update
11 months ago 5 pass, 1 fail - last update
11 months ago 5 pass, 1 fail - last update
11 months ago 12 pass - πΊπ¦Ukraine marchuk.vitaliy Rivne, UA
Square PHP SDK updated to version 34.0.1.20240118 (https://github.com/square/square-php-sdk/releases/tag/34.0.1.20240118).
Tested with PHP 8.1/8.2 and Drupal 10.1/10.2 -
vmarchuk β
committed f71948ab on 8.x-1.x
Issue #3338931: Upgrade Square to use the latest version of the PHP SDK...
-
vmarchuk β
committed f71948ab on 8.x-1.x
- Status changed to Fixed
11 months ago 7:27am 19 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.