Jump to content

404 error and order-confirmation.php


Nihelan

Recommended Posts

Hi,

 

When a customer returns to "order-confirmation.php" he or she will see an "404 error".

Looking in the code, it seems like the script (HiPay) is not using (correctly) the customer language, even if this is English.

 

Here is part of the redirect code (full code attached)

		$paymentParams->setUrlNok(Tools::getShopDomainSsl(true).__PS_BASE_URI__.'order-confirmation.php?id_cart='.(int)$cart->id.'&id_module='.(int)$this->id.'&secure_key='.$customer->secure_key);
		$paymentParams->setUrlOk(Tools::getShopDomainSsl(true).__PS_BASE_URI__.'order-confirmation.php?id_cart='.(int)$cart->id.'&id_module='.(int)$this->id.'&secure_key='.$customer->secure_key);

Does anyone know how to implement an "lang" element in there?

 

Your help is very much appreciated.

 

Regards,

Richard

hipay.php

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