Update:
As seen in the Original Questions below, I am looking to echo an array. The problem is that when I send the Moneris gateway to return a POST array to my new file (cart.php) it gets a 500 Internal Server Error.
This is the same error I received when it send to the script, which should have worked. Is there any reason that it would always send a 500 Internal Server Error?
Craig
ORIGINAL QUESTION:
Hello there,
I am back for another question.
Here is my dilemma:
I have a script (ImageFolio Commerce) that hasn't been updated on our server since.. probably 2003. The script had a Payment Gateway (Moneris) manually added to it by the company who offers the script. This costs $1000 to get them to add a gateway.
I now have a new client who purchased this business from the previous owner. While switching the account to the new owner's Moneris account, we found out that things have been updated.
Long story short..
The Moneris gateway can send 3 types of responses:
- POST with XML Data
- POST
- GET
I imagine it is easiest to just use the POST array. I have the file that it sends the response to. As of now the file responds with a Internal Server error, but it does process the order.
What I want to do is determine what the POST array is that is being sent, so that I can take it and echo it in a logical manner. Is there a way to capture and echo the entire POST?
Or can someone suggest a better method of doing this?
Thank you,
Craig