I was wondering if I could get PHP to automatically submit POST form data for me something like this:
//program to check for duplicate payments
if (customer has not paid yet)
{
//automatically submit form data to authorize.net
}
else //(this is a duplicate payment)
{
//print error html page
}
I need this since authorize.net is not good about checking for duplicate payments. I would like to insert a PHP program like the one above in between my credit number collection page and authorize.net. For the program to work like I want it to it must evaluate the HTTP_POST_VARS, then decide if the cusomter has already paid, by comparing with a database, if the customer has not altready paid, it needs to automatically submit the data to authorize.net.