Hi there, I am building a site with credit card processing via a third party payment processor that uses a PHP checkout script- all good! I have managed to get it to send emails once the transaction has been processed and the results have returned to the php script, but for some reason the results get sent back twice - hence the emails also get sent twice. I have also used a counter script on the same page to compile an order number - which increments everytime the page is refreshed or requested(ditto with the above problem). The question is can I configure the emails and the counter to only activate once in a given session?
Thanks
😃