Attaches a custom dialog component and opens Paytool Client App in an iframe.
If the payment process ends successfully, resolves the promise with EmbedPayResult.
Otherwise, if the process fails or the user closes the dialog, the promise is rejected with EmbedError.
It is essential to catch and handle any possible rejections.
Attaches a custom dialog component and opens Paytool Client App in an iframe.
If the payment process ends successfully, resolves the promise with EmbedPayResult.
Otherwise, if the process fails or the user closes the dialog, the promise is rejected with EmbedError. It is essential to catch and handle any possible rejections.