Jump to content

Urgent: Checkout redirects to fake checkout


Recommended Posts

Hi, not sure im posting this in the correct place.


My site has been hacked, what happens is, when the customer clicks the 'checkout button' they are redirected to a fake site trying to get their card details. I have took my site down at the moment.


Also on the back end of the website, when i click the 'customers' tab it also redirects to the same fake checkout page.


I think that when you click checkout it goes to /quick-order then redirects very quickly to the fake site.


I am unable to locate the code I assume they have added to redirect it.


Any ideas where I need to look and what I am besting now.



Thank you 


Regards John





Link to comment
Share on other sites

At first you need to find out how someobody hacked you, did you check this topic: https://www.prestashop.com/forums/topic/544579-major-security-issues-with-few-modules-and-themes/ ?

In code you need to find redirect code, there is many way to do this for example:



<meta http-equiv="Refresh" content="0; url=http://www.example.com/" />


<script language="JavaScript" type="text/javascript">

Redirect 301 / http://www.example.com/


header('HTTP/1.1 301 Moved Permanently');
header('Location: http://www.example.org/');
header('Connection: close');

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...