'Opayo (Sagepay) Direct VB.net code to handle 3dAuth
I have been tasked with updating a VB.net website to handle 3dauth. There used to be a vb.net toolkit apparently with sample code but Opayo support cannot supply it anymore. They suggested 'finding it on the internet' I think it was used to build the site originally.
The code has been working fine up until now without 3dauth but obviously it is now compulsory. If I turn on 3dauth on the account, after the user enters their card info, it does come back to
If strStatus = "3DAUTH" Then
'** This is a 3D-Secure transaction, so we need to redirect the customer to their bank **
'** for authentication. First get the pertinent information from the response **
strVPSTxId = findField("VPSTxId", strResponse)
strACSURL = findField("ACSURL", strResponse)
strCReq = findField("CReq", strResponse)
strPAReq = findField("PAReq", strResponse)
strMD = findField("MD", strResponse)
But does nohing with the info. I know I need to update these fields to 3dauthv2 but I'm not sure how to send to bank then get response and send back to opayo.
If Opayo would provide sample code for this it would be a lot easier!
Any help would be appreciated as would a copy of the old VB.net toolkit.
thanks very much Bob
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
