- Posts: 966
- Thank you received: 11
Open Paypal In New Window
13 years 8 months ago #90355
by MyWorld
Open Paypal In New Window was created by MyWorld
I would like Paypal to open in a new window when the user is going to pay. How can I do that please? I assume it's in the checkout > step.php in the hikashop_checkout_next_button section but I'm not sure how to edit the code.
Thank you!!
Thank you!!
Please Log in or Create an account to join the conversation.
13 years 8 months ago #90512
by nicolas
Replied by nicolas on topic Open Paypal In New Window
You need to edit the file plugins/hikashoppayment/paypal/paypal_end.php and change the line:
<form id="hikashop_paypal_form" name="hikashop_paypal_form" action="<?php echo $method->payment_params->url;?>" method="post">
to:
<form id="hikashop_paypal_form" name="hikashop_paypal_form" action="<?php echo $method->payment_params->url;?>" method="post" target="_blank">
<form id="hikashop_paypal_form" name="hikashop_paypal_form" action="<?php echo $method->payment_params->url;?>" method="post">
to:
<form id="hikashop_paypal_form" name="hikashop_paypal_form" action="<?php echo $method->payment_params->url;?>" method="post" target="_blank">
Please Log in or Create an account to join the conversation.
13 years 8 months ago #91497
by MyWorld
Replied by MyWorld on topic Open Paypal In New Window
I checked in both locations below and I don't see the file "hikashoppayment"
System > Configuration > Plugins
Extensions > Plugin Manager
Thanks!!
System > Configuration > Plugins
Extensions > Plugin Manager
Thanks!!
Please Log in or Create an account to join the conversation.
13 years 8 months ago #91527
by nicolas
Replied by nicolas on topic Open Paypal In New Window
You need to edit that file via FTP. You can't do that via the backend.
Please Log in or Create an account to join the conversation.
13 years 8 months ago #91539
by MyWorld
Replied by MyWorld on topic Open Paypal In New Window
OOOOOOH! 
Will it get overwritten when the component is updated?
Thanks!!
Will it get overwritten when the component is updated?
Thanks!!
Please Log in or Create an account to join the conversation.
13 years 8 months ago #91542
by nicolas
Replied by nicolas on topic Open Paypal In New Window
Yes it will.
Please Log in or Create an account to join the conversation.
13 years 8 months ago #91545
by MyWorld
Replied by MyWorld on topic Open Paypal In New Window
Ok thanks. Guess I just have to try to remember to change it back.
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds