Skip to content
Snippets Groups Projects
Commit 8e5dab8f 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 888b682c
Branches master
No related tags found
No related merge requests found
......@@ -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