- Issue created by @jeff.hartman
- Assigned to Shreya_98
- @shreya_th opened merge request.
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 5:30am 19 October 2023 - ๐บ๐ธUnited States jeff.hartman
Please note: This should not be merged. This references forks of projects in my personal repo. It can be used as a reference until the original packages are updated with proper dependency versions.
- ๐บ๐ธUnited States rszrama
This is a tricky problem to solve, because the incompatibilities at the CyberSource PHP level are with Drupal core itself. There's not much we can do about it. I tried using a
repositories
array in this module'scomposer.json
, but that apparently only works at the project level. As such, what I've done is fork the CyberSource client library and am trying to figure out if everything still works.At this point, SAHC appears to work fine, but I'm getting a token generation error in testing Flex v2 that may be related to the fact that I had to update to a new version of the JWT library CyberSource depends on in order to resolve a Symfony Console incompatibility with Drupal core. ๐คฆ๐ปโโ๏ธ
Ultimately, we need CyberSource to update their library. We need to figure out how to make this work in the meantime through our own fork. I'm not 100% sure yet the issue is in the dependency update, so leaving this as needs review until we can sort it out.
- ๐บ๐ธUnited States rszrama
fwiw, you can find the fork as the
centarro/cybersource-rest-client-php
on Packagist. I've already committed thecomposer.json
update to 8.x-1.x. - ๐บ๐ธUnited States rszrama
Ok, my issue was really just that the Merchant ID is case sensitive for Flex even if it isn't for logging in to the sandbox or using SAHC. ๐คฆ๐ปโโ๏ธ
All working great, but the module is now D10 only as a result (given D9 and D10 have incompatible Symfony Console dependencies).
- Status changed to Fixed
about 1 year ago 2:50pm 10 November 2023 -
rszrama โ
committed 0570fbcb on 8.x-1.x
Issue #3394990 by rszrama: revise the .info.yml to only support D10
-
rszrama โ
committed 0570fbcb on 8.x-1.x
Automatically closed - issue fixed for 2 weeks with no activity.