Required fields
Depending of different conditions, Tamaro automatically shows some blocks and fields,
ignoring the values specified in showBlocks and showFields config options
for these fields (or blocks in which these fields are rendered), and also makes them required.
This may be overruled by forceShowBlocks, forceShowFields and forcePaymentValidations
config options, but if you use these config options, you MUST be sure to pass
the data for all required fields by yourself (using hidden fields).
Current main rules:
(Tamaro actually has more rules, these are just the most important ones)
- If payment type is
recurring:stored_customer_emailis required
- If payment method is
card:stored_customer_firstnameis requiredstored_customer_lastnameis required
- If payment method is
sepa_dd:stored_customer_emailis requiredstored_customer_firstnameis requiredstored_customer_lastnameis required- if IBAN country is not in EEA (or equals to "FR"):
stored_customer_streetis requiredstored_customer_zip_codeis requiredstored_customer_cityis requiredstored_customer_countryis requiredstored_customer_stateis required (if states are defined for selected country)
- If payment method is
direct_debit:- if direct debit variant is detected as
sepa_dd:stored_customer_emailis requiredstored_customer_firstnameis requiredstored_customer_lastnameis required- if IBAN country is not in EEA (or equals to "FR"):
stored_customer_streetis requiredstored_customer_zip_codeis requiredstored_customer_cityis requiredstored_customer_countryis requiredstored_customer_stateis required (if states are defined for selected country)
- if direct debit variant is detected as
ch_taorch_dd:stored_customer_emailis requiredstored_customer_firstnameis requiredstored_customer_lastnameis required
- if direct debit variant is detected as
- If payment method is
ch_qr_reference:stored_customer_firstnameis requiredstored_customer_lastnameis requiredstored_customer_streetis requiredstored_customer_zip_codeis requiredstored_customer_cityis requiredstored_customer_countryis requiredstored_customer_stateis required (if states are defined for selected country)
- If
stored_customer_email_permissioncheckbox is checked:stored_customer_emailis required
- If
stored_is_company_donationcheckbox is checked:stored_customer_companyis required
- If donation receipt checkbox is checked
and if
donationReceiptRequiresFieldsconfig options is enabled (enabled by default):- If
organisationCountryCodeis"CH","DE"or"US":stored_customer_firstnameis requiredstored_customer_lastnameis requiredstored_customer_streetis requiredstored_customer_street_numberis requiredstored_customer_zip_codeis requiredstored_customer_cityis requiredstored_customer_countryis requiredstored_customer_stateis required (if states are defined for selected country)
- If
organisationCountryCodeis"AT":stored_customer_firstnameis requiredstored_customer_lastnameis requiredstored_customer_birthdateis required
- If
organisationCountryCodeis other or not specified:stored_customer_firstnameis requiredstored_customer_lastnameis requiredstored_customer_streetis requiredstored_customer_zip_codeis requiredstored_customer_cityis requiredstored_customer_countryis requiredstored_customer_stateis required (if states are defined for selected country)
- If
- If donation receipt checkbox is checked
and
autogeneratedDonationReceiptEnabledconfig options is enabled (disabled by default):stored_customer_emailis required