State drop-down box

More
11 years 3 weeks ago - 11 years 3 weeks ago #48304 by Raid
State drop-down box was created by Raid
Hi,

After installed the Membership pro. Everything works fine. No problem at all. The only thing that is bothering me is this:

The State drop-down box shows the state as "Alabama, Alaska, Arizona, Arkansas, etc..." which is fine. However, after processing to the PayPal checkout, PayPal doesn't recognize the state and it gives a message to change the state to "AL, AK, AZ, AR , etc....". so, the users must fixed it in this point to continue with the payment.

Is there any way to change the value of State field from "Alabama, Alaska, Arizona, Arkansas, etc..." to "AL, AK, AZ, AR , etc...." format?

Note: All the popular sites that processing a payments they use "AL, AK, AZ, AR , etc...." format for the State. It will be very nice if this will be changed in the next update.

Thanks in advance,
Last edit: 11 years 3 weeks ago by Raid.

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #48314 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic State drop-down box
Hi Raid

The states list are generated from a database table. I think we are using state_2_code field and i should work exactly as you want. Could you please let us know these states come from what country so that I can check the data in the database and make sure it is correct ?

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #48315 by Raid
Replied by Raid on topic State drop-down box
Hi Tuan,
Thanks for your quickly replay.

The country that the sates come from is: United States of America.

I attached two images for the setting on the Joomla back-end and the Front-end so you can take a look.

Thanks a lot,
RAID

Please Log in or Create an account to join the conversation.