CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • State field required -- even for International users...
Pages: [1]

Author Topic: State field required -- even for International users...  (Read 1219 times)

Laryn

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 4
    • CEDC
  • CiviCRM version: 4.6.x
  • CMS version: Drupal 7
State field required -- even for International users...
December 16, 2008, 08:54:58 am
We're running into an issue where international users who try to renew a membership are getting errors indicating that the state field is required (a problem since they are not in the USA). The country list has a complete list of countries in it but the state field only has US states and Canadian provinces (putting any more in there would be quite confusing).

The form does not say that the field is required (no asterisk beside it) and I can't test since I don't have an international credit card.

Anyone have some advice? I'm at a loss.
CEDC...social justice by design

*Get support on the new CiviCRM help site. /laryn

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: State field required -- even for International users...
December 16, 2008, 09:15:15 am

For 2.1, you can modify: CRM/Core/Payment/Form.php, line 87 and change

'is_required' => true

TO

'is_required' => false

Not sure what your payment processor is, but you might want to check their rules. My memory faintly recalls that paypal WP Pro required all address fields and hence we made that required (i might be wrong / my memory might be faulty :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Laryn

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 4
    • CEDC
  • CiviCRM version: 4.6.x
  • CMS version: Drupal 7
Re: State field required -- even for International users...
December 19, 2008, 01:19:19 pm
Thanks! I'll give this a try and have him try again. We are using Authorize.net.
CEDC...social justice by design

*Get support on the new CiviCRM help site. /laryn

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • State field required -- even for International users...

This forum was archived on 2017-11-26.