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

#   Paypal payment redirection

##

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 7 months ago -  14 years 7 months ago [\#43680](#43680) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  *[Paypal payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#43680 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")* was created by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")*

Hi,
my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)

I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.

2 questions :
1) where is the called code for this screen ?
I changed plg_hikashoppayment_paypal/paypal_end.php with no success !

2) Probably due to my template, no animated gifs are animating.
- could you modify the spinner reference in PHP like :
document.getElementById('spinner').style.display = '';
document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;

- or put the spinner picture in a CSS :
.hikashop_paypal_end_spinner {
background: url(spinner.gif) no-repeat;
padding-left: 20px;
}

PS : CSS way is working fine !

Thanks a lot.
Regards

Last edit: 14 years 7 months ago by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 7 months ago [\#43802](#43802) 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 payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#43802 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

Hi,

It's the file plugins/hikashoppayment/paypal_end.php that you should modify.

Alternatively, you could simply replace the image in the folder media/com_hikashop/images to another one.
Or simply remove the spinner with CSS:
.hikashop_paypal_end_spinner { display:none; }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 7 months ago [\#43812](#43812) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Paypal payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#43812 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

Hi Nicolas,
I'll try with this file.
I tried to overwrite the spinner file, but the problem is that correct animated files are not animating in my template.
With the CSS trick, it works, but I have to remove the PHP code to avoid 2 spinners.

Could it be an option in the plugin ?
--&gt; remove the spinner, allowing CSS templating

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 7 months ago [\#43985](#43985) 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 payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#43985 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

We'll look at that for next version.

The following user(s) said Thank You: [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 7 months ago [\#44078](#44078) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Paypal payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#44078 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

Thanks for this great product

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 7 months ago -  14 years 7 months ago [\#44675](#44675) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Paypal payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#44675 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

Well I finally had to remove the spinner in the PHP code because :
- it should be in a hidden page element. Thus it's not animating !
- if I use CSS to hide it, the rest of my page is not displaying (site footer) :woohoo:

If you have an idea ?
Thanks Nicolas

Last edit: 14 years 7 months ago by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 7 months ago [\#44804](#44804) 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 payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#44804 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

Removing it in the php is not a problem actually. You can actually do an override of that file by copying it in the folder templates/YOUR_TEMPLATE/hikashoppayment/

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 190
- Thank you received: 0
-
-

14 years 5 months ago [\#48762](#48762) by [codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")  Replied by *[codewarrior](/forum/user/4710-codewarrior "View codewarrior's Profile")* on topic *[Re: Paypal payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#48762 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

Nicolas,
I heared that animated Gifs are not rendered when redirections are started.

One side effect with my YOO template is that my page stops to rendered in browsers (IE9, Firefox). The display stops after your code, and I don't see my page modules and footer !
1) If I refresh the page, I see the footer,
2) If I Show Source in the browser, **the footer IS HERE**,
3) If I Inspect the page with Firefox Firebug, **the code stops after Hikashop and there's no footer**.

A very skilled developper told me that most browser stops rendering when there's a redirection (Paypal).

Could it be possible to differ of one or two seconds, the Paypal Redirection to finish page render ???
Regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#48798](#48798) 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 payment redirection](/forum/2-general-talk-about-hikashop/43680-paypal-payment-redirection#48798 "Hi, my question is related to the Paypal redirection screen with the spinner.gif (before Paypal)  I have a black template (YOOtheme) and the spinner is not nice, because like for Joomla ones, they are designed to be on a white background.  2 questions : 1) where is the called code for this screen ? I changed plg&#95;hikashoppayment&#95;paypal/paypal&#95;end.php with no success !  2) Probably due to my template, no animated gifs are animating. - could you modify the spinner reference in PHP like : document.getElementById('spinner').style.display = ''; document.getElementById('spinner').innerHTML = document.getElementById('spinner').innerHTML;  - or put the spinner picture in a CSS : .hikashop&#95;paypal&#95;end&#95;spinner { background: url(spinner.gif) no-repeat; padding-left: 20px; }  PS : CSS way is working fine !  Thanks a lot. Regards")*

We had to change the code so that it starts the redirect immediately instead of waiting for the page to load as sometimes, other javascript errors on the website would prevent the redirect to be executed.

Doing like we do now allows to avoid that.

You can always revert back to the old method by doing the opposite modification:
[ www.hikashop.com/forum/4-how-to/29872-pa...-redirect.html#29935](http://www.hikashop.com/forum/4-how-to/29872-paypal-redirect.html#29935)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQzNjgwLXBheXBhbC1wYXltZW50LXJlZGlyZWN0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.230 seconds

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

[](#top)
