1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00

Archive previous payment methods

This commit is contained in:
Hillel Coren 2016-08-01 14:53:49 +03:00
parent babbf8ea71
commit f3419587bf

View File

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