$IPN_status not passing through on hook
-
not sure which exact version of WP I’m using. whatever is most current, but not beta.
I’m building a plugin that uses your catch all hook, so anytime a Paypal transaction comes in, it sets off my plugin.
Most things are working fine, except the IPN_status variable isn’t getting passed through for some reason. Every other variable i have tested has passed through just fine except the IPN_status var, which is an important variable.
I just started work on this plugin, so it’s pretty simplistic. I’m just trying to test by passing variables to a local file, so here’s the code i’m using so far. Thanks for helping.
add_action(‘paypal_ipn_for_wordpress_ipn_response_handler’, ‘Process_Paypal’, 10, 1);
function Process_Paypal($posted) {// Parse data from IPN $posted array
** all parsed data **
$myFile = WP_PLUGIN_DIR.”/Paypal_Process/result.txt”;
file_put_contents($myFile, “$txn_id $mc_fee $mc_gross $item_name $IPN_status”);
- The topic ‘$IPN_status not passing through on hook’ is closed to new replies.