omnipay-sagepay icon indicating copy to clipboard operation
omnipay-sagepay copied to clipboard

SCA / 3DSv2 compatibility for Direct and Server

Open saintanger opened this issue 4 years ago • 19 comments

I've pulled in here information / code from multiple issues and blogposts / opayos documentation and discussions with them. Has been tested. Hope it helps anyone else.

saintanger avatar Jun 21 '21 10:06 saintanger

Do you have any documentation on how to use these changes or tips on how to test and demonstrate it? I've got this PR checked out and would like to work through it before merging. Couple of little fixes as I go along too. I think we can drop the PHP 5.6 support at this point too, since the latest Omnipay Common needs at least 7.1

judgej avatar Jun 22 '21 08:06 judgej

When you are using a package you are extending, you don't need to rename it, even if installing it from your own repository. composer will handle fetching your own copy nicely using the repositories section of composer.json. Just mentioning that in case you didn't know.

judgej avatar Jun 22 '21 13:06 judgej

Possibly move the constants from src/Message/AbstractRequest.php to src/ConstantsInterface.php

benjam-es avatar Jun 30 '21 09:06 benjam-es

Could the protocol default to 4.00 in src/Message/AbstractRequest.php given it now has getters and setters for those needing to go back to 3.00

protected $VPSProtocol = '3.00';

benjam-es avatar Jun 30 '21 09:06 benjam-es

Is this still being looked at? Curious if the package supports 3D Secure V2 without this as it’ll be important going forwards.

RicLeP avatar Aug 18 '21 15:08 RicLeP

The package currently works, but will likely stop working when sagepay/opayo stop allowing v3

benjam-es avatar Aug 18 '21 15:08 benjam-es

As i got email from sagepay that "3DS2 Non-compliance". So my question is there any upgradation in these package because from march 2022 it will not allow anymore.

dhavalbhavsar avatar Aug 24 '21 12:08 dhavalbhavsar

@judgej can you please help in these case please ?

dhavalbhavsar avatar Aug 24 '21 12:08 dhavalbhavsar

Hi, sorry, got pulled in too many other directions. I meant to look at this months ago.

Do you have links to the documentation that this is for, so we know what it is compliant with, what still needs toi be done, and can offer upgrade advice? If nothing else, I'd like to make sure the README is up-to-date with these changes.

judgej avatar Aug 24 '21 12:08 judgej

Hi Jason, I've used similar code as above in my PI branch to get things working, so happy to offer up some time to bounce ideas back and forth if that will help?

benjam-es avatar Aug 24 '21 13:08 benjam-es

That's PR #165 I guess. I don't mind writing up the documentation, and I think it needs that - even if just to say this version is completely compatible with older versions. Are PR #163 and PR #165 compatible with each other? Can both be merged with a large overlap, or would that duplicate a lot of the functionality?

judgej avatar Aug 24 '21 13:08 judgej

@judgej here in the mail they send us two link https://developer-eu.elavon.com/docs/opayo-direct/protocol-300-400-migration-guide and https://developer-eu.elavon.com/docs/opayo-direct/api-reference

Edited: links fixed

dhavalbhavsar avatar Aug 24 '21 14:08 dhavalbhavsar

I do miss the PDFs with everything in one document, and the ability to version them. All that documentation needs to do intio a repo really, so changes can be easily extracted.

judgej avatar Aug 24 '21 15:08 judgej

That's PR #165 I guess. I don't mind writing up the documentation, and I think it needs that - even if just to say this version is completely compatible with older versions. Are PR #163 and PR #165 compatible with each other? Can both be merged with a large overlap, or would that duplicate a lot of the functionality?

Mine will likely conflict as mine has a few differences, but I can tidy mine up with if/when this one is merged.

benjam-es avatar Aug 24 '21 19:08 benjam-es

@judgej i check that PR #163 i think almost all things covered.

dhavalbhavsar avatar Aug 26 '21 07:08 dhavalbhavsar

Thanks. Hopefully getting to it later today. Working on bringin this one up-to-date too: https://github.com/academe/SagePay-Integration/tree/opayo

Got a bit of a bug, so haven't got much done but rest since I posted this

judgej avatar Aug 26 '21 09:08 judgej

Hey, is there any update to this? Need to get upgraded for next month and happy to help however I can. Cheers

calico-digital avatar Feb 02 '22 18:02 calico-digital

You can use sagepay pi.

On Wed, Feb 2, 2022, 11:37 PM calico-digital @.***> wrote:

Hey, is there any update to this? Need to get upgraded for next month and happy to help however I can. Cheers

— Reply to this email directly, view it on GitHub https://github.com/thephpleague/omnipay-sagepay/pull/163#issuecomment-1028213506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOIPTHKKXOG6C2WAKQOY4DUZFXHDANCNFSM47BKUGTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

dhavalbhavsar avatar Feb 02 '22 19:02 dhavalbhavsar

@barryvdh believe this is now covered by the pull request you just integrated, so no longer needed?

benjam-es avatar Feb 11 '22 12:02 benjam-es