Hi all,
I have a script that receives information posted to it and displays it for confirmation purposes. If everything is correct, the user is then required to press the Submit button on that page in order to confirm 1 of 2 options:
- Yes, Bill me
- Yes, Charge my credit card
If the option is to bill the person, then the form is submitted to itself, an email sent to the administrator, and the page refreshes, letting the person know that they will be billed. This option works great.
The second option is the one I have a problem with. So, if the option is to charge the credit card, the page is posted to a credit card processing server. I need to be able to send an email to the administrator, in the same way I am sending an email when the user has selected to use option 1. The problem seems to be that since I am posting to another page (one that is out of our control), the email never gets processed.
Does anyone have any ideas on how I can force the script to process the email before it posts to the other site? Or do I have other options available to me that I am not even considering?
Any help will be GREATLY appreciated!
Thanks!