Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3DS2 authentication parameters for Barclaycard #5251

Open
rodrigofhm opened this issue Sep 6, 2024 · 0 comments
Open

3DS2 authentication parameters for Barclaycard #5251

rodrigofhm opened this issue Sep 6, 2024 · 0 comments

Comments

@rodrigofhm
Copy link

rodrigofhm commented Sep 6, 2024

Hi, Im implementing the 3ds2 authentication flow for Barclaycard and currently I'm getting this error (from Barclay back office )

Screenshot 2024-09-06 at 18 33 51

Unfortunately, it doesn't specify which field(s) failed validation.

One issue I noticed is that some of the parameters don't match their documentation. I'm wondering if that might be the case, but it seems unlikely, unless someone else is using ActiveMerchant with Barclaycard.

Here is the parameters list being generated:

{
  "orderID" => "SLO-SUS202309-223501-060924",
  "FLAG3D" => "Y",
  "WIN3DS" => "MAINW",
  "ACCEPTURL" => "http://app.lvh.me:3000/payments/accept",
  "DECLINEURL" => "http://app.lvh.me:3000/payments/decline",
  "EXCEPTIONURL" => "http://app.lvh.me:3000/payments/exception",
  "BROWSERCOLORDEPTH" => "24",
  "BROWSERJAVASCRIPTENABLED" => true,
  "BROWSERJAVAENABLED" => false,
  "BROWSERLANGUAGE" => "en-GB",
  "BROWSERSCREENHEIGHT" => "1080",
  "BROWSERSCREENWIDTH" => "1920",
  "BROWSERTIMEZONE" => "3",
  "BROWSERUSERAGENT" => "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36",
  "ECOM_BILLTO_POSTAL_CITY" => "Dublin",
  "ECOM_BILLTO_POSTAL_COUNTRYCODE" => "IE",
  "ECOM_BILLTO_POSTAL_STREET_LINE1" => "Address",
  "ECOM_BILLTO_POSTAL_STREET_LINE2" => "Line",
  "ECOM_BILLTO_POSTAL_POSTALCODE" => "D6W AB12",
  "ECI" => "7",
  "CN" => "Bill Gates",
  "CARDNO" => "4330264936344675",
  "ED" => "0731",
  "CVC" => "123",
  "Owneraddress" => "Address",
  "OwnerZip" => "D6W AB12",
  "ownertown" => "Dublin",
  "ownercty" => "IE",
  "REMOTE_ADDR" => "127.0.0.1",
  "currency" => "GBP",
  "amount" => "5000"
}

I'd like to confirm if this is the issue, and if so, I can submit a PR for it.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant