After processing the form, redirect the script to another page?

There is a script with a form which "handles" itself . After all necessary checks I need to redirect to the payment form payment aggregator.

At the docks either button :
print "<html><script language=JavaScript ".

Or form:

 "<form action='' method=POST>".
 "<input type=hidden name=MrchLogin value=$mrh_login>".
 "<input type=hidden name=OutSum value=$out_summ>".
 "<input type=hidden name=InvId value=$inv_id>".
 "<input type=hidden name=Desc value='$inv_desc'>".
 "<input type=hidden name=SignatureValue value=$crc>".
 "<input type=hidden name=Shp_item value='$shp_item'>".
 "<input type=hidden name=IncCurrLabel value=$in_curr>".
 "<input type=hidden name=Culture value=$culture>".
 "<input type=hidden name=Email value=$Email>".
 "<input type=hidden name=ExpirationDate value=$ExpirationDate>".
 "<input type=hidden name=OutSumCurrency value=$OutSumCurrency>".
 "<input type=submit value='Pay'>".

How do I make the script immediately switched the link on the payment aggregator , and did not show another payment button?
March 20th 20 at 11:32
1 answer
March 20th 20 at 11:34
If I'm not mistaken, in this case it will simply be redirected on the link and like me there settings POST method to pass.

If the blunt quarrels ...just understand)))
You yourself are responsible. - Jana commented on March 20th 20 at 11:37

Find more questions by tags PHP