[Skip to main content](#vessel-content)

#   Open Paypal In New Window

##

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 8 months ago [\#90355](#90355) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  *[Open Paypal In New Window](/forum/4-how-to/78428-open-paypal-in-new-window#90355 "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 &gt; step.php in the hikashop&#95;checkout&#95;next&#95;button section but I'm not sure how to edit the code.  Thank you!!")* was created by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")*

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 &gt; step.php in the hikashop_checkout_next_button section but I'm not sure how to edit the code.

Thank you!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDI4LW9wZW4tcGF5cGFsLWluLW5ldy13aW5kb3c/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 8 months ago [\#90512](#90512) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Open Paypal In New Window](/forum/4-how-to/78428-open-paypal-in-new-window#90512 "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 &gt; step.php in the hikashop&#95;checkout&#95;next&#95;button section but I'm not sure how to edit the code.  Thank you!!")*

You need to edit the file plugins/hikashoppayment/paypal/paypal_end.php and change the line:
&lt;form id="hikashop_paypal_form" name="hikashop_paypal_form" action="&lt;?php echo $method-&gt;payment_params-&gt;url;?&gt;" method="post"&gt;

to:
&lt;form id="hikashop_paypal_form" name="hikashop_paypal_form" action="&lt;?php echo $method-&gt;payment_params-&gt;url;?&gt;" method="post" target="_blank"&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDI4LW9wZW4tcGF5cGFsLWluLW5ldy13aW5kb3c/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 8 months ago [\#91497](#91497) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Open Paypal In New Window](/forum/4-how-to/78428-open-paypal-in-new-window#91497 "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 &gt; step.php in the hikashop&#95;checkout&#95;next&#95;button section but I'm not sure how to edit the code.  Thank you!!")*

I checked in both locations below and I don't see the file "hikashoppayment"

System &gt; Configuration &gt; Plugins
Extensions &gt; Plugin Manager

Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDI4LW9wZW4tcGF5cGFsLWluLW5ldy13aW5kb3c/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 8 months ago [\#91527](#91527) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Open Paypal In New Window](/forum/4-how-to/78428-open-paypal-in-new-window#91527 "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 &gt; step.php in the hikashop&#95;checkout&#95;next&#95;button section but I'm not sure how to edit the code.  Thank you!!")*

You need to edit that file via FTP. You can't do that via the backend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDI4LW9wZW4tcGF5cGFsLWluLW5ldy13aW5kb3c/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 8 months ago [\#91539](#91539) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Open Paypal In New Window](/forum/4-how-to/78428-open-paypal-in-new-window#91539 "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 &gt; step.php in the hikashop&#95;checkout&#95;next&#95;button section but I'm not sure how to edit the code.  Thank you!!")*

OOOOOOH! ![:)](/media/kunena/emoticons/3.png ":)")

Will it get overwritten when the component is updated?

Thanks!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDI4LW9wZW4tcGF5cGFsLWluLW5ldy13aW5kb3c/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

13 years 8 months ago [\#91542](#91542) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Open Paypal In New Window](/forum/4-how-to/78428-open-paypal-in-new-window#91542 "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 &gt; step.php in the hikashop&#95;checkout&#95;next&#95;button section but I'm not sure how to edit the code.  Thank you!!")*

Yes it will.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDI4LW9wZW4tcGF5cGFsLWluLW5ldy13aW5kb3c/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 8 months ago [\#91545](#91545) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Open Paypal In New Window](/forum/4-how-to/78428-open-paypal-in-new-window#91545 "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 &gt; step.php in the hikashop&#95;checkout&#95;next&#95;button section but I'm not sure how to edit the code.  Thank you!!")*

Ok thanks. Guess I just have to try to remember to change it back.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDI4LW9wZW4tcGF5cGFsLWluLW5ldy13aW5kb3c/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.086 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
