webdna / commerce-opayo

Opayo payment gateway for Craft Commerce
Other
3 stars 0 forks source link

3D secure challenge handling #2

Open alexr8 opened 7 months ago

alexr8 commented 7 months ago

Hi guys, first just want to say this plugin has been a lifesaver with the recent switching off of sagepay urls. One issue i seem to be running into, is sporadically customers getting a 'request timeout' issue.

The checkout page is loaded, with the opayo gateway set on the cart, and the form is output. When the customer inputs their card info and hits submit, sometimes it will output 'Request Timeout' error. Other times transactions will process just fine.

image

I've been chatting to support at Opayo and they had the following information to share:

As discussed on the phone call, the transactions are submitted correctly, but whenever a challenge (i.e. request for additional verification) is issued during the 3D-Secure authentication process, your shopper is not redirected to complete that step, until the payment session eventually times out and the transaction is cancelled.

Our escalations team advised that "we can see in the logs that we're sending the instruction to the vendor to redirect the customer to the ACSURL and the onus is on you to then do this, following our protocol guide." 

So far, we've successfully experienced the 3D-Secure behaviour from the Opayo plugin with American Express (my client says he has but i've not seen it first hand), but it doesnt seem to be triggered for Mastercard (and maybe visa but unsure).

Sometimes Mastercard transactions go through fine - and my guess is these are instances where the banks do not request any 3D-Secure info, but will occasionally fail with the above error - and my hunch is that its whenever a 3D secure event is trying to be triggered from either specific card providers, or specific banks (unsure which at this point).

Wondered if you might have experienced similar or have any ideas where in the chain its failing?

Thanks

Alex

alexr8 commented 6 months ago

Hi, I wondered if you might be able to shed any light on the above and if there's anyway I can explore/debug from my side?

samuelbirch commented 5 months ago

Hi @alexr8, sorry for the delay, we'll be getting someone looking at it fairly soon.

If you have any replication steps in testmode using the example creditcard numbers, that would be very helpful.