Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
From https://civicrm.stackexchange.com/questions/28250/drupal-webform-billing...
On Membership payment, using Drupal Webform, someone living in Singapore (for example) can not pay, as State/Province is required and Singapore has no State/Province defined. Gibraltar has the same.
This seems to be new after a civicrm update. The native civicrm contribution pages show state/province as a required field, but on countries where there are not state/provinces, payment will continue without state/province.
Comment | File | Size | Author |
---|---|---|---|
webform-after.png | 25.17 KB | commonpike | |
civicrm-after.png | 26.67 KB | commonpike | |
civicrm-before.png | 84.53 KB | commonpike |
Comments
Comment #2
commonpike CreditAttribution: commonpike commentedComment #3
commonpike CreditAttribution: commonpike commentedI've now added the province singapore to the country singapore. But that only helps singapore, not all the other countries, and I think we shouldn't be polluting our database just because the software broke ...
again, this is new, it didn't happen in
CiviCRM 5.7CiviCRM 4.7Comment #4
KarinGDo you know what the exact versions of CiviCRM were before (when things were working) and after upgrade?
Comment #5
commonpike CreditAttribution: commonpike commentedHm, ok, that seemed wrong info from my part, sorry.
We upgraded from 4.7.31 to 5.8.1 - so quite a jump.
Comment #6
commonpike CreditAttribution: commonpike commentedI ran into this again for North Macedonia, which has no provinces, so members can't pay.
On Stackexchange, KarinG wrote in a comment
but it seems CiviCRM itself is a bit smarter, it does not make the field
required in payment forms if there are no provinces.
There are much more countries that have no provinces or when
provinces are missing. The list is installed when installing civicrm,
it comes from ISO 3166 and ISO 3166-2, but it gets outdated over time.
Here is a list of ~25 problems from an installation in 2016:
https://civicrm.stackexchange.com/questions/11133/adding-states-to-count...