Authorize.net plugin target="_blank"??

  • Posts: 19
  • Thank you received: 0
12 years 10 months ago #40581

Is it possible to launch the Authorize.net payment plugin in a new window instead of the parent window? Would like the user to stay on my page during/after the checkout process.

Please Log in or Create an account to join the conversation.

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
12 years 10 months ago #40763

Yes. You will have to edit the file plugins/hikashoppayment/authorize_end.php and change the line:
<form id="hikashop_authorize_form" name="hikashop_authorize_form" action="<?php echo $method->payment_params->url;?>" method="post">

to:
<form id="hikashop_authorize_form" name="hikashop_authorize_form" action="<?php echo $method->payment_params->url;?>" target="_blank" method="post">

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum