Commit 7c41c3c3 authored by mattwire's avatar mattwire

Fix getting email receipt parameter on stripe IPN

parent 81b0e0ad
...@@ -98,7 +98,7 @@ class CRM_Core_Payment_StripeIPN extends CRM_Core_Payment_BaseIPN { ...@@ -98,7 +98,7 @@ class CRM_Core_Payment_StripeIPN extends CRM_Core_Payment_BaseIPN {
} }
if (!empty($this->contribution_recur_id)) { if (!empty($this->contribution_recur_id)) {
$this->is_email_receipt = civicrm_api3('ContributionRecur', 'getvalue', [ $this->is_email_receipt = civicrm_api3('ContributionRecur', 'getvalue', [
'return' => ["is_email_receipt"], 'return' => "is_email_receipt",
'id' => $this->contribution_recur_id, 'id' => $this->contribution_recur_id,
]); ]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment