Skip to content

Commit

Permalink
Merge pull request #403 from Mangopay/feature/card-validation-secure-…
Browse files Browse the repository at this point in the history
…mode

added secure mode param
  • Loading branch information
iulian03 authored Apr 2, 2024
2 parents 2688975 + 09784c1 commit 88490af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/models/CardValidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = EntityBase.extend({
SecureModeReturnURL: null,
SecureModeRedirectURL: null,
SecureModeNeeded: null,
SecureMode: null,
IpAddress: null,
BrowserInfo: null,
Validity: null,
Expand Down
11 changes: 11 additions & 0 deletions typings/models/cardValidation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { entityBase } from "./entityBase";
import { transaction } from "./transaction";
import { base } from "../base";
import { payIn } from "./payIn";
import { SecureMode } from "../types";

export namespace cardValidation {
interface CardValidationData extends entityBase.EntityBaseData {
Expand Down Expand Up @@ -31,6 +32,11 @@ export namespace cardValidation {
*/
SecureModeNeeded: boolean;

/**
* The mode applied for the 3DS2 protocol for CB, Visa, and Mastercard
*/
SecureMode: SecureMode;

/**
* The IP address of the end user initiating the transaction, in IPV4 or IPV6 format.
*/
Expand Down Expand Up @@ -78,6 +84,11 @@ export namespace cardValidation {
*/
SecureModeReturnURL: string;

/**
* The mode applied for the 3DS2 protocol for CB, Visa, and Mastercard
*/
SecureMode?: SecureMode;

/**
* The IP address of the end user initiating the transaction, in IPV4 or IPV6 format.
*/
Expand Down

0 comments on commit 88490af

Please sign in to comment.