State field showing incorrect value

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 4 months ago #52982 by Jim
Hi,
In membership pro on all documents (email and also thank you confirmations on screen), the state field shows the value in the STATE NAME 2 instead of STATE NAME

see screenshot below, this should show 'Alicante' and NOT '03'

please can you advise where this can be changed?


Attachments:

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

More
10 years 4 months ago #52995 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic State field showing incorrect value
Hi Jim

Unfortunately, that's how it works (state 2 code is used in many case, for example, when passing to payment gateway). If you want to use it same with state name, maybe run a SQL command to update the state2 column make it has the same value with state name ? That should be the quickest and easiest way

Tuan

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

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 4 months ago #52997 by Jim
Replied by Jim on topic State field showing incorrect value
but this shows to the customer too, when they register it shows there full address but the state field shows '03'

that cant be right? so the address that shows to the user would be for example

25 Av Del Denia
Benitachell
03
Spain

Surely it should show Alicante not 03?
The following user(s) said Thank You: Tracy Drummond

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

More
10 years 4 months ago - 10 years 4 months ago #52998 by Tracy Drummond
Replied by Tracy Drummond on topic State field showing incorrect value
Tuan

Yikes! I just updated and it did mess up my state names. All the state in "User profile" are "select state". Can you make a patch please.

Tracy
Last edit: 10 years 4 months ago by Tracy Drummond.

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

More
10 years 4 months ago #53014 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic State field showing incorrect value
The new version of the extension requires state 2 code 2 to be used to support some payment gateway (for example, Paypal Pro...)

If you want to use full state name, get this file, unzip it and upload to components/com_osmembership folder and it will work well

Tuan
Attachments:

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

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 4 months ago #53023 by Jim
Replied by Jim on topic State field showing incorrect value
Works Well, thanks Tuan

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

More
10 years 4 months ago #53038 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic State field showing incorrect value
Great, thanks for confirming Tim

Regards,

Tuan

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