Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

Slim & PHP8 update #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nek-
Copy link

@Nek- Nek- commented Dec 12, 2020

Hello folks

Here is an update of your PHP example, it now works with PHP8 :) . (last major version)

@Nek- Nek- changed the title feat(php): Slim & PHP8 update Slim & PHP8 update Dec 12, 2020
"confirmation_method" => "manual",
"confirm" => true,
// 3D Payment is not supported by this script, but the return_url is required in many cases.
"return_url"=> "http://localhost:4242/",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only change related to stripe. On my account, it was required to add this to make it work. I assume it's optional if your account is not set with 3DSecure only.

Anyway, it just changes basically nothing for most users, I can roll it back if you want. But I think keeping it is a good thing.

@cjavilla-stripe
Copy link
Contributor

Thanks for the PR, @Nek. Does this require upgrading to PHP8?

@Nek-
Copy link
Author

Nek- commented Dec 14, 2020

Thanks for the PR, @Nek. Does this require upgrading to PHP8?

No, this works with php7. However, I didn't test it. And I suspect the composer.lock to be an issue to make this work properly. I can remove the composer.lock if you want.

Also I should test it :) .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants