kitfoxster Posted June 5, 2020 Share Posted June 5, 2020 Hi! Please help me, I swear to god I'm going crazy!! My client has a prestashop 1.7.5.2 installation and would like to receive payments via credit card with the base (free) stripe plugin. I've tried everything, it doesn't work. Or rather, it actually charges the money from the credit card and deposits it on my client's stripe account, but the checkout page stays frozen and doesn't refresh to the "order complete" page, and also doesn't create the order in backend. It just stays there with the "processing payment" grayed out button. The problem is related to a 500 error that appears in the console (while processing the payment). It's able to correctly send the request, but receives nothing (due to the 500 error). Here's what I did so far: - live website in prestashop 1.7.5.2 on the domain root, with stripe free plugin v2.0.8 -> doesn't work - duplicate of live site in subfolder, with all modules disabled except stripe -> doesn't work - duplicate of live site in subfolder, with all modules disabled except stripe AND base theme (even though the other theme wasn't phisically deleted) -> doesn't work - duplicate of live site in subfolder, with all modules disabled except stripe AND base theme (even though the other theme wasn't phisically deleted) AND updated to last prestashop version -> doesn't work - fresh prestashop 1.7.5.2 install in subfolder, with stripe free plugin v2.0.8 -> WORKS PERFECTLY (therefore it isn't a server or php problem, but should be a module conflict or theme issue) Here's some info: - the site is multilingual - my client want's to show prices only to registered users (and changes prices based on manually assigned groups) - therefore a customer has to create an account, wait for manual approval and group assignment, and only then can he/she buy - the client simply logs into the site and sees prices and add to c art functionality Everything works fine except for the 500 error that occurs on the stripe RETURN. Can you please help me? Here's some technical info: PrestaShop: 1.7.5.2 http://italcomsrl.com/eliminami3/ (exact duplicate of live site) Theme: theme_pedona5-italcom server Linux #1 SMP Tue Oct 9 18:14:47 EEST 2018 x86_64 software del server: Apache PHP: 7.3.16 Memory limit: 768M max execution time: 120 Max file size: 128M Version MySQL: 5.6.40-84.0-log Motor MySQL: InnoDB Driver MySQL: DbPDO At the moment stripe is set on test mode, so you can test by going to the website https://italcomsrl.com/eliminami3 Login in to the account usr: [email protected] pse: prestashop Add any product to the cart and go to the checkout page, therefore pay with stripe with this test-card info: Card number: 4242424242424242 Any 3 digits as the CVC Any future date as the expiry Any 5 digits for the CAP And you'll get the 500 error. The same error on test mode and on live, even though in live stripe actually does successfully charge the credit card. Attached to this post are the screenshots of the firefox console error. Please help guys, I really don't know what else to try ç___ç - Joseph Link to comment Share on other sites More sharing options...
razaro Posted June 5, 2020 Share Posted June 5, 2020 Have you tried to enable debug note and check those requests in console ? They should give you some clue why that 500 error appears.. Also checking hosting error logs could help. Link to comment Share on other sites More sharing options...
kitfoxster Posted June 5, 2020 Author Share Posted June 5, 2020 Hi! If I activate the debug mode I get errors in home page and in complete honesty I wasn’t able to understand much of it, tomorrow I’ll try activating it again and grab some screenshots. thanks for the quick reply!! Link to comment Share on other sites More sharing options...
kitfoxster Posted June 6, 2020 Author Share Posted June 6, 2020 Hi! Here I am again! Here's a screenshot of the home page with the debug mode on. I just tried another test payment and it didn't work, and in the php_errorlog in prestashop root folder there's this line: Quote [06-Jun-2020 08:54:23 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: Unable to load template 'file:helpers/list/list_header.tpl' <-- thrown in /home/italcom9/public_html/eliminami3/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php on line 195 Could it be part of the problem? Link to comment Share on other sites More sharing options...
kitfoxster Posted June 8, 2020 Author Share Posted June 8, 2020 Hi! Any ideas? Link to comment Share on other sites More sharing options...
razaro Posted June 8, 2020 Share Posted June 8, 2020 That error does not seams yet connected to Stripe, but module, maybe part of theme, posstaticblocks. And it have to do with PHP version you have, it may work with 7.1 but that is already deprecated so it would be best to contact theme developer and ask for fix it for 7.2/7.3 version of PHP. Should not be big change. But that is just a warning so should not be main issue, but should be fixed so you can check checkout and Stripe. Other error message I think is for back office but cant say more. Link to comment Share on other sites More sharing options...
kitfoxster Posted June 8, 2020 Author Share Posted June 8, 2020 Thanks for your answer! The strange thing is that the error occurs even if I put php 7.1 on the server, I just tried again to be super sure. I wrote a mail to the theme developers, let's see what they say! - Joseph Link to comment Share on other sites More sharing options...
LLsb Posted June 20, 2020 Share Posted June 20, 2020 I have the same problem... @kitfoxster, do you solve the problem? Thank you! Link to comment Share on other sites More sharing options...
kitfoxster Posted June 20, 2020 Author Share Posted June 20, 2020 (edited) 2 hours ago, LLsb said: I have the same problem... @kitfoxster, do you solve the problem? Thank you! Hi! Ok, here I am with what my problem was!! Initially the error given was linked to the stripe plugin, so I wrote to the stripe plugin techs and they were able to exclude the error, finding an error in the theme. So I wrote to the template techs and they were able to see that it wasn't related to the theme. In the meantime I was able to reinstall a copy of the whole site, starting from scratch, same versions of prestashop, theme and necessary modules, and everything worked. So then I installed ALL of the modules the other site had and then it didn't work anymore. So i was able to understand that, even though the error was blaming stripe and/or theme, it was a module issue. I disabled one module at a time and tried to buy, until I found out that the problem was given by the NS Clients / Orders Export module!!! SO MANY HOURS wasted, I just had to disable that plugin and everything worked fine. So my advice is to copy the site to a subfolder, disable all unnecessary plugins and see if it works. If it does, it's a module so start testing one at a time until you find the bastard!! - Joseph Edited June 20, 2020 by kitfoxster (see edit history) 1 Link to comment Share on other sites More sharing options...
LLsb Posted June 20, 2020 Share Posted June 20, 2020 Hellow Joseph, Thank you very much for your answer and your detailed explanation. I will try to follow your advice and if it is solved. Thank you! Link to comment Share on other sites More sharing options...
BJC Posted November 11, 2020 Share Posted November 11, 2020 Thank you so much for posting this! I too have spent countless hours trying to fix an issue that just spontaneously started happening and I couldn't figure it out. The module developers couldn't figure it out either. It was indeed NS Clients / Orders Export module. I just disabled it and now Stripe is working again. What a giant pain. Thanks again Link to comment Share on other sites More sharing options...
Italcom Posted November 12, 2020 Share Posted November 12, 2020 (edited) No problem man! I'm happy my work helped you! haha I answered with a different account, I'm "kitfoxster" ;D Edited November 12, 2020 by Italcom (see edit history) Link to comment Share on other sites More sharing options...
lussaa Posted August 13, 2021 Share Posted August 13, 2021 I found another solution - here you can download stripe version v2.3.1 which doesn't have this issue.https://github.com/202-ecommerce/stripe_official/issues/71 Link to comment Share on other sites More sharing options...
nick_developer Posted August 28, 2021 Share Posted August 28, 2021 Hi, the new version 2.3.6 solves another bug, is now available in the link https://addons.prestashop.com/en/payment-card-wallet/24922-stripe-official-sca-ready.html#seller Link to comment Share on other sites More sharing options...
VSmoda Posted December 4, 2021 Share Posted December 4, 2021 hello Fox i need help also i have this STRIP payments on my shop I have added in my payments module stripe But on my shop there is no such any credit card offer! Can some one tell me why or how to fix ? i contacted STRIp and my account and sashbord seems okey with tehm i use the Presta V 1.7.81 www.vsmoda.com Thank you very much Link to comment Share on other sites More sharing options...
Carlos_Mora Posted September 6, 2022 Share Posted September 6, 2022 (edited) Hi, same problem here This is my store: https://fabriciosmagicstore.com, the version of my Prestashop is 1.7.8.6 and the version of Stripe is 2.4.4 I installed Stripe and Braintree, both are for payments with card but none of them can't put the card info HELP pls! Edited September 6, 2022 by Carlos_Mora (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted September 6, 2022 Share Posted September 6, 2022 Can you enable the shop, to check it out. 1 Link to comment Share on other sites More sharing options...
Carlos_Mora Posted September 6, 2022 Share Posted September 6, 2022 7 hours ago, ComGrafPL said: Can you enable the shop, to check it out. Yeah, sorry. It's enable now. Thanks Link to comment Share on other sites More sharing options...
Carlos_Mora Posted September 8, 2022 Share Posted September 8, 2022 On 9/6/2022 at 12:52 AM, ComGrafPL said: Can you enable the shop, to check it out. Hi, it's me again, Were you able to check my store? Sorry I'm desperate Link to comment Share on other sites More sharing options...
StephanePro Posted February 12, 2023 Share Posted February 12, 2023 Hi dear, Please can you help me for this bug in the stripe addons for Prestashop 8.0 La configuration du Webhook est introuvable dans PrestaShop, cliquez sur le bouton Enregistrer pour résoudre le problème. Un nouveau webhook sera créé sur Stripe, puis enregistré dans PrestaShop. Thks Link to comment Share on other sites More sharing options...
nick_developer Posted February 13, 2023 Share Posted February 13, 2023 Hi Stephane, I'm not using Prestashop 8 at the moment. Have a try disinstalling Stripe, cleaning the cache and then re-install. best regards Nick 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