mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:54:29 -04:00
Archive previous payment methods
This commit is contained in:
parent
babbf8ea71
commit
f3419587bf
@ -502,7 +502,6 @@ class BasePaymentDriver
|
|||||||
$customer->save();
|
$customer->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
// archive the old payment method
|
// archive the old payment method
|
||||||
$paymentMethod = PaymentMethod::clientId($this->client()->id)
|
$paymentMethod = PaymentMethod::clientId($this->client()->id)
|
||||||
->isBankAccount($this->isGatewayType(GATEWAY_TYPE_BANK_TRANSFER))
|
->isBankAccount($this->isGatewayType(GATEWAY_TYPE_BANK_TRANSFER))
|
||||||
@ -511,7 +510,6 @@ class BasePaymentDriver
|
|||||||
if ($paymentMethod) {
|
if ($paymentMethod) {
|
||||||
$paymentMethod->delete();
|
$paymentMethod->delete();
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
$paymentMethod = $this->createPaymentMethod($customer);
|
$paymentMethod = $this->createPaymentMethod($customer);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user