The purpose of the script is to alternate payment method available to buyer and to send an email notification of successful sale.
The alternation part of the script is almost exactly like a url rotation script which you can get here: [login to view URL]
In fact, all the code from that script can be re-used for what I need....just with the variations described below.
1. writable file on server such as "urlz" keeps track of last payment method used
2. [login to view URL] updates [login to view URL] for next go around AND sends email notification of sale just completed
3. [login to view URL] checks [login to view URL] if it should display merchant1 or merchant2
the exact php files I need updated can be downloaded here:
[login to view URL]
the above files are strict html code...there is no php code in them...that part is waiting for you!
The text which should display for merchant2 is currently commented out on [login to view URL]
thank you