Compatibility with PHP Library 2.10 and above

Created on 27 February 2019, over 5 years ago
Updated 24 May 2023, over 1 year ago

Late last year, Recurly sent out a notice regarding it's end of life/deprecation schedule for the Recurly libraries. The PHP library I've been using (version 2.9) will be deprecated before too long. The current version (as of this writing) for the PHP library is 2.11

I see some breaking changes in 2.10 and I'm wondering if anyone has tested the 7.x Drupal Recurly (and recurly js) modules with PHP library versions 2.10 or 2.11

What's the latest version the 7.x version of this module will run without issues?

✨ Feature request
Status

Postponed: needs info

Version

4.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States Rob_Feature

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mrweiner

    Hate to RTBC my own patch so much later, but any chance of getting this committed? We are still relying on a fork of this module that's very outdated at this point. Would love to kill it and bring us back up to date.

  • πŸ‡ΊπŸ‡ΈUnited States eojthebrave Minneapolis, MN

    Could I maybe get an update on the status of this issue, and why it's necessary. Reading back through the issue I'm a little bit confused about where things are at now. I just checked, and the V2 client continues to be supported by Recurly https://github.com/recurly/recurly-client-php/tree/v2, and has been updated to their v2.14.x API as of a few weeks ago. I know we're using the 4.x branch of the module with the version 2.14.0 of the PHP library and it's been working fine.

    I'm pretty hesitant to use a mirror of the v2 library that hasn't been updated in years https://github.com/hfischberg/v2Recurly-client when the official library continues to get updates.

  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡¨πŸ‡¦Canada colan Toronto πŸ‡¨πŸ‡¦
  • πŸ‡ΊπŸ‡ΈUnited States mrweiner

    @eojthebrave I see the confusion. Back when #37 was written, https://github.com/hfischberg/v2Recurly-client was created for me by a recurly support member, and it seemed that the v2 branch would be sunset. Their versioning is confusing (for me, at least), because the api version differs from the SDK version. The latest v2 api on https://recurly.com/developers/api-v2/ is 2.29, which is the same latest release as 3 years ago, while the recent 2.x release on github is 2.14.1.

    To compound my confusion, they also have 3.x and 4.x releases that both seem to relate to the v3 api, without documentation as to what the difference is.

    You're probably right that it doesn't make sense for this module to use that fork given that it's way out of date and 2.x continues to receive updates. I guess maybe my team is just in the unfortunate situation of needing to run both v2 and v3 concurrently. In an ideal world, we could have an up-to-date v2 package separate from the v3 package, but I don't know that there's a good way to do that unless one of us wanted to maintain a fork to track 2.x.

    This doesn't really offer a solution, but I think this essentially summarizes where things stand.

  • πŸ‡ΊπŸ‡ΈUnited States mrweiner

    Maybe the "real" solution to this would be to update the Recurly module itself to use the v3 api. Likely not a small undertaking, and y'all could weigh the benefits of such a move. I'd be happy to help with this update if we want to go that route.

  • πŸ‡ΊπŸ‡ΈUnited States eojthebrave Minneapolis, MN

    update the Recurly module itself to use the v3 api

    This is definitely my long term goal. I've been slowly working on adding tests in ✨ Improve test coverage Needs work thinking that having decent test coverage will make that update easier since we'll be able to feel more confident that things are working. But I haven't yet really dug into what all the update would entail.

    Also FWIW I totally agree the versioning of the API versus the PHP library is super confusing.

Production build 0.71.5 2024