Skip to content

Commit 533adbc

Browse files
authored
chore(firestore-stripe-invoices): added validation for payment due days configuration (#361)
1 parent fdc69e5 commit 533adbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

firestore-stripe-invoices/extension.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ params:
159159
What is the default number of days the customer has before their payment is due?
160160
The invoice automatically closes after this number of days.
161161
You can override this default value for each invoice.
162+
validationRegex: "^[0-9]+$"
163+
validationErrorMessage: >
164+
Please enter a valid number
162165
default: 7
163166
required: true
164167

0 commit comments

Comments
 (0)