From 6f85fac962e831deeb6caeff3d90aac96fc5343b Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" <mjw@mjwconsult.co.uk> Date: Mon, 9 Sep 2019 19:51:07 +0100 Subject: [PATCH] Remote membership_type_tag from plan name --- CRM/Core/Payment/Stripe.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Core/Payment/Stripe.php b/CRM/Core/Payment/Stripe.php index 77390cbd..16b23a2b 100644 --- a/CRM/Core/Payment/Stripe.php +++ b/CRM/Core/Payment/Stripe.php @@ -219,9 +219,6 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment { public function createPlan($params, $amount) { $currency = strtolower($params['currencyID']); $planId = "every-{$params['frequency_interval']}-{$params['frequency_unit']}-{$amount}-" . $currency; - if (isset($params['membership_type_tag'])) { - $planId = $params['membership_type_tag'] . $planId; - } if ($this->_paymentProcessor['is_test']) { $planId .= '-test'; -- GitLab