You are here

How do the Hosted Payment Pages handle non-standard addresses?

Some parts of the world have different address requirements, and the Hosted Payment Pages are designed to cater for these.

Ireland postal codes

If the billing country is Ireland (IE), the postal code field is automatically made non-mandatory.

This means that if the country of the Billing address is Ireland (IE) within the XML request submission (Billing address parameter set to SHOW or HIDE), the Irish postal code isn't mandated. For any other country, the postal code is mandated and if not provided, you'll get an error code="5" Invalid address: Postal code is missing or empty. If the billing address is set to EDIT, the field will be optional if Ireland is selected.

Singapore city

If the billing country is Singapore (SG), the city field is automatically made non-mandatory.
This means that if the country of the Billing address is Singapore (SG) within the XML request submission (Billing address parameter set to SHOW or HIDE), the city is not mandated. For any other country, the city is mandated and if not provided you'll get an error. If the billing address is set to EDIT, the field will be optional if Singapore is selected.