Bratsaki Posted September 23, 2012 Share Posted September 23, 2012 (edited) Hello, I have prestashop 1.5.0.17 Today i got this error on my paypal module! I am using Version: 3.2.1 PHP Fatal error: Class 'BWDisplay' not found in /home/diachron/public_html/e-shop/modules/paypal/express_checkout/submit.php on line 281 When i checkout it doesn't load at all! http://www.diachrong...-shop/index.php Can you help me please? Edited September 23, 2012 by Bratsaki (see edit history) Link to comment Share on other sites More sharing options...
ariko Posted September 23, 2012 Share Posted September 23, 2012 I got the same error with new module and prestashop 1.4.9.0 I've downgrade paypal module to 2.8.7 1 Link to comment Share on other sites More sharing options...
Bratsaki Posted September 23, 2012 Author Share Posted September 23, 2012 In what version paypal 2.8.7 is found? Link to comment Share on other sites More sharing options...
Bratsaki Posted September 23, 2012 Author Share Posted September 23, 2012 (edited) I think i found the source of the error ! I have prestashop 1.5.0.17 ! If i run this http://diachrongames.../validation.php i get this Verification failure (using cURL). Returned: INVALID cURL error:The PayPal transaction could not be VERIFIED. Any ideas? Edited September 23, 2012 by Bratsaki (see edit history) Link to comment Share on other sites More sharing options...
ariko Posted September 24, 2012 Share Posted September 24, 2012 In what version paypal 2.8.7 is found? in prestashop 1.4.8.3 1 Link to comment Share on other sites More sharing options...
fGaillard Posted September 24, 2012 Share Posted September 24, 2012 Hi, The BWDisplay error is being corrected. As I know you are using another module including the backward compatibility folder. This module is loaded before the PayPal module, that is why you are having this message. We are releasing the backward compatibility as a new module and it will be added natively into the solution (PS 1.4). This version will be loaded before all other modules and will make the BWDisplay class accessible. I hope it will helps. The module will be available soon (and the new PayPal too). Link to comment Share on other sites More sharing options...
Bratsaki Posted September 24, 2012 Author Share Posted September 24, 2012 (edited) When will this module be available??? How am i going to be informed? Edited September 24, 2012 by Bratsaki (see edit history) Link to comment Share on other sites More sharing options...
fGaillard Posted September 24, 2012 Share Posted September 24, 2012 The module will be available in the afternoon. I will let you a message on this thread 1 Link to comment Share on other sites More sharing options...
Bratsaki Posted September 24, 2012 Author Share Posted September 24, 2012 I am looking forward for this!!! Link to comment Share on other sites More sharing options...
fGaillard Posted September 24, 2012 Share Posted September 24, 2012 The module is available here : http://addons.prestashop.com/en/6222-backwardcompatibility.html P.S : The module is for PrestaShop 1.4 only ! Link to comment Share on other sites More sharing options...
Bratsaki Posted September 24, 2012 Author Share Posted September 24, 2012 How about prestashop 5 ? Link to comment Share on other sites More sharing options...
fGaillard Posted September 24, 2012 Share Posted September 24, 2012 Backward compatibility tools are not needed for PS 1.5 If this message comes again there is another problem ^^ Link to comment Share on other sites More sharing options...
Bratsaki Posted September 24, 2012 Author Share Posted September 24, 2012 So if i install PS1.5 and paypal i must delete the backward compatibility folder in order to work??? I am using PS 1.5 now! Link to comment Share on other sites More sharing options...
fGaillard Posted September 24, 2012 Share Posted September 24, 2012 Sorry, I did not see you were using PS 1.5. Could you please give me an access to your BO & FTP by PM ? Link to comment Share on other sites More sharing options...
Bratsaki Posted September 24, 2012 Author Share Posted September 24, 2012 Ok i send you Link to comment Share on other sites More sharing options...
ariko Posted September 24, 2012 Share Posted September 24, 2012 I'm using prestashop 1.4.9.0 1. installed backward module 2. then new paypal 3.2.1. and got ERROR ! You need to provide your PayPal API credentials in step 3 in order to accept payments. But I have provided it already ?! But it is provided with all credentials required for the API Please advise how to proceed Link to comment Share on other sites More sharing options...
Bratsaki Posted September 24, 2012 Author Share Posted September 24, 2012 Sorry, I did not see you were using PS 1.5. Could you please give me an access to your BO & FTP by PM ? Have you managed to make it work ? Link to comment Share on other sites More sharing options...
fGaillard Posted September 24, 2012 Share Posted September 24, 2012 Hi ariko, Could you please give accesses to you shop please ? (via PM) Link to comment Share on other sites More sharing options...
fGaillard Posted September 24, 2012 Share Posted September 24, 2012 Have you managed to make it work ? Yes, sorry I am very busy, I will take a look asap. Regards. 1 Link to comment Share on other sites More sharing options...
Bratsaki Posted September 24, 2012 Author Share Posted September 24, 2012 Did you checked it ? Link to comment Share on other sites More sharing options...
ariko Posted September 24, 2012 Share Posted September 24, 2012 one more issue: paypal module locks language and currency change. After delete the module all back to normal .... Link to comment Share on other sites More sharing options...
RuudJ Posted September 25, 2012 Share Posted September 25, 2012 We are currently also running into the error with BWDisplay. Any news on this one? Link to comment Share on other sites More sharing options...
fGaillard Posted September 25, 2012 Share Posted September 25, 2012 The fix will be published soon... The error is on line 281, replace : $display = new BWDisplay(); With : if (_PS_VERSION_ < '1.5') $display = new BWDisplay(); else $display = new FrontController(); That should resolve the problem. I hope it will help 1 Link to comment Share on other sites More sharing options...
RuudJ Posted September 25, 2012 Share Posted September 25, 2012 Perfect, this one works Link to comment Share on other sites More sharing options...
ariko Posted September 25, 2012 Share Posted September 25, 2012 The fix will be published soon... The error is on line 281, replace : $display = new BWDisplay(); With : if (_PS_VERSION_ < '1.5') $display = new BWDisplay(); else $display = new FrontController(); That should resolve the problem. I hope it will help which file should edit ? Link to comment Share on other sites More sharing options...
fGaillard Posted September 25, 2012 Share Posted September 25, 2012 The file is : modules/paypal/express_checkout/submit.php Let me know if all is ok Link to comment Share on other sites More sharing options...
ariko Posted September 25, 2012 Share Posted September 25, 2012 I corrected it but still in BO I got You need to provide your PayPal API credentials in step 3 in order to accept payments. it is provided and in front 1. after installing the module cant change the language 2. cant change the currency 3. PP module does not appear in payment methods in the final step Link to comment Share on other sites More sharing options...
fGaillard Posted September 25, 2012 Share Posted September 25, 2012 Hi ariko, I have forced the compilation on your shop. Everything looks better. Could you please make another test ? Link to comment Share on other sites More sharing options...
ariko Posted September 25, 2012 Share Posted September 25, 2012 (edited) Great !!! Now it works now I can change currency, langugage in front and paypal is active In BO - there is no grey fields or errors in paypal module . Just one thing that is different from older 2.8.x version of the module when customer select different currency than the 24 supported by paypal I got Please refer to logs: PayPal response: TIMESTAMP -> 2012-09-25T15:05:42Z L_ERRORCODE0 -> 10605 L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 -> Currency is not supported L_SEVERITYCODE0 -> Error With older module when customer selected currency is different than default setted up in BO /in my case Euro/ when customer is redirected to paypal it is in the currency selected in BO. Is there any chance to get this functionallity back ? Edited September 25, 2012 by ariko (see edit history) Link to comment Share on other sites More sharing options...
ariko Posted September 25, 2012 Share Posted September 25, 2012 Hi ariko, I have forced the compilation on your shop. Everything looks better. Could you please make another test ? How did you do the magic ? Link to comment Share on other sites More sharing options...
fGaillard Posted September 25, 2012 Share Posted September 25, 2012 I set the ¨Force compile¨ to ¨Yes¨ and ¨Cache¨ to ¨No¨ in ¨Preferences > Performance¨ of your back-office. You should set these two values this way each time you install / configure / remove ... a new module or anything else. When everything is OK you can set up back to the old values. About the currency it is not possible right now but I will try to implement this feature asap. Regards. 2 Link to comment Share on other sites More sharing options...
ariko Posted September 25, 2012 Share Posted September 25, 2012 (edited) I set the ¨Force compile¨ to ¨Yes¨ and ¨Cache¨ to ¨No¨ in ¨Preferences > Performance¨ of your back-office. You should set these two values this way each time you install / configure / remove ... a new module or anything else. When everything is OK you can set up back to the old values. About the currency it is not possible right now but I will try to implement this feature asap. Regards. I got it and I will have in mind the these setting when installing or configuring new modules. Thanks for your efforts I appreciate it and I'm sure that other users are also greatefull to you. I will wait for this currency feature eagerly. We are hurring to open our e-shop based on prestashop Edited September 25, 2012 by ariko (see edit history) 1 Link to comment Share on other sites More sharing options...
Prestadget Posted September 25, 2012 Share Posted September 25, 2012 Paypal module 3.2.1 need a method called "getModileDevice" from Context. BUT in Prestashop 1.5.0.15, Context has no a such method ....... WTF ?? Link to comment Share on other sites More sharing options...
nationwide-appliances Posted September 25, 2012 Share Posted September 25, 2012 Hi, I am having the same problem. I have installed backward compatibility and it still doesnt work. Please let me know what you need from me. Prestashop version: 1.5.0.17 Paypal 3.2.1 Link to comment Share on other sites More sharing options...
ariko Posted September 25, 2012 Share Posted September 25, 2012 Backwardcompatibility is only for 1.4 versions regarding the issue fGaillard must say what you should do I'm using 1.4.9 paypal 3.2.1 and no such problem (mine is the currency issue) Link to comment Share on other sites More sharing options...
fGaillard Posted September 26, 2012 Share Posted September 26, 2012 Paypal module 3.2.1 need a method called "getModileDevice" from Context. BUT in Prestashop 1.5.0.15, Context has no a such method ....... WTF ?? Could you please try to upgrade your PrestaShop to the last stable release version ? Link to comment Share on other sites More sharing options...
fGaillard Posted September 26, 2012 Share Posted September 26, 2012 Hi, I am having the same problem. I have installed backward compatibility and it still doesnt work. Please let me know what you need from me. Prestashop version: 1.5.0.17 Paypal 3.2.1 The backward compatibility is only working on PrestaShop 1.4. Don´ t use it on a 1.5. Coud you please provide me accesses to your shop by PM ? 1 Link to comment Share on other sites More sharing options...
nationwide-appliances Posted September 26, 2012 Share Posted September 26, 2012 i have sent you a message, please let me know if you dont receive it. Thanks Link to comment Share on other sites More sharing options...
nationwide-appliances Posted September 26, 2012 Share Posted September 26, 2012 HI, I removed backward compatibility, and changed the BWDisplay code that you suggested. The error log now shows PHP Parse error: syntax error, unexpected T_IF in /home/nationwi/public_html/modules/paypal/express_checkout/submit.php on line 287 [26-Sep-2012 10:22:33 UTC] does that help? Link to comment Share on other sites More sharing options...
Prestadget Posted September 26, 2012 Share Posted September 26, 2012 All right, so in conclusion the version 1.5.0.15 doesnt work (with Paypal), upgrade to 1.5.0.17 fix the issue ! Link to comment Share on other sites More sharing options...
nationwide-appliances Posted September 26, 2012 Share Posted September 26, 2012 OK, So i sorted out that error, i missed and semi-colon off! now I'm just getting "error occurred" on the submit page but no error message. 1 Link to comment Share on other sites More sharing options...
fGaillard Posted September 26, 2012 Share Posted September 26, 2012 HI, I removed backward compatibility, and changed the BWDisplay code that you suggested. The error log now shows PHP Parse error: syntax error, unexpected T_IF in /home/nationwi/public_html/modules/paypal/express_checkout/submit.php on line 287 [26-Sep-2012 10:22:33 UTC] does that help? There is an error in your code, something is missing. If you are using PS 1.4 you need to keep the backward compatibility ! Good luck. Link to comment Share on other sites More sharing options...
nationwide-appliances Posted September 26, 2012 Share Posted September 26, 2012 Hi, I have sorted that problem out, I am just getting an error on the final page now. The express checkout works, all the code i am using is coming from Prestashop, the only thing i have changed is the code you suggested yesterday. Please let me know what is wrong Link to comment Share on other sites More sharing options...
polxxx Posted October 3, 2012 Share Posted October 3, 2012 PS 1.5.017 PAYPAL 3.2.2 ... Someone can help me (thanks a lot)? I got this error when I submit the payment: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Link to comment Share on other sites More sharing options...
Still V Posted November 11, 2012 Share Posted November 11, 2012 (edited) I set the ¨Force compile¨ to ¨Yes¨ and ¨Cache¨ to ¨No¨ in ¨Preferences > Performance¨ of your back-office. You should set these two values this way each time you install / configure / remove ... a new module or anything else. When everything is OK you can set up back to the old values. About the currency it is not possible right now but I will try to implement this feature asap. Regards. I am also eagerly awaiting the return of this feature. Can you post a link with the updated module. Thanks a lot. Edited November 11, 2012 by Still V (see edit history) Link to comment Share on other sites More sharing options...
Anakin Posted November 21, 2012 Share Posted November 21, 2012 I had updated to 3.3 version in my PS 1.5.2.0 and it doesnt work still. www.bestebauty.es Link to comment Share on other sites More sharing options...
EV Network Posted November 22, 2012 Share Posted November 22, 2012 (edited) PrestaShop 1.5.2.0 PayPal module v 3.3, updated yesterday Still broken. If you have found a solution to the issue, why are you still pushing broken updates to people? Be reasonable and just commit the fixes you find in the repo. Please. http://forge.prestashop.com/browse/PNM-716 Edited November 22, 2012 by EV Network (see edit history) Link to comment Share on other sites More sharing options...
valentin.g Posted November 29, 2012 Share Posted November 29, 2012 Hi ariko, I have forced the compilation on your shop. Everything looks better. Could you please make another test ? I have same issue, and forced compilation (Advancend parameters - Performance - Force compile ) but no results Prestashop 1.5.2 Link to comment Share on other sites More sharing options...
tb2 Posted December 8, 2012 Share Posted December 8, 2012 The fix will be published soon... The error is on line 281, replace : $display = new BWDisplay(); With : if (_PS_VERSION_ < '1.5') $display = new BWDisplay(); else $display = new FrontController(); That should resolve the problem. I hope it will help I had Paypal version 3.3 before and this fix solve my ERROR 500 issue when I click on the PayPal logo on the front page display. It supposed to point to the an about.php page. Yesterday, I upgrade my PayPal module to version 3.4. Now this fix cannot be applied as the new submit.php has a new clause of code. I am getting the same error. It seems that the file submit.php has some sort of similar code to show the proper file, but I guess it does not. Could someone please let me know the fix to this? Thank you so much. Link to comment Share on other sites More sharing options...
singhbalram786 Posted February 5, 2013 Share Posted February 5, 2013 How can i resolve this problem, please help.. A client has encountered a problem with the module PayPalAPI, see the report: PayPal response: TIMESTAMP -> 2013-02-05T09:29:37Z L_ERRORCODE0 -> 10605 L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 -> Currency is not supported L_SEVERITYCODE0 -> Error Link to comment Share on other sites More sharing options...
Jose Adan Front-End Dev. Posted May 21, 2013 Share Posted May 21, 2013 I have same problem as below friends, i need PS make a currency change from a unsupported Paypal currency to US$. I have PS 1.5.4.1 and PP 3.5.0, i need PrestaTeam assistance with this issue to release production ASAP. Link to comment Share on other sites More sharing options...
p-d-s Posted July 3, 2013 Share Posted July 3, 2013 Hello, I get an email from paypal, that they could not find this file: www.SHOP.de/modules/paypal/validation.php What must I do? There is no such file in the paypal-module folder. The folder permission is also set to 755 PS: 1.5.4.1 PayPal: 3.5.5 PayPal configuration: Use express-checkout: No Sandbox: real env. Payment: direct I also tried to just copy the "validation.php" from my Prestashop 1.4 but an error occures: Fatal error: Call to undefined method PayPal::getL() in /html/shop/modules/paypal/validation.php on line 67 Link to comment Share on other sites More sharing options...
electrobnl Posted August 29, 2013 Share Posted August 29, 2013 Please refer to logs: PayPal response: TIMESTAMP -> 2012-09-25T15:05:42Z L_ERRORCODE0 -> 10605 L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 -> Currency is not supported L_SEVERITYCODE0 -> Error Go to BO-->Modules->paiement->curency restriction and chose in paypal columns "custumer currency" and save the change. 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