ozztrigz Posted January 20, 2022 Share Posted January 20, 2022 I've finished testing with the Global Payments module. When I process an order, the URL redirect is always 404. https://espacehabitationgbi.com/module/realexpaymentshpp/validation?content_only=1 some troubles started when I tried to switch on "friendly URLs". Some modules weren't connecting, and I was getting 404's. So I turned it back off. I checked the .htaccess file, but I can't find the root of the problem. How can I fix this 404 to redirect to a successful payment page? Link to comment Share on other sites More sharing options...
Nickz Posted January 20, 2022 Share Posted January 20, 2022 4 hours ago, ozztrigz said: I've finished testing with the Global Payments module. When I process an order, the URL redirect is always 404. Since when? What did you do to cause that? Shop version, Theme, Server environment? Link to comment Share on other sites More sharing options...
ozztrigz Posted January 20, 2022 Author Share Posted January 20, 2022 1 minute ago, Nickz said: Since when? What did you do to cause that? Shop version, Theme, Server environment? When: About a week ago, when I switched on the "friendly urls". Prestashop Version: 1.6.18 Theme: Default bootstrap Server Environment: linux Link to comment Share on other sites More sharing options...
Nickz Posted January 20, 2022 Share Posted January 20, 2022 51 minutes ago, ozztrigz said: when I switched on the "friendly urls". Return to not friendly and turn on error reporting. Linux server is a VPS or Dedicated with what specs exactly? Link to comment Share on other sites More sharing options...
ozztrigz Posted January 20, 2022 Author Share Posted January 20, 2022 2 minutes ago, Nickz said: Return to not friendly and turn on error reporting. Linux server is a VPS or Dedicated with what specs exactly? It's a Linux environment with shared hosting. CentOS Linux release 7.9.2009 (Core) x86_64 Link to comment Share on other sites More sharing options...
Nickz Posted January 20, 2022 Share Posted January 20, 2022 3 minutes ago, ozztrigz said: CentOS Linux release 7.9.2009 (Core) and the answer to: Return to not friendly and turn on error reporting. Link to comment Share on other sites More sharing options...
ozztrigz Posted January 21, 2022 Author Share Posted January 21, 2022 It just returns a completely normal 404 page. No notices, warnings or fatal errors. Link to comment Share on other sites More sharing options...
ozztrigz Posted January 21, 2022 Author Share Posted January 21, 2022 like this: Link to comment Share on other sites More sharing options...
Nickz Posted January 23, 2022 Share Posted January 23, 2022 And your error reporting is on true or false? Link to comment Share on other sites More sharing options...
ozztrigz Posted January 23, 2022 Author Share Posted January 23, 2022 It was set to true for the test. Yes. Link to comment Share on other sites More sharing options...
Nickz Posted January 23, 2022 Share Posted January 23, 2022 (edited) Fine then what did you do? The shop was uploaded and tested online? Tell us a little how it happened. Edited January 23, 2022 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
ozztrigz Posted January 24, 2022 Author Share Posted January 24, 2022 (edited) It seems I have figured out the issue. It was directly related to the SEO friendly URL. I think it was a combination of a few things I did. I will just leave my solution for future guests. Since we use multi-store, I put it on the default store (not to be confused with default group) Under the “SEO & URLs” section, I enabled friendly URL's In that same section, I modified the “module-realexpaymentshpp-validation” custom URL. Saved it I also reconnected other modules that were previously not working while in “friendly URL” mode by clicking the “add” button at the top and entering a custom URL. Edited January 24, 2022 by ozztrigz (see edit history) 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