Hello,
I have Cs-Cart Professional 3.0.4 with an admin panel template modification “payment_info.override.tpl”. This will show some additional information on the selected order detail page, in the payment info section, which is working nicely. In that section I am also trying to submit a form to a new browser tab (form attribute target=“_blank” does not work here for some reason) to an external webpage to gather some additional information about the payment. However, clicking the submit button just opens a blank admin panel page with the admin panel base url. Only to “home icon” is visible. See the attached screenshot for more.
The problem is somewhere here:
<br />
<form name="check_payment" action="https://some.external.address.com" method="post" target="_blank"><br />
<input name="MERCHANT_ID" type="hidden" value="{$processor_data.params.svm_merchant_id}" /><br />
<input name="ORDER_NUMBER" type="hidden" value="{$order_info.order_id}" /><br />
<input name="AUTHCODE" type="hidden" value="{$order_info.payment_info.check_payment_authcode}" /><br />
<input name="VERSION" type="hidden" value="2" /><br />
<input name="CULTURE" type="hidden" value="fi_FI" /><br />
<input name="submit_payment_check" type="submit" value="Check payment" /><br />
</form><br />
```<br />
<br />
How should I implement the submit button if the type="submit" does not work here?<br />
<br />
Thanks in advance.<br />
<br />
Br,<br />
Simo<p><a href="127.0.0.1/uploads/monthly_02_2014/post-15242-0-65442300-1391901968.png">Capture_admin_panel_after_submitting_form.PNG</a></p>