diff --git a/CRM/Core/Payment/StripeIPN.php b/CRM/Core/Payment/StripeIPN.php index e87a7a28357209e0bb788fc5825f481347dcf189..c974da52edd9df70b6c99435cfd6b553aee132e1 100644 --- a/CRM/Core/Payment/StripeIPN.php +++ b/CRM/Core/Payment/StripeIPN.php @@ -404,6 +404,7 @@ class CRM_Core_Payment_StripeIPN extends CRM_Core_Payment_BaseIPN { $query_params ); + // FIXME: MJW Do we need this custom handling for memberships here? Core should do all we need if ($this->membership_id) { $plan_elements = explode("-", $this->plan_id); $plan_name_elements = explode("-", $this->plan_name); @@ -581,6 +582,7 @@ class CRM_Core_Payment_StripeIPN extends CRM_Core_Payment_BaseIPN { } // Check for membership id. + // FIXME: MJW Not sure why we assign membership_id here $membership = civicrm_api3('Membership', 'get', array( 'contribution_recur_id' => $this->contribution_recur_id, ));