I have a php (I think question) Here is the scenario.
I have an order form for my widget product. A customer orders 1 widget for $10. She complete the order form and on submit is taken to the payment information form where she completes the credit card information.
She complete all the credit card and customer information and hits submit, the form is sent (securly) to a file called PROCESSOR.PHP which lives on the payment processor server (I am using USAepay). During this processing time I want the user to see a message that says "We are processing your card". PROCESSOR.PHP is doing all the work sending the credit card information out for approval. If approved, PROCESSOR.PHP is still incontrol and I have a redirect statement that sends the customer to a success/thankyou page. BUT at the same time I want to send myself an email telling me that so-and-so custome purchased 1 widget for $10 and include the customer information AND I want a custom email receipt sent to the customer. My gateway processor has an automatic confirmation but I would like it to to be more friendly. I have uploaded the processor.php file (without any secure information) to http://www.alexisjean.com/experts/processor.php