Hi ,
using the above code , nothing is generated on the network tab nor the console ,(since the iframe src is from the form and the form action is not executed ) . i tried to make the submit button to trigger the action and changed the code as below (note that input values is being generated from ts code ) /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
<iframe sandbox="allow-forms" style="border:5px dotted red" name="myframe"
width="400" height="600" #myframe
src="" (load)="onload()">
</iframe>
<form [action]="paymentSettings.paymentPageUrl | safeUrl" method="post" id="form1" target="myframe"
(ngSubmit)="submitForm($event)" [formGroup]="paymentIframeForm"
>
<input formControlName="service_command" hidden NAME="service_command" >
<input formControlName="language" hidden NAME="language" >
<input formControlName="merchant_identifier" hidden NAME="merchant_identifier" >
<input formControlName="access_code" hidden NAME="access_code" >
<input formControlName="signature" hidden NAME="signature" >
<input formControlName="merchant_reference" hidden NAME="merchant_reference">
<input value="Send" type="submit" id="form1">
</form>
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
this is the request in the network tab in chrome tools