OptionaliframeReturns the configuration options for the iframe. Once it's changed, the messenger instance is re-initialized - see reaction above.
Allows only one retry.
Makes a request to the iframe to get the AWS WAF token.
Retries sending the payment request after increasing the retry count.
Sends the message to the iframe to make a request to PGW. Awaits the response from the iframe. All PGW request/response related handling is done within the iframe. Once the promise is resolved, returns the result.
Depending on action either:
onSuccess callback.getAwsWafToken() method.Optionalaction: AwsWafAction
Handles communication with the "pgw-proxy-iframe". Holds the instance of parent "ChannelMessenger" to communicate with iframe. Orchestrates the communication between the iframe and the parent window. Holds the state: