Skip to main content

ThreeDSFrameOptionsBase

Options shared by both helpers.

Extends​

Extended by​

Properties​

completion?​

optional completion?: ThreeDSCompletion;

How the iframe reports completion. Required for a challenge — there is no other way to know the cardholder is done.


fields?​

optional fields?: Record<string, string>;

Form fields to post, one hidden input per entry.

Inherited from​

ThreeDSFormPost.fields


frameName?​

optional frameName?: string;

name and id given to the iframe. Defaults to a unique per-call name; set it only if you need to find the frame yourself.


keepFrame?​

optional keepFrame?: boolean;

Keeps the iframe and its form in the DOM after settling. Off by default — leaving 3DS frames behind is what leaks memory across retries.


signal?​

optional signal?: AbortSignal;

Aborts the flow: the iframe is torn down and the promise resolves with status: 'aborted'.


url?​

optional url?: string;

Endpoint the form is posted to. Must be http: or https:.

Inherited from​

ThreeDSFormPost.url