1
0
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:
Alex Morask
2025-05-16 14:47:42 -04:00
committed by GitHub
parent b4b452f5d1
commit d2cce5b997
4 changed files with 33 additions and 9 deletions

View File

@@ -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.
*

View File

@@ -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."
}
}