Fix for removing payment method

This commit is contained in:
Hillel Coren 2016-07-27 14:37:36 +03:00
parent d44213bce9
commit 903036c02c

View File

@ -460,7 +460,7 @@ class BasePaymentDriver
->with('payment_methods') ->with('payment_methods')
->first(); ->first();
if ($this->customer) { if ($this->customer && $this->invitation) {
$this->customer = $this->checkCustomerExists($this->customer) ? $this->customer : null; $this->customer = $this->checkCustomerExists($this->customer) ? $this->customer : null;
} }