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

#   PAYPAL redirect

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 11 months ago [\#29872](#29872) by [alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")  *[PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#29872 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")* was created by *[alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")*

Hi at all,

So... my problem is as follows.

I set up as a payment method Paypal.
I configured the module by entering the email address in the required field.

The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase.
I click next and the page that appears as text *"Please wait to be redirected to the PayPal website.
Should you not be redirected automatically after 10 seconds, click the button below "*

My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.

How can I fix so that the redirect page on paypal or automatic?

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5ODcyLXBheXBhbC1yZWRpcmVjdD9sYW5nPWZyJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 11 months ago [\#29879](#29879) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#29879 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

Hi,

That means that you have a javascript error on your pages. You can see the error if you open your browser's javascript error console while on that page.
Having a look at your shop would help too.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 11 months ago [\#29918](#29918) by [alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")  Replied by *[alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#29918 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

i trying to trace with firebug but doesn't show any javascript error.

my site is [ www.worldhorses.it](http://www.worldhorses.it)

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 11 months ago [\#29919](#29919) by [alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")  Replied by *[alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#29919 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

to check the steps, select SELLERIA and SELLE AMERICANE after

[ www.worldhorses.it/index.php?option=com\_...americane&amp;Itemid=110](http://www.worldhorses.it/index.php?option=com_hikashop&ctrl=category&task=listing&cid=14&name=selle-americane&Itemid=110)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5ODcyLXBheXBhbC1yZWRpcmVjdD9sYW5nPWZyJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 11 months ago [\#29935](#29935) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#29935 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

Could you try to change the code:
$doc =&amp; JFactory::getDocument();
$doc-&gt;addScriptDeclaration("window.addEvent('domready', function() {document.getElementById('hikashop_paypal_form').submit();});");
JRequest::setVar('noform',1);
?&gt;
&lt;/form&gt;

to:
JRequest::setVar('noform',1); ?&gt;
&lt;/form&gt;
&lt;script type="text/javascript"&gt;
document.getElementById('hikashop_paypal_form').submit();
&lt;/script&gt;

That should avoid the problem (apparently an incompatibility on your website between mootools domready event and jquery).

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 11 months ago -  14 years 11 months ago [\#29938](#29938) by [alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")  Replied by *[alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#29938 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

fantastic. it works!!!

Thank you!

Last edit: 14 years 11 months ago by [alphascorpii](/forum/user/4558-alphascorpii "View alphascorpii's Profile").

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

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

Less More

- Posts: 78
- Thank you received: 1
-
-

14 years 3 months ago [\#57183](#57183) by [adeptdesigns](/forum/user/4465-adeptdesigns "View adeptdesigns's Profile")  Replied by *[adeptdesigns](/forum/user/4465-adeptdesigns "View adeptdesigns's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#57183 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

Which file requires this edit?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5ODcyLXBheXBhbC1yZWRpcmVjdD9sYW5nPWZyJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 3 months ago [\#57262](#57262) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#57262 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

It's the file plugins/hikashoppayment/paypal/paypal_end.php

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

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

Less More

- Posts: 78
- Thank you received: 1
-
-

14 years 3 months ago [\#57386](#57386) by [adeptdesigns](/forum/user/4465-adeptdesigns "View adeptdesigns's Profile")  Replied by *[adeptdesigns](/forum/user/4465-adeptdesigns "View adeptdesigns's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#57386 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

Pardon the confusion, my file doesn't have the described code... Mine is:
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 1.5.8 * @author hikashop.com * @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;div class="hikashop_paypal_end" id="hikashop_paypal_end"&gt; &lt;span id="hikashop_paypal_end_message" class="hikashop_paypal_end_message"&gt; &lt;?php echo JText::sprintf('PLEASE_WAIT_BEFORE_REDIRECTION_TO_X',$method-&gt;payment_name).'&lt;br/&gt;'. JText::_('CLICK_ON_BUTTON_IF_NOT_REDIRECTED');?&gt; &lt;/span&gt; &lt;span id="hikashop_paypal_end_spinner" class="hikashop_paypal_end_spinner hikashop_checkout_end_spinner"&gt; &lt;/span&gt; &lt;br/&gt; &lt;form id="hikashop_paypal_form" name="hikashop_paypal_form" action="&lt;?php echo $method-&gt;payment_params-&gt;url;?&gt;" method="post"&gt; &lt;div id="hikashop_paypal_end_image" class="hikashop_paypal_end_image"&gt; &lt;input id="hikashop_paypal_button" type="submit" value="&lt;?php echo JText::_('PAY_NOW');?&gt;" name="" alt="&lt;?php echo JText::_('PAY_NOW');?&gt;" /&gt; &lt;/div&gt; &lt;?php foreach( $vars as $name =&gt; $value ) { echo '&lt;input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" /&gt;'; } JRequest::setVar('noform',1); ?&gt; &lt;/form&gt; &lt;script type="text/javascript"&gt; document.getElementById('hikashop_paypal_form').submit(); &lt;/script&gt; &lt;/div&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5ODcyLXBheXBhbC1yZWRpcmVjdD9sYW5nPWZyJnRtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 3 months ago [\#57430](#57430) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PAYPAL redirect](/forum/4-how-to/29872-paypal-redirect#57430 "Hi at all,  So... my problem is as follows.  I set up as a payment method Paypal. I configured the module by entering the email address in the required field.  The steps of e-commerce to work regularly until last, where I must confirm what type of paypal as payment for the purchase. I click next and the page that appears as text &quot;Please wait to be redirected to the PayPal website. Should you not be redirected automatically after 10 seconds, click the button below &quot;  My problem is that the page is never redirected automatically. To go to complete the payment on paypal you must always click on the button.  How can I fix so that the redirect page on paypal or automatic?  Thank you")*

Yes. That modification was added several months ago to HikaShop.
You don't have to do it anymore.

Note that in another thread, in order to solve another problem, I told you to do the reverse modification of this thread. So you need to put it back to as it was before.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5ODcyLXBheXBhbC1yZWRpcmVjdD9sYW5nPWZyJnRtcGw9bWFya2Rvd24=) 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.141 seconds

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