Archive previous payment methods

This commit is contained in:
Hillel Coren 2016-08-01 14:53:10 +03:00
parent cb9a67063d
commit 948a3e8911

View File

@ -507,7 +507,6 @@ class BasePaymentDriver
$customer->save();
}
/*
// archive the old payment method
$paymentMethod = PaymentMethod::clientId($this->client()->id)
->isBankAccount($this->isGatewayType(GATEWAY_TYPE_BANK_TRANSFER))
@ -516,7 +515,6 @@ class BasePaymentDriver
if ($paymentMethod) {
$paymentMethod->delete();
}
*/
$paymentMethod = $this->createPaymentMethod($customer);