Closed philipbelcher closed 4 years ago
@philipbelcher I'm having a similar issue and haven't figured out how to pin down the exact data element that is invalid - could you kindly let me know how you did you sort your issue? much appreciated
@philipbelcher I'm having a similar issue and haven't figured out how to pin down the exact data element that is invalid - could you kindly let me know how you did you sort your issue? much appreciated
Hi @unfulvio ! I ended up adding a log inside RestGateway.php
to debug - it seemed that the detailed part of the error message (which included what exact data elements were invalid) wasn't getting surfaced, so logging the entire $parsed
response revealed additional information. Hope this helps you!
oh wow thanks @philipbelcher that's a really good idea, I'm gonna try that I was wondering why the API didn't return a more detailed error in fact thank you so much
Best of luck matey!
thank you so much! that did the trick! I wish it was less obscure
Hi guys I'm trying to implement 3DSecure V2 and when I'm trying to execute the
initiateAuthentication
method I am getting an Error (Status Code: 400 - Format of one or more Data Elements is Invalid according to the Specification
) but unfortunately there's no more detail about what the culprit is.I'm following the docs here - https://developer.globalpay.com/api/3d-secure-two and I'm currently on version
1.3.3
Are you able to advise on common incorrect formats for Data Elements? (I've already seen the issues around strange characters in customerEmail and cardholderName character length and have accounted for them)
Do you receive this error if you're not supplying all the mandatory 3ds2 fields or is this solely about the formatting of one of them I've already supplied?
Here is my
ThreeDSecure
object before it gets executed in theinitiateAuthentication
method for reference: Thanks