I have Payment Notification email set, and also use the notification api to create a function that hooks into init
inside mu-plugin/s2-hacks.php
that changes the value of a custom field after each payment. I use Paypal and s2member pro.
My question is when the email is fired, is it before or after executing that function?