Make it work better

Do some front-end validation according to the rules below. Avoid frustrated shoppers and hide Ratepay's payment methods in any other case. Our Payment methods are available to your shoppers with the following restrictions:

Validation Content
Postal Code DE: 5 digits, numbers only
AT, CH: 4 digits, numbers only
NL: 7 digits, letters and numbers
Currency EUR in DE, AT, NL, CH
CHF in CH
Shoppers Must be at least 18 years old
Phone Number 6 or more digits, can contain the following characters:
012345678 +/-()
Bank Account Owner = Invoice recipient
IBAN Letters should be UPPERCASE
AT + 18 digits
DE + 20 digits
NL + 18 digits
CH + 19 digits
Shopping basket must have a minimum amount
may not exceed a given maximum amount
Delivery Address Billing address and delivery address needs to be equal
Delivery methods Express Delivery (24h, 48h) is not supported