Hi,
I am posting form data to a credit card processing company for processing of a transaction. The problem I am having is the following:
- Form data gets sent to processing company through form action.
- Processing company response, denial or success, then gets redirected to a file that I specify as a hidden field in my form page.
- The response/receipt page has a php mail function which sends details of the order to the client if the transaction is successful.
The details of the transaction come from the form data but being that the form data gets posted to the processing company first, when the mail function gets executed on the receipt page all the information is blank, such as the name, amount, etc.
How can I post the form data to both the processing company and to the receipt page?