Stripe PHP API library is not recent enough. Version needs to be 3.20.0 or higher (Currently using Stripe PHP Library for Ubercart Stripe version Not Installed)

Comments

vinit0808 created an issue. See original summary.

rfay’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

You need to follow the instructions to install the Stripe PHP library - using composer whatever way works on your site.

roblog’s picture

Once you have composer installed, you have to follow the instructions here: https://www.drupal.org/node/2822349 to merge the module's composer.json file into the site's main composer.json file in the drupal root folder.

It's not particularly straight forward. Once you have achieved this though you should be able to install the module.

Having changed composer.json, you must make sure that you don't overwrite it, when you upgrade your drupal version, or you will break it again, and then probably spend another hour or so trying to remember how to fix it .. like I just did.

lilott8’s picture

Yeah, I think this is valid. The version of Stripe required, as noted in the composer.json file is:

{
    "require": {
        "stripe/stripe-php": "3.*"
    }
}

That version is, at it's latest 3.x release 3 years old. The fact that the API is so old is a huge detractor for me in using this module -- and thus, by extension, ubercart.

The README of this project encourages safe practices but uses a woefully outdated Stripe API.

andraeray’s picture

Good point. 8.x needs a version increase.

I'm currently focusing on 7.x for now, it was in the same outdated condition, i'm planning to work on 8.x next.

andraeray’s picture

Status: Postponed (maintainer needs more info) » Active
andraeray’s picture

Title: ubercart stripe installation » Upgrade stripe library to stripe/stripe-php version 6.*

  • AndraeRay committed 556e53c on 8.x-3.x
    Issue #2859843 by AndraeRay: Upgrade stripe library to stripe/stripe-php...

  • AndraeRay committed 48523c5 on 8.x-3.x
    Issue #2859843 by AndraeRay: Made stripe/stripe-php version more...
andraeray’s picture

Version: 8.x-2.0-alpha1 » 8.x-3.x-dev
Assigned: vinit0808 » Unassigned
Status: Active » Fixed

The stripe-php library Version has been increased to ^6.43.1 in 8.x-3.x..

There were no breaking changes based on the Stripe API calls used by the module.

Status: Fixed » Closed (fixed)

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