What is the best way to retrieve the billing information after a purchase written out on to my thank you page(hosted on my server) through PHP? I am trying to create a detailed receipt page for my customers.
I keep trying to do it with Post HTTP but I just can’t seem to get the information posted correctly through PHP. I’ve tried so may ways without any success and I really need some help here.
This is what I have the HTTP Post set up as.
This is what I tried to do to grab and post the information but for some reason they aren’t talking correctly.
<?php
if( $_POST["firstName"] || $_POST["lastName"] || $_POST["address1"] || $_POST["address2"] || $_POST["city"] || $_POST["state"] || $_POST["postal"] || $_POST["email"] || $_POST["currentDate"])
{
echo $_POST['firstName']. " ";
echo $_POST["lastName"]. "<br />";
echo $_POST["address1"]. "<br />";
echo $_POST["address2"]. "<br />";
echo $_POST["city"]. "<br />";
echo $_POST["state"]. "<br />";
echo $_POST["postal"]. "<br />";
echo $_POST["email"]. "<br />";
echo $_POST["currentDate"]. "<br />";
}
?>
I am getting no luck and hitting a dead end here.
ANY help would be much appreciated.
Thank you!