Guest Posted June 9, 2009 Share Posted June 9, 2009 I've found out that because im using frames when ppl go to pay for their items and click on the final continue button an error is coming up from pay paypal... 'Sorry, an error occurred after you clicked the last link' so, how do i get the button on the product_confirmation.php page to open a new window? ive looked all over net but cant find anything! Thanks for your help! Neil Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2009 Share Posted June 9, 2009 I've found out that because im using frames when ppl go to pay for their items and click on the final continue button an error is coming up from pay paypal...'Sorry, an error occurred after you clicked the last link' so, how do i get the button on the product_confirmation.php page to open a new window? ive looked all over net but cant find anything! Thanks for your help! Neil if you post a copy of the code I'm sure one of the vets here can help Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2009 Share Posted June 9, 2009 if you post a copy of the code I'm sure one of the vets here can help well im going to post the php code which surrounds the area near the button.gif which ppl click on which then takes them to paypal page which is where i get the error, i need this to open in a new window or to take over the whole page so it loads. <?php } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="right" class="main"> <?php if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . "\n"; ?> </td> </tr> </table></td> <td></td> </tr> </table></form></td> Link to comment Share on other sites More sharing options...
raggy Posted July 22, 2009 Share Posted July 22, 2009 any solution? Link to comment Share on other sites More sharing options...
♥ecartz Posted July 22, 2009 Share Posted July 22, 2009 In checkout_confirmation.php, look for the line that says, echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); and change to echo tep_draw_form('checkout_confirmation', $form_action_url, 'post', 'target="_blank"'); Always back up before making changes. Link to comment Share on other sites More sharing options...
MouCo Posted March 26, 2010 Share Posted March 26, 2010 In checkout_confirmation.php, look for the line that says, echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); and change to echo tep_draw_form('checkout_confirmation', $form_action_url, 'post', 'target="_blank"'); Thank you for this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.