mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
fix credit card saving with stripe
This commit is contained in:
parent
08501cceb6
commit
6ae18dac6f
@ -179,7 +179,7 @@ class CreditCard
|
||||
|
||||
$payment_type = PaymentType::parseCardType($payment_method_object['card']['brand']);
|
||||
|
||||
if ($state['save_card'] == true || $state['save_card'] == 'true') {
|
||||
if ($state['save_card'] === true || $state['save_card'] === 'true') {
|
||||
$this->saveCard($state);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user