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

#   PayPal Standard Payments does not redirect

##

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago -  11 years 11 months ago [\#178221](#178221) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178221 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")* was created by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : N/A
-- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token

> Please wait while you are redirected to PayPal
> If you are not redirected after 10 seconds, please click on the button below.

But nothing happens. Even after fixing the obvious javascript error.

FYI, Internet Explorer Conditional Comments go **around** the script declaration. Not inside.
[ msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx](http://msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx)

Code:

&lt;script type="text/javascript"&gt; &lt;!-- document.getElementById('hikashop_paypal_form').submit(); //--&gt; &lt;!--[if IE]&gt; document.getElementById('hikashop_paypal_button').style.display = 'none'; document.getElementById('hikashop_paypal_button_message').innerHTML = ''; &lt;![endif]--&gt; &lt;/script&gt;

Should be:
Code:

&lt;!--[if IE]&gt; &lt;script type="text/javascript"&gt; document.getElementById('hikashop_paypal_button').style.display = 'none'; document.getElementById('hikashop_paypal_button_message').innerHTML = ''; &lt;/script&gt; &lt;![endif]--&gt;

Who is writing this stuff ...?

Last edit: 11 years 11 months ago by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#178288](#178288) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178288 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi,

Yes, I already fixed it last week (and I slapped the person who commited that).
The current HikaShop 2.3.4 package have this fix.

regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago [\#178429](#178429) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  Replied by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178429 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

> Jerome wrote: The current HikaShop 2.3.4 package have this fix.

I am running 2.3.4

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#178431](#178431) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178431 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi,

I know that, you wrote it.
But I'm asking you to re-download it because I said that we updated it.
Sorry, it wasn't clear enough in my previous message.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 82
- Thank you received: 1
-
-
-

11 years 11 months ago [\#178467](#178467) by [jmbgreen](/forum/user/24500-jmbgreen "View jmbgreen's Profile")  Replied by *[jmbgreen](/forum/user/24500-jmbgreen "View jmbgreen's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178467 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

I arrived here to inform you also about this bug. Glad I see you have this addressed.

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

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago -  11 years 11 months ago [\#178490](#178490) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  Replied by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178490 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

> Jerome wrote: I know that, you wrote it.
> But I'm asking you to re-download it because I said that we updated it.
> Sorry, it wasn't clear enough in my previous message.
> Regards,

You are joking right? You have released **multiple versions** with the **same version number** ?! :sick:

When you **update something** you need to **change the version number**. Otherwise there is no point having a version number.

Since you are clearly new to software development, you might want to have a read of [ en.wikipedia.org/wiki/Software\_versioning](http://en.wikipedia.org/wiki/Software_versioning)

> Software versioning is the process of assigning either unique version names or unique version numbers to **unique states** of computer software

Last edit: 11 years 11 months ago by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#178496](#178496) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178496 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi,

I'm not joking.
Before we put the version as stable (activation of the automatic updates) ; we can update the package.
When there is no more blocking issue with the release, we put the package as stable, activate the automatic updates and we do not make more hot fixes.

The paypal issue as been fixed 2 days after the first release ; two weeks before the automatic update.

For the rest, you can see with Nicolas ![:)](/media/kunena/emoticons/8.png ":)")

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago -  11 years 11 months ago [\#178500](#178500) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  Replied by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178500 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

**You have the latest stable version of HikaShop Business: 2.3.4**

... but apparently not, as there was a new 2.3.4 released **today**.

- com\_hikashop\_business\_v2.3.4\_**2014-11-06**\_12-12-44.tar.gz
- com\_hikashop\_business\_v2.3.4\_**2014-10-28**\_05-28-42.tar.gz

Here is a list of files that were changed (not counting the .xml files that were updated to show yesterday's date) Code:

administrator/components/com_hikashop/classes/address.php administrator/components/com_hikashop/classes/discount.php administrator/components/com_hikashop/classes/field.php administrator/components/com_hikashop/classes/filter.php administrator/components/com_hikashop/classes/mail.php administrator/components/com_hikashop/classes/order.php administrator/components/com_hikashop/classes/shipping.php administrator/components/com_hikashop/extensions/plg_hikashop_group/group.php administrator/components/com_hikashop/extensions/plg_hikashop_userpoints/userpoints.php administrator/components/com_hikashop/extensions/plg_hikashoppayment_authorize/authorize.php administrator/components/com_hikashop/extensions/plg_hikashoppayment_paypal/paypal_end.php administrator/components/com_hikashop/extensions/plg_hikashoppayment_paypalexpress/paypalexpress.php administrator/components/com_hikashop/extensions/plg_hikashoppayment_sagepay/sagepay.php administrator/components/com_hikashop/extensions/plg_hikashoppayment_sofort/sofort.php administrator/components/com_hikashop/extensions/plg_hikashoppayment_webmoney/webmoney.php administrator/components/com_hikashop/extensions/plg_system_hikashopregistrationredirect/hikashopregistrationredirect.php administrator/components/com_hikashop/helpers/helper.php administrator/components/com_hikashop/helpers/importvm.php administrator/components/com_hikashop/helpers/pagination.php administrator/components/com_hikashop/helpers/update.php administrator/components/com_hikashop/views/badge/tmpl/form.php administrator/components/com_hikashop/views/config/tmpl/main.php administrator/components/com_hikashop/views/modules/tmpl/form.php components/com_hikashop/controllers/checkout.php components/com_hikashop/views/category/tmpl/listing_list.php components/com_hikashop/views/order/tmpl/show.php components/com_hikashop/views/order/view.html.php language/en-GB/en-GB.com_hikashop.ini media/com_hikashop/css/otree.css

Nothing in the [ changelog](http://www.hikashop.com/support/documentation/56-hikashop-changelog.html), but **language/en-GB/en-GB.com\_hikashop.ini** contains Code:

;since 2.3.5 PAYMENT_CAPTURE_ORDER_STATUS="Payment capture order status"

Last edit: 11 years 11 months ago by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile").

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

Less More

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

11 years 11 months ago [\#178502](#178502) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#178502 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi,

The date on the package is the date of the day you do the download. It has nothing to do with the version. You can find the build number in the advanced parameters of the HikaShop configuration. That number will change each time we generate a hotfix package after the release.

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

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago -  11 years 11 months ago [\#181041](#181041) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  Replied by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#181041 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Are you sure your update mechanism is working correctly?

Three times now I have checked and hikashop cheerfully reports:

**You have the latest stable version of HikaShop Business: 2.3.4**

.... but I find there is a different version of 2.3.4 published.

Compare the three versions of 'version' 2.3.4 attached.

Last edit: 11 years 11 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago [\#181042](#181042) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  Replied by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#181042 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Also, despite the MSDN article, the conditional tags only work when inside the script declaration.

Please, test yourself before changing, but only the following works for me:
Code:

&lt;script type="text/javascript"&gt; &lt;!--[if IE]&gt; document.getElementById('hikashop_paypal_button').style.display = 'none'; document.getElementById('hikashop_paypal_button_message').innerHTML = ''; &lt;![endif]--&gt; &lt;/script&gt; &lt;script type="text/javascript"&gt; &lt;!-- document.getElementById('hikashop_paypal_form').submit(); //--&gt; &lt;/script&gt;

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 11 months ago [\#181144](#181144) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#181144 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi,

First of all, please don't attach archive of our component on the forum: This is a violation of our copyright !

Then, you have to download again the latest version from our website and install it over your current install.
It is still the 2.3.4 but with some corrections like the one you need. ![;)](/media/kunena/emoticons/11.png ";)")

The code to use is: Code:

&lt;script type="text/javascript"&gt; &lt;!-- document.getElementById('hikashop_paypal_form').submit(); //--&gt; &lt;/script&gt; &lt;!--[if IE]&gt; &lt;script type="text/javascript"&gt; document.getElementById('hikashop_paypal_button').style.display = 'none'; document.getElementById('hikashop_paypal_button_message').innerHTML = ''; &lt;/script&gt; &lt;![endif]--&gt;

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

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago -  11 years 11 months ago [\#181203](#181203) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  Replied by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#181203 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

> Xavier wrote: First of all, please don't attach archive of our component on the forum: This is a violation of our copyright !

Sorry about uploading the archive. It was not intentional.

> Xavier wrote: Then, you have to download again the latest version from our website and install it over your current install.
> It is still the 2.3.4 but with some corrections like the one you need. ![;)](/media/kunena/emoticons/11.png ";)")

**So, to get this straight:**

- You release 2.3.4 (version ?)
- A notice is displayed in hikashop for users on 2.3.3
- they upgrade to whichever version of 2.3.4 you currently have published
- You release another 2.3.4
- You release another 2.3.4
- Customers don't receive an update notification, because it's published as the same version

So what is your recommendation for keeping the component up to date? Should I schedule to download the latest version of the latest version each week and compare with the previous version?

Do you publish a changelog for the patch versions of your released versions?

I highly recommend adopting [ semver.org/](http://semver.org/) as a solution to this problem.

Last edit: 11 years 11 months ago by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile").

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

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

Less More

- Posts: 51
- Thank you received: 1
-
-

11 years 11 months ago [\#181204](#181204) by [Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")  Replied by *[Dorgo](/forum/user/8838-dorgo "View Dorgo's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#181204 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

> Xavier wrote: Hi,
> The code to use is:
>
> Code:
>
>  &lt;script type="text/javascript"&gt; &lt;!-- document.getElementById('hikashop_paypal_form').submit(); //--&gt; &lt;/script&gt; &lt;!--[if IE]&gt; &lt;script type="text/javascript"&gt; document.getElementById('hikashop_paypal_button').style.display = 'none'; document.getElementById('hikashop_paypal_button_message').innerHTML = ''; &lt;/script&gt; &lt;![endif]--&gt;

Well this does not work in my testing on IE8.
The button is still visible and the redirect does not trigger.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 11 months ago [\#181335](#181335) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#181335 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi,

If this code is not working so I think that you have a javascript error on your website.
And because of this error the other scripts are not executed correctly, so the button is not hidden.

Please check that thanks to your browser console.

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 10 months ago [\#183388](#183388) by [mdaelectronics](/forum/user/34669-mdaelectronics "View mdaelectronics's Profile")  Replied by *[mdaelectronics](/forum/user/34669-mdaelectronics "View mdaelectronics's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#183388 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi Guys,

If i wanted to add the code manually which file am i editing?

public_html/components/com_hikashop/controllers/checkout.php ?

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

Less More

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

11 years 10 months ago [\#183390](#183390) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal Standard Payments does not redirect](/forum/29-payment-methods/872792-paypal-standard-payments-does-not-redirect#183390 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.29 -- Browser(s) name and version -- : N/A -- Error-message(debug-mod must be tuned on) -- : Uncaught SyntaxError: Unexpected token  But nothing happens. Even after fixing the obvious javascript error.  FYI, Internet Explorer Conditional Comments go around the script declaration. Not inside.   msdn.microsoft.com/en-au/library/ms537512(v=vs.85).aspx  Should be:  Who is writing this stuff ...?")*

Hi,

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

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

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

[](#top)
