-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 7.4 compatibility with Stripe 7.0.0 #95
Comments
I to now suffer from this error.
Above error is displayed also in the CP when adding new subscription plan. |
Another problem when trying to open an active subscription in CP:
Latest craft commerce & commerce-stripe plugin versions. |
Stripe Payments v2.5.0 has added |
Any movement on this? |
There also seems to be a stripe/stripe-php issue with craftcms/commerce-stripe and the latest version of Solspace Freeform :-( |
+1 on AndrewMac's report above. Freeform has updated Stripe-php to v7+ and there is a composer dependency crash between Freeform and this plugin. Please update it to stripe-php v7+ so we can upgrade plugins. The current Freeform dependency version is |
Looking into upgrading this now. |
Hi All Have just pushed up the updated If anyone wants to install this on a local/staging environment and let us know any feedback or issues you spot. You can do using the composer requirement below. "require": {
"craftcms/commerce-stripe": "dev-develop#6945f0fb6de46b669c144299a2c5c9b13189b29e as 2.2.3",
"...": "..."
} Then run We will look to get a release out asap, taking into account any feedback we get. Thanks. |
I made the update to composer.json on local but my composer update command is just spinning for minutes on end with no output.
I can't seem to get it to fully run. I do have a lot of plugins on this site but never have seen this happen. Replacing the original |
Hi @chadcrowell You will likely need to add the following lines to your
I would suggest that this is only recommended when testing locally or in a staging environment. |
No change. The only way composer doesn't stall on either update or install is putting it back to |
@chadcrowell try |
Did both, with no change in result. Terminal just sits there, the fans go
nuts, nothing happens. Also tried "craftcms/commerce-stripe": "dev-develop
as 2.2.3", and that didn't help either.
…On Fri, Apr 10, 2020 at 11:05 AM Brad Bell ***@***.***> wrote:
@chadcrowell <https://github.com/chadcrowell> try composer clear-cache
and/or composer self-update and see if that helps
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYF7IKEFI6RFGIJIWHJ3RL5NW7ANCNFSM4J4RHJWQ>
.
|
Version You should be able to update as you would normally (ignoring develop branch etc). Thanks! |
@nfourtythree Same issue with @chadcrowell |
What is your requirement for this package in your Thanks |
Getting same issue as @focalinteractive above, which is the same thing I was getting above that. Fans spinning and Composer stuck. |
Hey @focalinteractive & @chadcrowell Have you tried removing your |
@nfourtythree Yes, ultimately that's what I did to resolve the issue days ago. However, re-installing all dependencies takes a while so it's something that we want to avoid doing on production environments. |
Hi Nate - I finally got it to work later yesterday after 3 or 4 repeats of the same issue described above. Each time I removed vendor and composer.lock and re-ran composer install, then tried the upgrade either through the Control Panel or through editing composer.json and running composer update. After walking away for a bit, I came back and got it to work. I had upgraded everything else on this site, Craft 3.4.x, Commerce 3.x, and all other plugins - the only 2 remaining were the 2 that depend on stripe-php... Freeform and Commerce Stripe. I used the Update All button in the Control Panel and both updated without issue. I haven't tested the upgraded versions yet but will today. So, I don't know why it worked that time but it was the only time I tried updating both plugins together rather than one or the other first. |
Have run into this one too. Tried all above suggestions to clear cache and vendor folder etc. |
I managed to get this to work by uninstalling Freeform, run Stripe update, and then reinstall Freeform. Make sure you backup any Freeform submissions first as uninstalling will remove them all |
Right now, the plugin gives this error on the checkout page:
array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead
The library stripe-php fixed a couple of errors on version 7.0.0:
stripe/stripe-php#725
So, the plugin should be updated for this version:
https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v7
Thanks!
The text was updated successfully, but these errors were encountered: