Hello there,
Thank you for GF, its an excellent plugin! The coding is very admirable too!
I have one issue / suggestion with the paypal addon.
A client of mine needed tax information in the notification email that was sent out. Paypal is setup to deal with the adding the tax, so the form sends out all details with no tax, then pp adds tax depending on the buyer pp account.
You have some great hooks for example, gform_replace_merge_tags, has been very useful in implementing my requirements.
However, the problem I found, which too me a while to work out what was happening, is gform_paypal_post_ipn is fired after the emails are sent out, and gform_paypal_pre_ipn is triggered before the transaction table is updated.
So i was trying to update the transaction table too late.
I unfortunately had to apply a small hack to the main paypal.php where I moved the insert_transaction to above the fulfil code.
Can you think of any better solution to this? Any help would be much appreciated as I like getting plugin updates!
Obviously, I just wanted to the TAX value from the IPN POST, but it would be good to have all the data available for emailing, (using the built in emailing!)
Thanks again
Dave