Closed OccultScientist closed 2 years ago
Hi. Did you get this working? Could you share? And did you manage using getThreeDSNotificationURL() with any success?
Hi,
Probably not the best solution, but I ended up changing lines 62-63 in DirectAuthorizeRequest.php to be:
$data['BrowserAcceptHeader'] = $_SERVER['HTTP_ACCEPT'] ?? 'text/html, application/json'; $data['BrowserUserAgent'] = $_SERVER['HTTP_USER_AGENT'] ?? 'Unknown';
After that I got a response and then used:
$data = $responseMessage->getRedirectData();
The data was then available in $data['threeDSSessionData']
Once, you're there, let me know if you have this issue too, could do with another pair of eyes on it 😄 https://github.com/thephpleague/omnipay-sagepay/issues/181
Once, you're there, let me know if you have this issue too, could do with another pair of eyes on it 😄 #181
I'm knee deep in this myself. Will defo share any progress I make. First off, I noticed in your other comments you still seem to be on protocol 3. You plan to update to 4?
Haven't worked that bit out yet! The initial request does say the VPS Protocol is 4.00 but the final response says 3.00
Haven't worked that bit out yet! The initial request does say the VPS Protocol is 4.00 but the final response says 3.00
Ahh really? And you are on latest omnipay/sagepay
? I updated this then the protocol changed automatically.
In your composer file it maybe says "omnipay/sagepay": "^3.0",
?
Change it to "omnipay/sagepay": "^4.0",
then composer update
. Worked for me.
Haven't worked that bit out yet! The initial request does say the VPS Protocol is 4.00 but the final response says 3.00
Ahh really? And you are on latest
omnipay/sagepay
? I updated this then the protocol changed automatically. In your composer file it maybe says"omnipay/sagepay": "^3.0",
? Change it to"omnipay/sagepay": "^4.0",
thencomposer update
. Worked for me.
Nice, thanks. It looks like I'm already on 4.0 :)
Hi,
Any idea what I'm missing here?
Getting the error: 3200 : The BrowserAcceptHeader field is missing I'm running this from a payment server so no browser details available.
Thanks in advance!
`$transactionId = "TEST-TRANSACTION-ID"; // Create the gateway object.