piribipipi Posted August 16, 2015 Share Posted August 16, 2015 Hi, im not sure if this is the correct forum... I developed a module some time ago, but now im testing again and im having problems with it :S Its a payment module. Payment its done in a external site, and when payment is finished, im redirected to my store. Then a file called validation.php is loaded. Some parameters are sent from the external site to my store. The problem is here. Here is the start of my validation.php file: include(dirname(__FILE__).'/../../config/config.inc.php'); include(dirname(__FILE__).'/../../header.php'); $response = Tools::getValue('response'); echo $response; The value of $response is empty (but it have a value!!!!!). If i move that code to the top: $response = Tools::getValue('response'); echo $response; include(dirname(__FILE__).'/../../config/config.inc.php'); include(dirname(__FILE__).'/../../header.php'); the value is showed correctly... why its happening??? its a problem with the config.inc.php file that its removing all the post values???? help please!!!! thanks Link to comment Share on other sites More sharing options...
bellini13 Posted August 16, 2015 Share Posted August 16, 2015 perhaps the parameter "response" conflicts with something Prestashop needs to do. have you tried POST'ing information to validation.php using different parameter names? 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