Skip to content

Commit

Permalink
Added catching exception when deleting customer in billing gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
dmyers authored Nov 11, 2017
1 parent 0f7699f commit aa7baf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mmanos/Billing/CustomerBillableTrait/Billing.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ public function delete(array $properties = array())
return $this;
}

$this->customer->delete();
try {
$this->customer->delete();
} catch (Exception $e) {}

$this->refresh();

Expand Down

0 comments on commit aa7baf7

Please sign in to comment.