The postMessage option uses the browser postMessage API to listen for a specific event type called profile.completed. This event includes a simple status field to notify the merchant if the profiling was successful or not. An event called profile.completed will notify the listener when the Device Data Collection process completed.
|
Info |
---|
Please note that the JavaScript properties per convention are case sensitive and necessary to obtain the return values i.e. SessionID. |
...
The V1 and V2 profile completed objects are similar but V2 offers additional information about the data collection to allow merchants to make decisions based on the success or failure of certain data points. For example, if we were unable to collect `CardinalData` the merchant could opt to send the 9 11 required fields on the `cmpi_lookup` request to ensure a 3DS 2.0 transaction can still complete.