ThreeDsChallenge class

The 3-D Secure challenge a transaction is waiting on.

CloudPayments signals "authentication required" with Success: false, Message: null and an AcsUrl/PaReq pair in the Model — it is not an error. Hand this object to the native 3-D Secure screen.

Annotations

Constructors

ThreeDsChallenge({required int transactionId, required String acsUrl, required String paReq, String? threeDsCallbackId, String? threeDsSessionData, String? goReq, bool? iFrameIsAllowed, int? frameWidth, int? frameHeight})
Creates a challenge descriptor.
const

Properties

acsUrl String
The issuer's Access Control Server page to POST to.
final
frameHeight int?
Suggested frame height for the ACS page.
final
frameWidth int?
Suggested frame width for the ACS page.
final
goReq String?
The 3-D Secure 2 counterpart of paReq, when present.
final
hashCode int
The hash code for this object.
no setterinherited
iFrameIsAllowed bool?
Whether the ACS page may be shown in an iframe.
final
paReq String
The authentication request payload to POST to acsUrl.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threeDsCallbackId String?
The identifier CloudPayments needs to match the callback back to this payment. Required when completing the payment.
final
threeDsSessionData String?
3-D Secure 2 session data, when the ACS uses it.
final
transactionId int
The transaction being authenticated. Sent to the ACS as MD.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited