latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Disable state/ Province check

Home Forums Community Forum Disable state/ Province check

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 4 years ago.

Topic Author Topic
Posted: Tuesday Dec 11th, 2012 at 2:12 pm #34281
Joe Zen
Username: ltilancer

I am trying to disable that check from my registration for Paypal. I understand that by disabling this Paypal still requires it, and that’s fine, I wish to still disable it. It’s a long story, and in order to make the customer happy I need to disable this, I don’t want to get into this. Can you please give me some guidance as to how to disable this?

http://d.pr/i/xAMz

I tried changing

aria-required="true" maxlength="100" autocomplete="off" name="s2member_pro_paypal_checkout[state]

to

aria-required="false" maxlength="100" autocomplete="off" name="s2member_pro_paypal_checkout[state]

however even if that is marked as false, it still asks for it.

I also removed it from:
/wp-content/plugins/s2member-pro/includes/classes/gateways/paypal/paypal-responses.inc.php

but I think that just stops the PHP check, not the js pop up that appears.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Wednesday Dec 12th, 2012 at 8:24 am #34345

Hi Joe.

I don’t know what complications it may cause with PayPal when that field is missing/incorrect, but you can test it.

To remove the warning, I guess I’d try prepopulating that field with a dummy value. Or go ahead and edit the JS that does the form validation client-side.

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.