Jump to content

Disabled module is still working. Feature or bug?


Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...