You can use the below example code to establish a parent-child iframe scenario with Transak widget directly into a page of your web app.
In case of Double IFrame Integration there are a couple of things that you need to take care of:
- Add allow="camera;microphone;payment" as attributes in both the enclosing and inner iframes. In case you are not able to add it, the Transak iframe automatically detects it and at the time of KYC, it provides you with a unique KYC Link that you can use to complete the KYC. This unique URL is also emailed to the user on their specified Email ID in the previous screens.