By Alexandre Cayer on Friday, 20 June 2014
Posted in Technical Issues
Replies 5
Likes 0
Views 566
Votes 0
Hi Guys,

I have been told that an updated version of the custom field was coming on 1.3. We are currently working with Payplans team to develop an app that would take into account the state/province to apply sale tax.
We wouldn't want to manually have the clients to manually select country and state/province every time when it is already done in their profile. Therefore, I would need to know now a little bit on how it is gonna be working (will be state and country dependant on each other, will it be in a select box, will it be save with full name, will it be save with state 2 letters code etc...). This would be an ES exclusive !

Thanks
Hi,

Yes state will reflect from country and the list will be maintain-able by admin in backend.
·
Monday, 23 June 2014 13:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I don't quite understand what you mean with "We wouldn't want to manually have the clients to manually select country and state/province every time when it is already done in their profile."

If the address has already been saved by the user, the user won't have to choose country/state again on the next edit.

Regarding the update on the address field, it will be mainly updated to use Google Maps feature to detect a user location (formatted address, latitude, longitude retrieved from Google Maps).
·
Friday, 20 June 2014 13:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jason,

I wrote my Question at 1am... think I wasn't getting the information right hehe

Here is my point.

I am canadian and we have both a federal and a provincial sale tax.
Therefore, the sale taxe i must charge are based on the customer's location.

When my customer will be purchasing anything from my website, I need to check if:
a) they come from outside canada (no tax)
b) they live in canada BUT out of my current province (federal sale tax alone)
c) live in canada in my province (federal and provincial would apply)

Right now this option is not support in Payplan tax system. I can only apply a federal tax based on country selection.

We are currently working that out to get a tax system for Payplan that would add the notion of a state/province sale tax.
If i wouldn't use ES, my customer would need, during Payplan's checkout, to confirm their country and state/province in order to apply the tax, each and every single time (or at least once as to save the settings in Payplan).

Right now, my customer, to register, must register at least one address.

However, the address custome input field right now has a TEXTINPUT for State, which makes it hard to process the customer's various possibility of spelling for one's province/state. Ex: One of Canada's province is: Prince Edward Island or PEI. It's french counterpart is Île-du-Prince-Édouard (ÎPE).

The chance of having multiple instance of this one is quite high if it's left to the user to type it in.
If we have to, by plugin or my map-fielding the proper field in the database, to process that as it is right now... I will have heavy tax issue : )

Therefore, I want to know how the State/Province field of the Address customer field will be working in 1.3
Will it be a SELECT input based of premade Country-State database table (like for instance virtuemart) or another solution ?
How the State/province will then be saved to the database ? Long formal name ? Abbreviation ?
How will it be save ? What field ? JSON ?

We will basicly get from your perspective to translate it in our new Payplan's app.
This will then be pushed in Joomlathat's Invoice manager.

Like this, once the customer register and have a proper country and according state/province, when they will be purchasing one of our plan, he won't have to enter again it's Country and State/province.

Hope I was making more sense !
·
Friday, 20 June 2014 20:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alexandre,

The update that we'll be adding is to allow users to use the google maps functionality. I think this does not affect existing fields. It depends on which field you are using as a country field but it's best that you use the "Address" field to match against the country.
·
Saturday, 21 June 2014 14:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark,

I need to know how the STATE/Province Input field will be provided.
If I select CANADA as a Country.
Will the state/province will let me choose along a predefined list ?
My nightmare is text input with Nth possibility. I need to get the same state value every single time for a specific province. Ex: Select Canada as the country. Then I can choose Ontario as state/province, which will save every single time the value=on for state.

Is that implemented or could be implemented. Will inform guys from Payplans so we can have the new app importing Country/State for tax.

If not, here is the code to get it work: http://jsfiddle.net/bdhacker/eRv2W/

Thanks guys!

Alex
·
Monday, 23 June 2014 13:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post