0121stephen Posted July 13, 2015 Share Posted July 13, 2015 IHi, I am using Paypal 3.10.0 with Prestashop 1.5.2.0 on mysite matchafactory.fr/en/ When customers reach the checkout stage the the checkout page looks in order but paypal link is dead. It links to javascript:void(0). I've seen a few people have had this problem but there are no solutions. Any ideas? Thanks in advance, Stephen Link to comment Share on other sites More sharing options...
El Patron Posted July 13, 2015 Share Posted July 13, 2015 during testing, off topic when I tried to test, I used US address then get http://screencast.com/t/6iOrzOmb7J you should disable countries you do not ship to. I'll go try some other country for testing... Link to comment Share on other sites More sharing options...
El Patron Posted July 13, 2015 Share Posted July 13, 2015 I tried using France, could recreate and see the issue but searching I found no solution. this is a hard one, sorry not much help. I see these errors http://screencast.com/t/nSUsvVV1 then I look at the file see error message cannot load from server (404): http://screencast.com/t/HcaYAYHgLPm Link to comment Share on other sites More sharing options...
0121stephen Posted July 14, 2015 Author Share Posted July 14, 2015 Thanks for looking El Patron and thanks for the tip about the shipping to the USA. 1 Link to comment Share on other sites More sharing options...
0121stephen Posted July 20, 2015 Author Share Posted July 20, 2015 This issue appears only related to the paypal upgrade Paypal 3.10.0 as 3.09 was working fine and continues to work fine if I delete 3.10 and add athe 3.9 module. Is anyone else having issues with this update? 1 Link to comment Share on other sites More sharing options...
Orfila Posted August 18, 2015 Share Posted August 18, 2015 It is happening the same to me, Stephen did you find a solution? Thanks Link to comment Share on other sites More sharing options...
0121stephen Posted August 19, 2015 Author Share Posted August 19, 2015 No, I contacted opaypal and they said it was a prestashop image. I just had to stop using paypal. I have the issue with 1.6.1 and 1.5.2 I am surprised more people don't have this issue. Are you using moneybookers by any chance? Maybe there is a conflict with this module. Link to comment Share on other sites More sharing options...
LENNOXX Posted August 19, 2015 Share Posted August 19, 2015 I have the same issue - and need a prompt solution Link to comment Share on other sites More sharing options...
Orfila Posted August 25, 2015 Share Posted August 25, 2015 Hi Stephen, I´m not usin moneybookers, but I read it could be a java conflict with another module. If someone have any suggestion I appreciate. If not I´m afraid I won´t have another option that stop using paypal. Link to comment Share on other sites More sharing options...
LENNOXX Posted August 26, 2015 Share Posted August 26, 2015 (edited) had the same problem. now i use paypal-version 3.6.8 PayPal 3.6.8.zip with that i can use paypal. (delete the old version completely before upload the new one!) try it - maybe it´s also your solution Edited August 26, 2015 by LENNOXX (see edit history) Link to comment Share on other sites More sharing options...
Orfila Posted August 26, 2015 Share Posted August 26, 2015 I have already installed the old version you said but still is not working. LENNOXX Thank you for your help anyway If someone find a solution please help me! Link to comment Share on other sites More sharing options...
0121stephen Posted August 27, 2015 Author Share Posted August 27, 2015 Going back to the earlier version of paypal 3.6.8 solved my problem thanks. I am a bit worried about updates and if it will continue to work. Can someone look into what javascript conflict is causing the problems with the newer versions of paypal. Thanks Link to comment Share on other sites More sharing options...
redlink Posted August 27, 2015 Share Posted August 27, 2015 Tnanks you,!! First unistall the new version and after install de old version 3.6.8, really this problem with the new version needs update. Thanks you for your solution Link to comment Share on other sites More sharing options...
Mispinked Posted September 12, 2015 Share Posted September 12, 2015 can someone help me? i'm using paypal v3.10.0. I have the exact same problems with paypal with the dead link, so I want to try installing the old version of paypal. I'm using prestashop cloud, but I can't download this old version to install. I am restricted! Pls see screenshot. Pls help me. I really need this to work asap. Link to comment Share on other sites More sharing options...
JulienFischer Posted September 16, 2015 Share Posted September 16, 2015 I'm using paypal v3.10.2, also on PrestaShop Cloud... Still the same issue, the PayPal link is dead. It looks like many users have the same issue! Link to comment Share on other sites More sharing options...
Mikie Posted September 23, 2015 Share Posted September 23, 2015 I had the same problem. After a long search I think I solved, and it seems to be a cache problem. Go to Performance parameters, for smarty options, set template compilation to force compilation and no cache. Then save. After that you can set these parameters to the previous status. Link to comment Share on other sites More sharing options...
JulienFischer Posted September 23, 2015 Share Posted September 23, 2015 I just tried to deactivate and delete the cache. I also deactivated SmartCache for Javascript. Unfortunately for me it did not help... Link to comment Share on other sites More sharing options...
Mikie Posted September 24, 2015 Share Posted September 24, 2015 The version of my prestashop is 1.6.0.8, and the previous working version of paypal was 3.10.0 I have deactivated all option about cache and all options of CCC. Because the file paypal.js is not loaded as a normal javascript but is embedded inside the html, I think it needed to deactivate all possible options. 1 Link to comment Share on other sites More sharing options...
jordido Posted October 6, 2015 Share Posted October 6, 2015 The version of my prestashop is 1.6.0.8, and the previous working version of paypal was 3.10.0 I have deactivated all option about cache and all options of CCC. Because the file paypal.js is not loaded as a normal javascript but is embedded inside the html, I think it needed to deactivate all possible options. Thanks Mikie. This solution has solved also my problem. Now the question is, how much the performance of the site will decrease, but I haven´t found any other solution. Link to comment Share on other sites More sharing options...
Mikie Posted October 6, 2015 Share Posted October 6, 2015 Thanks Mikie. This solution has solved also my problem. Now the question is, how much the performance of the site will decrease, but I haven´t found any other solution. You are welcome. I don't know about the performance. But you could active again your cache options and test it on some pages. I think it depends on the server configuration too. Link to comment Share on other sites More sharing options...
kylegap Posted October 9, 2015 Share Posted October 9, 2015 I'm having the exact same problem. 1 Link to comment Share on other sites More sharing options...
konradkw Posted October 10, 2015 Share Posted October 10, 2015 (edited) I have this problem 2. Is there a fix please? Everything seems to be set up correctly yet I am unable to click on the Pay button. I have several other prestashop sites and all work fine except for this one: https://www.violin.fashion PLEASE HELP Edited October 10, 2015 by konradkw (see edit history) Link to comment Share on other sites More sharing options...
digiac Posted October 15, 2015 Share Posted October 15, 2015 So worried, i have the same problem. Link to comment Share on other sites More sharing options...
digiac Posted October 15, 2015 Share Posted October 15, 2015 esay solution, just installed the old version Paypal and the problem removed. Link to comment Share on other sites More sharing options...
Frederikus Posted October 20, 2015 Share Posted October 20, 2015 I have the same issue I'm using prestashop cloud how can I downgrade? Link to comment Share on other sites More sharing options...
Gando Posted November 22, 2015 Share Posted November 22, 2015 I had the same issue. What helped me was "Use PayPal In Context Checkout" set to "NO" and now I can use cache and smard cache for JavaScript too. 1 Link to comment Share on other sites More sharing options...
the2tor Posted December 1, 2015 Share Posted December 1, 2015 I had the same issue. What helped me was "Use PayPal In Context Checkout" set to "NO" and now I can use cache and smard cache for JavaScript too. This solution wokrs for me... Link to comment Share on other sites More sharing options...
ges30 Posted January 5, 2016 Share Posted January 5, 2016 Hello, Same problem after upgrading to 1.6.1.3. I tried every solution given in this topic and on some other forums. I regenerated the htaccess. Set debug on but no error shows. Anyone has another idea? Link to comment Share on other sites More sharing options...
Vítor Miguel Gomes Posted January 8, 2016 Share Posted January 8, 2016 had the same problem. now i use paypal-version 3.6.8 PayPal 3.6.8.zip 826.91KB 140 downloads with that i can use paypal. (delete the old version completely before upload the new one!) try it - maybe it´s also your solution OBRIGADO, RESOLVIDO Link to comment Share on other sites More sharing options...
Szed Posted January 25, 2016 Share Posted January 25, 2016 Hello ! Same issues here but with Paypal and another paiement module (which work also with href="javascript(void)". I figure something. When link seems disabed, uncheck then check the CGU checkbox reload the paiement methods and fix the issues... but why ? Link to comment Share on other sites More sharing options...
ABANGWEB Posted April 11, 2016 Share Posted April 11, 2016 We got the point, "Use PayPal In Context Checkout" set to "NO" and now cache and smard cache for JavaScript work like a charm. Any solution for context checkout set to yes, and use cache and smart cache? Link to comment Share on other sites More sharing options...
Hartsa Posted May 3, 2016 Share Posted May 3, 2016 Hello, I have similiar problem with latest Paypal europe module. If I activate "Use PayPal In Context Checkout" -> try to pay with paypal -> this error pops up: error in ajax post error Activated console on google chrome and noticed that paypal loads mixed content on secure page. ..../payment.php loads with insecure connection: http://www.store.fi/modules/paypal/express_checkout/payment.php?&ajax=1&onlytoken=1&express_checkout=cart¤t_shop_url=https://www.store.fi/fi/pikatilaus?&bn=PRESTASHOP_ECM&quantity=&id_p_attr= Does anybody have a clue how to force it load all content with https -connection? Link to comment Share on other sites More sharing options...
jetx Posted May 3, 2016 Share Posted May 3, 2016 It's buggy, revert to previous version, v3.10.2 Link to comment Share on other sites More sharing options...
jossart Posted May 5, 2016 Share Posted May 5, 2016 Im having the same problem My paypal checkout botton is not working.. I download an old version, i change permissions, I made all the changes that paypal and prestashop told me and is not working! It say a javascrip:voi problem Did someone find a solution? Many thanks!! Link to comment Share on other sites More sharing options...
tstead Posted August 8, 2016 Share Posted August 8, 2016 I don't know if people are still having this problem, but I recently upgraded to Paypal 3.10.10 and found the problem. I fixed this by making a minor source code modification: modules/paypal/views/hook/express_checkout_payment.tpl From line 58 the file reads: {else} <p class="payment_module"> <a href="javascript:void(0)" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}"> {if isset($use_mobile) && $use_mobile} <img src="{$base_dir_ssl|escape:'htmlall':'UTF-8'}modules/paypal/views/img/logos/express_checkout_mobile/CO_{$PayPal_lang_code|escape:'htmlall':'UTF-8'}_orange_295x43.png" /> {else} The <a> tag is missing an onclick handler... Update the line to read: <a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}"> After making this change I could run with caching on as normal. Also I could operate paypal with Use Paypal in Context Checkout set to No. As I don't have a cert yet I thought that may be preferable. Link to comment Share on other sites More sharing options...
ManuPecasmode Posted November 15, 2016 Share Posted November 15, 2016 Hello! One of my friends send me that solution: one solution is replace this "javascript:void(0)" whith "#". for example: <a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}"> will be <a href="#" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}"> but only in '<a>' tags with href and onclick together. 2 Link to comment Share on other sites More sharing options...
ian_21 Posted December 27, 2016 Share Posted December 27, 2016 I just upgraded to the very latest prestashop version 1.6.1.10 and the latest PayPal module 3.10 and having the same problem above. I believe the missing image linked to a page giving the customer info about PayPal and this file no longer exists on /modules/paypal/about.php My fix was this:- 1. I logged into the front end as a customer so we have the creditorials to get to a customer account 2. open prestashop back office and go to Modules- Positions and run the live edit on the top right. 3. go to customer account page i.e. sign in and click on the My alert tab (This will show the paypal missing ? image) and click the bin icon next to it. 4 save changes and exit live edit Problem solved Link to comment Share on other sites More sharing options...
cate.88 Posted July 13, 2017 Share Posted July 13, 2017 Hello! One of my friends send me that solution: one solution is replace this "javascript:void(0)" whith "#". for example: <a href="javascript:void(0)" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}"> will be <a href="#" onclick="$('#paypal_payment_form').submit();" id="paypal_process_payment" title="{l s='Pay with PayPal' mod='paypal'}"> but only in '<a>' tags with href and onclick together. Hi, if i change javascript:void(0) with #, button become clickable (i think i've try every fix on the web, and this seems to be the only one make my button working), but i remain on the same page..maybe i'm making something wrong.. Link to comment Share on other sites More sharing options...
Bon-Hwa16 Posted February 2, 2018 Share Posted February 2, 2018 While browsing we get error javascript:void(0). It’s actually indication that error stemming from your browser, which in turn blocks you from accessing a specific site. I have visited a lot of sites to find the solution then finally https://appuals.com/solved-javascriptvoid0/ sound good which have multiple solutions to fix it. Link to comment Share on other sites More sharing options...
lingmaaki Posted February 10, 2020 Share Posted February 10, 2020 javascript:void(0) is not a very critical error, it sure is an irritating to encounter. When you encounter the javascript:void(0) error it most probably is an indication of an error stemming from your browser; which in turn blocks you from accessing a particular website. The root cause of the error can be traced to a resident pop up blocker in your internet browser. Also, it may be triggered by a proxy server if you are connecting to the internet through proxy. The void operator evaluates the given expression and then returns undefined. If you have pass 0 as the unary expression operand to the void operator, JavaScript coerces 0 to "false" and returns, but void doesn't care and simply returns undefined, which means "do nothing" . Put them together and you have composed a way to programmatically "do nothing" when a link is clicked. JavaScript Void(0) is often used when, inserting an expression into a web page may produce an unwanted side-effect. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now