کد PHP:
<form method="post" id="pasargad_form" action="<?php echo $res['p1']; ?>">
<input type="hidden" name="invoiceNumber" value="<?php echo $res['paymentID'] ?>" />
<input type="hidden" name="invoiceDate" value="<?php echo $res['date'] ?>" />
<input type="hidden" name="amount" value="<?php echo $res['amount'] ?>" />
<input type="hidden" name="terminalCode" value="<?php echo $res['p3']; ?>" />
<input type="hidden" name="merchantCode" value="<?php echo $res['p2'] ?>" />
<input type="hidden" name="redirectAddress" value="<?php echo $res['callbackURL']; ?>" />
<input type="hidden" name="timeStamp" value="<?php echo $res['p5'] ?>" />
<input type="hidden" name="action" value="<?php echo $res['p4'] ?>" />
<input type="hidden" name="sign" value="<?php echo $res['p6'] ?>" />
<input type="submit" class="submit" value=" </"پرداخت
</form>
یکم اینجاش گنگ هست!
action="<?php echo $res['p1'];
واسه ارسال آدرس مثل https://takpardakht.com/pay.php وجود نداره؟