Hi, I'd like to update an external status (in a seperate db table) and call some php functions when the transaction is completed. I've set up everything but it doesn't seem to work...
I've got PayPal's sandbox mode enabled and after a placed order in the PayPal developer control panel the confirmation e-mails are shown, to I guess the installation is done right.
The plugin I wrote that is supposed to handle the IPN calls doesnt't do anything. Also when I use the test tools (IPN simulator), no result is shown.
Here's my code:
add_action("gform_paypal_post_ipn", "px_DaPayPalComplete", 10, 4);
function px_DaPayPalComplete($ipn_post, $entry, $config, $cancel){
mail('mark@domain.nl', 'paypal status', 'PayPal payment status confirmation');
}
Is there anything I'm doing wrong?
Posted 12 years ago on Thursday December 15, 2011 |
Permalink