auto returning a post value
Posted: Sat Sep 29, 2007 12:16 am
I am working on a payment processing application. My app will send the information to the payment server and in return I will get an approved or declined response. Since I am fairly early in the development process I would like to be able to test my code without actually sending a post to a real payment processor.
What I have be trying to figure out is, can I post my form to another php file and have that file automatically post back either a good or bad status code in the form of a post? Could I use the header function to accomplish this goal? The response I receive back needs to be in the form of a post variable.
Thanks
What I have be trying to figure out is, can I post my form to another php file and have that file automatically post back either a good or bad status code in the form of a post? Could I use the header function to accomplish this goal? The response I receive back needs to be in the form of a post variable.
Thanks