mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Archive previous payment methods
This commit is contained in:
parent
cb9a67063d
commit
948a3e8911
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user