Extension Hooks

simple_commerce_evaluate_ipn_response

Hook Added in Version:

EE 1.5.1

Hook File Location:

mod.simple_commerce.php

Hook Description:

Take over processing of PayPal's response to an IPN confirmation

Hook Parameters

  • $this - The current Simple Commerce object including all data relating to the purchase and debug state
  • $result - PayPal's response to the IPN confirmation

Hook Returns Data?

Yes

Appearance of Hook in the Code

if (isset($EXT->extensions['simple_commerce_evaluate_ipn_response']))
{
 $result = $EXT->call_extension('simple_commerce_evaluate_ipn_response', $this, $result);
 if ($EXT->end_script === TRUE) return;
}