I now have the right general idea ... but ...
sI have a question. And I may be in error.
Success versus failure (to pay)?
Should not the server behaviour be placed upon the checkout_success and/or pp_landing pages?
Unless I am mistaken, then at the confirm page stage, payers have not yet had their cards confirmed?
Should I not, rather, put the server behaviour on the success and pp_landing pages? And should I not then set the email to send upon 'page load'? Otherwise it seems to be that failures to pay will receive emails even if they go on to fail? Or am I missing something?
Thank you for your kindness,