Commit 9bb2e557 authored by naomi's avatar naomi

Added customer_id to switch statements where it was missing

parent 5fd4ad15
...@@ -21,6 +21,10 @@ class CRM_Stripe_Api { ...@@ -21,6 +21,10 @@ class CRM_Stripe_Api {
case 'amount_refunded': case 'amount_refunded':
return (int) $stripeObject->amount_refunded / 100; return (int) $stripeObject->amount_refunded / 100;
case 'customer_id':
return (string) $stripeObject->customer;
} }
break; break;
...@@ -60,6 +64,10 @@ class CRM_Stripe_Api { ...@@ -60,6 +64,10 @@ class CRM_Stripe_Api {
case 'description': case 'description':
return (string) $stripeObject->description; return (string) $stripeObject->description;
case 'customer_id':
return (string) $stripeObject->customer;
} }
break; break;
......
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