mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Fix input errors on provider setup (#14799)
This commit is contained in:
@@ -101,6 +101,15 @@ export class PaymentComponent implements OnInit, OnDestroy {
|
||||
this.submitted.emit(type);
|
||||
};
|
||||
|
||||
validate = () => {
|
||||
if (!this.usingBankAccount) {
|
||||
return true;
|
||||
}
|
||||
|
||||
this.formGroup.controls.bankInformation.markAllAsTouched();
|
||||
return this.formGroup.controls.bankInformation.valid;
|
||||
};
|
||||
|
||||
/**
|
||||
* Tokenize the payment method information entered by the user against one of our payment providers.
|
||||
*
|
||||
|
||||
@@ -10611,5 +10611,8 @@
|
||||
},
|
||||
"verifyProviderBankAccountWithStatementDescriptorWarning": {
|
||||
"message": "Payment with a bank account is only available to customers in the United States. You will be required to verify your bank account. We will make a micro-deposit within the next 1-2 business days. Enter the statement descriptor code from this deposit on the provider's subscription page to verify the bank account. Failure to verify the bank account will result in a missed payment and your subscription being suspended."
|
||||
},
|
||||
"clickPayWithPayPal": {
|
||||
"message": "Please click the Pay with PayPal button to add your payment method."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user