Dynamic iframe source with angular
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
0
I am trying to use payment system with Angular. In the payment gateway API, 3D Secure Page exposing as an html in json. I am trying to put this html in an iframe. The main problem is html is not shown. When I try to inspect element on browser, there are html code in the iframe but not shown. What is the reason of it? How can I solve this? payment.component.ts: this.applicationService.pay(this.card).subscribe((data: any) => { this.modalContent = data.content; } payment.component.html <iframe [innerHTML]="modalContent | sanitizeHtml" frameborder="0"></iframe> 3d secure content exa