mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Use latest gateway token
This commit is contained in:
parent
0e963f9dce
commit
921748a443
@ -596,6 +596,7 @@ class BasePaymentDriver
|
|||||||
|
|
||||||
$this->customer = AccountGatewayToken::clientAndGateway($clientId, $this->accountGateway->id)
|
$this->customer = AccountGatewayToken::clientAndGateway($clientId, $this->accountGateway->id)
|
||||||
->with('payment_methods')
|
->with('payment_methods')
|
||||||
|
->orderBy('id', 'desc')
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
if ($this->customer && $this->invitation) {
|
if ($this->customer && $this->invitation) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user