I'm looking to get PHP updated to 8.0 or 8.1 but I'm running into issues with the braintree/braintree_php dependency, mostly issues with methods and return type declarations, etc.
Through some Composer magic I was able to get the ^6.9 version installed and after a quick look-thru things seem to be working as expected.
What's needed to get this project formally updated to use a more-recent version of the braintree/braintree_php SDK?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3317456-upgrade-braintree-sdk-dependency.patch | 775 bytes | vmarchuk |
Issue fork commerce_braintree-3317456
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:
Comments
Comment #2
jay.silverman commented@ kerasai - Thank you for posting this issue. Could you please let us know what "Composer magic" entails? It seems like that may be the only way to address this problem for now.
Thanks,
Jay
Comment #3
kerasai commentedThis should do the trick:
composer require 'braintree/braintree_php:6.10.0 as 3.40.0'Comment #5
vmarchukComment #6
valicI am marking it as tested. We are running 6.10.0 on live project without any issues so far
Comment #8
jsacksick commentedCommitted, thanks!