mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for setting default database
This commit is contained in:
parent
bde5166827
commit
fa602ef0cd
@ -192,6 +192,7 @@ class MultiDB
|
||||
return true;
|
||||
|
||||
}
|
||||
self::setDefaultDatabase();
|
||||
|
||||
return false;
|
||||
}
|
||||
@ -205,6 +206,7 @@ class MultiDB
|
||||
return true;
|
||||
}
|
||||
}
|
||||
self::setDefaultDatabase();
|
||||
|
||||
return false;
|
||||
}
|
||||
@ -218,6 +220,7 @@ class MultiDB
|
||||
return true;
|
||||
}
|
||||
}
|
||||
self::setDefaultDatabase();
|
||||
|
||||
return false;
|
||||
}
|
||||
@ -230,6 +233,7 @@ class MultiDB
|
||||
return true;
|
||||
}
|
||||
}
|
||||
self::setDefaultDatabase();
|
||||
|
||||
return false;
|
||||
}
|
||||
@ -242,6 +246,7 @@ class MultiDB
|
||||
return true;
|
||||
}
|
||||
}
|
||||
self::setDefaultDatabase();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -141,7 +141,7 @@ class CreditCard
|
||||
$this->checkout->payment_hash->data = array_merge((array)$this->checkout->payment_hash->data, ['checkout_payment_ref' => $payment]);
|
||||
$this->checkout->payment_hash->save();
|
||||
|
||||
if ($this->checkout->client->currency()->code === 'EUR') {
|
||||
if ($this->checkout->client->currency()->code == 'EUR') {
|
||||
$payment->{'3ds'} = ['enabled' => true];
|
||||
|
||||
$payment->{'success_url'} = route('payment_webhook', [
|
||||
|
Loading…
x
Reference in New Issue
Block a user