Skip to content
Snippets Groups Projects
Commit e0f0177d authored by Rich Lott / Artful Robot's avatar Rich Lott / Artful Robot
Browse files

Fix Unauthorized API exception causing Failed to retrieve Stripe Customer

parent f38527ad
Branches
Tags
1 merge request!237Fix Unauthorized API exception causing Failed to retrieve Stripe Customer
......@@ -137,7 +137,7 @@ class CRM_Stripe_Customer {
throw new PaymentProcessorException('Stripe Customer (delete): Missing required parameter: contact_id or customer_id');
}
$delete = StripeCustomer::delete()
$delete = StripeCustomer::delete(FALSE)
->addWhere('processor_id', '=', $params['processor_id']);
if (!empty($params['customer_id'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment