From 7bc42e5a436653997768d6818d9e1ae1dfbde91f Mon Sep 17 00:00:00 2001
From: Jamie McClelland <jm@mayfirst.org>
Date: Fri, 22 Apr 2022 10:35:44 -0400
Subject: [PATCH] ensure customer name is in stripe report

Resolves #332
---
 CRM/Stripe/Customer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CRM/Stripe/Customer.php b/CRM/Stripe/Customer.php
index 4e6b725e..b4dd20bc 100644
--- a/CRM/Stripe/Customer.php
+++ b/CRM/Stripe/Customer.php
@@ -216,7 +216,7 @@ class CRM_Stripe_Customer {
 
     $stripeCustomerParams = [
       'name' => $contactDisplayName,
-      'description' => 'CiviCRM: ' . $domainName,
+      'description' =>  $contactDisplayName . ' (CiviCRM)',
       'email' => $params['email'] ?? '',
       'metadata' => [
         'CiviCRM Contact ID' => $params['contact_id'],
-- 
GitLab