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

added secure mode param #403

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading