Skip to Content Skip to Menu

CBSubs invoice not grabbing the country or state

13 years 2 months ago #174861 by jrb_trader
PHP version 5.2.17
Joomla version 1.7.0
CB version 1.7
CBSubs version 1.2.2

From what I understand, CBSubs should grab the country and state information for its invoice from the indicated CB registration fields, correct? This is not happening. It can grab the Name, Address, City, and Zip Code fields correctly, but not Country or State. I do understand that the country and state information in the xml is based on two-letter abbreviations.

Is there a way to fix this?

I am also using the CBSubs Tax plugin, if that makes a difference.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
13 years 2 months ago #174878 by krileon

I do understand that the country and state information in the xml is based on two-letter abbreviations.

Does your CB field match this? Your CB field values must match CBSubs values or it won't synchronize. For example for US your field needs to have US as if it's United States it will not synchronize over.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

13 years 2 months ago #175038 by jrb_trader

krileon wrote: Does your CB field match this? Your CB field values must match CBSubs values or it won't synchronize. For example for US your field needs to have US as if it's United States it will not synchronize over.


I have tried it both ways.

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

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
13 years 2 months ago #175043 by beat
Invoice address will synchronize from user's fields only at first purchase.

After that, it remains independent, as invoicing addresses are often different from the user's address (e.g. if company pays for something).

So for a successful test, you need to create a new user for each of your tests.

Does it now work ? :)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

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

13 years 2 months ago #175297 by jrb_trader
Unfortunately, it does not.

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

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 2 months ago #233041 by dotcom22
Any solution was found for this problem ? I get the exact same issue..

In my case, user come from always same country. So I setup a delimiter with inside the country value and I tried both format such "US" or "United States" but without success. I tried also to setup a simple text field without more success.

In fact for be precise, the country field seem to be well mapped (because instead to get the form where all data are pre-filled except the country field, I get directly the basket view) but in practice the country name is not displayed. Then if I click on "Edit data" link, the select drop-down country field do not show any country and I'm supposed to choose one. In complement due to the fact the field State is not mandatory, I did not mapped this field (because I don't need to know the state so I have hide the field with css).

I tested with some user who has never bought something or even never try to order something.

It seem we have a small glitch here...any clue ?

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

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

Moderators: beatnantkrileon
Powered by Kunena Forum