Skip to content
Snippets Groups Projects
Commit 9bb2e557 authored by naomi's avatar naomi
Browse files

Added customer_id to switch statements where it was missing

parent 5fd4ad15
Branches
Tags
1 merge request!45Added customer_id to switch statements where it was missing
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment