kco_php icon indicating copy to clipboard operation
kco_php copied to clipboard

Status on php 7 support?

Open w3l opened this issue 9 years ago • 3 comments

The klarna docs claims:

PHP >= 5.x (PHP 7 is currently not supported)

kco_php seems to support PHP 7, based on our internal tests.

  • No issues found testing the SDK code with alexia/php7mar and sstalle/php7cc.
  • No PHP 7 issues with forked code in travis(disclaimer: I do not fully understand Travis/GIT).
  • Everything works as expected running Checkout on our dev-site again testdrive(all snippets rendering, we get the push, no errors in our log-files, etc)
  • Everything works as expected running Checkout on our live-site again klarnas live system(all snippets rendering, we get the push, no errors in our log-files, etc)

The reply contacting [email protected] was basically(paraphrasing a bit):

It might work under php 7, but we do not support php 7. It has not been prioritized(to test php 7 support), so we do not know if it works or not.

I assumed that the lack of support for php 7 was due to either major code rewrites needed or that it would break compatibility with earlier php 5.x versions. Not wanting to test the code was an unexpected and a bit disappointing reason.

It would feel a lot better to get official php 7 support in klarna checkout before we switch php version on our live server.

Has anyone in the community run into any issues with using Klarna Checkout on PHP 7?

w3l avatar Oct 28 '16 07:10 w3l

Update: We have been running kco_php on php 7 for a couple of months with no issues.

w3l avatar Mar 12 '17 17:03 w3l

Yeah, it's pretty dissapointing that they obviously does not care to keep this maintained.

sjelfull avatar Dec 21 '17 12:12 sjelfull

Seems like new website design took priority over working SDK. ;-)

mladenilic avatar Dec 21 '17 12:12 mladenilic