Skip to content
Snippets Groups Projects
Commit 789dbf1b authored by mattwire's avatar mattwire
Browse files

Fix #243 False notification for separate membership payment on contribution page

parent 56315baf
No related branches found
No related tags found
No related merge requests found
......@@ -204,6 +204,7 @@ class CRM_Stripe_Check {
$contributionPages = civicrm_api3('ContributionPage', 'get', [
'return' => ['payment_processor'],
'id' => ['IN' => $contributionPagesToCheck],
'is_active' => 1,
]);
foreach ($contributionPages['values'] as $contributionPage) {
$enabledPaymentProcessors = explode(CRM_Core_DAO::VALUE_SEPARATOR, $contributionPage['payment_processor']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment