Recently i started working on the Payment Gateway( further spelled as 'PG') process for my site. The process involves sending the Post data by form to PG server by redirecting to their page, and receiving a response from the PG about the Transaction via POST data sent by redirecting the URL to our server page.
The problem arises here, as my server unable to retrieve the POST Data sent from PG server.
As I am coding in PHP, I tried to print all the response coming from PG with print_r($_POST);
and even tried with print_r($_REQUEST);
. I didn't find any data printing except the PHPSESSID
and some other data array.
As for the confirmation I checked whether they were sending the Data or not with the IE addon known as "TamperIE". It is showing all the POST data sending to their server. But it is not at all coming to our server. I tried this process on another Server: there I was able to get the POST response, but not with currently working server.
Can you suggest what might be the problem?