- Posts: 10
- Thank you received: 1
PayPal Redirect Page Problem
- Andrew
- Topic Author
- Offline
- New Member
-
Less
More
10 years 5 months ago #52098
by Andrew
PayPal Redirect Page Problem was created by Andrew
Hi,
First let me say how awesome EShop is. Simple, responsive and easy to setup.
I am having an issue though. The PayPal Redirect page does have a notice to "Wait for Redirect" but it is just a line of text. I am loosing people during this page...as it takes about 10 seconds sometimes and some people think they are finished (not seeing the line of text asking them to wait). Could you tell me which file to edit to add an animated gif or something to make it more apparent to people that they need to wait? Or better yet, add this to the core code, so it doesn't get overwritten if/when i upgrade.
Mahalo
First let me say how awesome EShop is. Simple, responsive and easy to setup.
I am having an issue though. The PayPal Redirect page does have a notice to "Wait for Redirect" but it is just a line of text. I am loosing people during this page...as it takes about 10 seconds sometimes and some people think they are finished (not seeing the line of text asking them to wait). Could you tell me which file to edit to add an animated gif or something to make it more apparent to people that they need to wait? Or better yet, add this to the core code, so it doesn't get overwritten if/when i upgrade.
Mahalo
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
10 years 5 months ago #52399
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic PayPal Redirect Page Problem
Hello Andrew,
You can edit to add anything that you want there to file components/com_eshop/plugins/payments/os_paypal.php
Please try to do and let me know if you are able to do.
If you need any helps on that, just let me know.
Sincerely, Giang
You can edit to add anything that you want there to file components/com_eshop/plugins/payments/os_paypal.php
Please try to do and let me know if you are able to do.
If you need any helps on that, just let me know.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Mike
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
9 years 2 months ago #75843
by Mike
Replied by Mike on topic PayPal Redirect Page Problem
hmmm????
I just tried this and I do NOT see any line of code that I can change that says/looks like:
"Please wait while redirecting to Paypal for processing payment"
BTW, 10 seconds is way too long to simply get redirected to PayPal, there has to be a fix / better solution (while still using paypal) for this issue, please advise.
I too love the component... I think it's the easist E-Commerce component for Joomla (I can't wait to have a;l our customers ditch Virtuemart)
Thankk you in advance.
I just tried this and I do NOT see any line of code that I can change that says/looks like:
"Please wait while redirecting to Paypal for processing payment"
BTW, 10 seconds is way too long to simply get redirected to PayPal, there has to be a fix / better solution (while still using paypal) for this issue, please advise.
I too love the component... I think it's the easist E-Commerce component for Joomla (I can't wait to have a;l our customers ditch Virtuemart)
Thankk you in advance.
Please Log in or Create an account to join the conversation.
- Davide
-
- Offline
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 42
9 years 2 months ago - 9 years 2 months ago #75993
by Davide
Replied by Davide on topic PayPal Redirect Page Problem
Try in components/com_eshop/plugins/payments/os_payment.php (line 513)
setTimeout('redirect()', 7000);
7000 = 7 seconds
Giang is not possibile to have an option in configuration to custom this value? Thanks
setTimeout('redirect()', 7000);
7000 = 7 seconds
Giang is not possibile to have an option in configuration to custom this value? Thanks

Last edit: 9 years 2 months ago by Davide.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
9 years 2 months ago #76552
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic PayPal Redirect Page Problem
Hello Mike and Davide,
In the latest version of EShop, I changed that to 5 seconds.
Sincerely, Giang
In the latest version of EShop, I changed that to 5 seconds.
Sincerely, Giang
The following user(s) said Thank You: Davide, rhylos
Please Log in or Create an account to join the conversation.
- Andrew
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
8 years 11 months ago #80478
by Andrew
Replied by Andrew on topic PayPal Redirect Page Problem
Thanks Giang,
I am looking at os_paypal.php and I dont see a place to add it, or something that says "wait for redirect". I dont see any "html" just php. Thanks for any help.
I am looking at os_paypal.php and I dont see a place to add it, or something that says "wait for redirect". I dont see any "html" just php. Thanks for any help.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
8 years 11 months ago #80858
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic PayPal Redirect Page Problem
Hello Andrew,
In the newer versions of EShop, you should find it in the file: libraries\omnipay\vendor\joomdonation\payment\src\AbstractPayment.php. Search for setTimeout function.
Hope that this is useful.
Sincerely, Giang
In the newer versions of EShop, you should find it in the file: libraries\omnipay\vendor\joomdonation\payment\src\AbstractPayment.php. Search for setTimeout function.
Hope that this is useful.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Andrew
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
8 years 11 months ago #80924
by Andrew
Replied by Andrew on topic PayPal Redirect Page Problem
Thanks Giang,
I am still not able to get something showing....maybe I am doing something wrong. Here is the modified code in the AbstractPayment.php: (just a portion of the whole page, I added the line the includes the "PayPal_ProgressCircle.gif" )
But on the front-end I only see this during redirect:
I am still not able to get something showing....maybe I am doing something wrong. Here is the modified code in the AbstractPayment.php: (just a portion of the whole page, I added the line the includes the "PayPal_ProgressCircle.gif" )
Code:
protected function renderRedirectForm($url = null, $data = array())
{
?>
<div class="payment-heading" style="text-align:center;"><?php echo $this->redirectHeading; ?></div>
<div style="text-align:center;height:120px;"><img src="PayPal_ProgressCircle.gif" height="75" width="75"></div>
<form method="post" action="<?php echo $url; ?>" name="payment_form" id="payment_form">
<?php
foreach ($data as $key => $val)
But on the front-end I only see this during redirect:
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.