diff --git a/CRM/Stripe/Api.php b/CRM/Stripe/Api.php index 657be1f37ca7f488cda697c3b8fb7fb1f383f1ad..733601512ab3595f9afac25137c86d403be2deab 100644 --- a/CRM/Stripe/Api.php +++ b/CRM/Stripe/Api.php @@ -21,6 +21,10 @@ class CRM_Stripe_Api { case 'amount_refunded': return (int) $stripeObject->amount_refunded / 100; + + case 'customer_id': + return (string) $stripeObject->customer; + } break; @@ -60,6 +64,10 @@ class CRM_Stripe_Api { case 'description': return (string) $stripeObject->description; + + case 'customer_id': + return (string) $stripeObject->customer; + } break;