connectcase Posted July 8, 2015 Share Posted July 8, 2015 Hi there, my client used to have iDeal as payment method but decided to implement a payment provider that offers multiple services among which iDeal. So obviously I disabled the iDeal plugin. But the plugin is still accessible through: www.clientssite.com/modules/ideal/ And if I call this URL directly in my browser I can still use the plugin to pay for my order! And now I found some weird payments that make me suspect that this old URL is still in some people's browsercache. So disabling a module is not enough? It needs to be completely removed? Cheers, Cees Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2015 Share Posted July 8, 2015 hello this directory contains index.php file? if so, what contents this file has? Link to comment Share on other sites More sharing options...
connectcase Posted July 8, 2015 Author Share Posted July 8, 2015 No it doesn't. The full URL with which you can pay your order (by choosing a bank from the dropdown) is: www.clientssite.com/modules/ideal/payment.php Removing payment.php from the filesystem gives in PHP-require-error in the BO. What I have done now is put a warning in payment.php ("If you see this screen etc. etc.") But I'm not sure if that'll work if the html-content of payment.php is already in people's cache. They still might see the dropdown with which they can pay. Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2015 Share Posted July 8, 2015 this is why it works in that way, it's a separate file not integrated with prestashop store in the way as it should be integrated. It should be based on front office modules controllers - in this case its just a static php file :/ Link to comment Share on other sites More sharing options...
connectcase Posted July 9, 2015 Author Share Posted July 9, 2015 What do you mean "not integrated"? It's an official module released by one of the biggest banks over here and it consist of somewhat more than just payment.php. You mean it should somehow show a 404? Link to comment Share on other sites More sharing options...
El Patron Posted July 9, 2015 Share Posted July 9, 2015 TIP: If a module uses and override and in that override if it does not check if the module is enabled, then the override logic will execute. 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