Mangopay / mangopay2-nodejs-sdk

Node.js SDK for MANGOPAY
https://www.npmjs.com/package/mangopay2-nodejs-sdk
MIT License
51 stars 38 forks source link

Card PayIn with 3DS2 #326

Closed Ottunger closed 2 years ago

Ottunger commented 2 years ago

MangoPay recently introduced forcefully 3DS2 on all card PayIns. Does your method support attributes:

IpAddress: string;
BrowserInfo: {
    AcceptHeader: string;
    JavaEnabled: boolean;
    Language: string;
    ColorDepth: number;
    ScreenHeight: number;
    ScreenWidth: number;
    TimeZoneOffset: number;
    UserAgent: string;
    JavascriptEnabled: boolean;
}

when passed within PayIns.create?

iulian03 commented 2 years ago

Hello @Ottunger,

According to the documentation, only Card Direct PayIns have those properties and yes, you can add them when creating it.

Ottunger commented 2 years ago

Cool, seemed to work indeed from testing.