https causes state/provinces attribute list not to populate

Permalink
Using an SSL cert with the checkout of the ecomemrce block, seems to cause the state/province attribute list to appear empty on the billing page.

If you visit the page with standard http, it loads the list fine.

I think its something to do with the path to the list helper?

any help with be appreciated.

atlantisdigital
 
atlantisdigital replied on at Permalink Best Answer Reply
atlantisdigital
I managed to find a workaround in case anyone else gets the same issue. I had to hardcode the list into the billing page:

<script>
var ccm_attributeTypeAddressStatesTextList = '\
US:AL:Alabama|\
US:AK:Alaska|\
US:AZ:Arizona|\
US:AR:Arkansas|\
US:CA:California|\
US:CO:Colorado|\
US:CT:Connecticut|\
US:DE:Delaware|\
US:FL:Florida|\
US:GA:Georgia|\
US:HI:Hawaii|\
US:ID:Idaho|\
US:IL:Illinois|\
US:IN:Indiana|\
US:IA:Iowa|\
US:KS:Kansas|\
US:KY:Kentucky|\
US:LA:Louisiana|\
US:ME:Maine|\
US:MD:Maryland|\
US:MA:Massachusetts|\
US:MI:Michigan|\
US:MN:Minnesota|\
US:MS:Mississippi|\
US:MO:Missouri|\
US:MT:Montana|\
US:NE:Nebraska|\
US:NV:Nevada|\
US:NH:New Hampshire|\
US:NJ:New Jersey|\
US:NM:New Mexico|\
US:NY:New York|\
US:NC:North Carolina|\
US:ND:North Dakota|\
US:OH:Ohio|\
US:OK:Oklahoma|\
US:OR:Oregon|\
US:PA:Pennsylvania|\
US:RI:Rhode Island|\
US:SC:South Carolina|\
US:SD:South Dakota|\
US:TN:Tennessee|\
US:TX:Texas|\
US:UT:Utah|\
US:VT:Vermont|\
US:VA:Virginia|\
US:WA:Washington|\
US:DC:Washington, DC|\
US:WV:West Virginia|\
US:WI:Wisconsin|\
US:WY:Wyoming|\
CA:AB:Alberta|\
CA:BC:British Columbia|\
CA:MB:Manitoba|\
CA:NB:New Brunswick|\
CA:NF:Newfoundland|\
CA:NT:Northwest Territories|\
CA:NS:Nova Scotia|\
CA:NU:Nunavut|\
CA:ON:Ontario|\
CA:PE:Prince Edward Island|\
CA:QC:Quebec|\
CA:SK:Saskatchewan|\
CA:YT:Yukon|\
AU:AAT:Australian Antarctic Territory|\
AU:ACT:Australian Capital Territory|\
AU:NT:Northern Territory|\
AU:NSW:New South Wales|\
AU:QLD:Queensland|\
AU:SA:South Australia|\
AU:TAS:Tasmania|\
AU:VIC:Victoria|\
AU:WA:Western Australia|\
UK:AVON:Avon|\
UK:BEDS:Bedfordshire|\
UK:BERKS:Berkshire|\
UK:BUCKS:Buckinghamshire|\
UK:CAMBS:Cambridgeshire|\
UK:CHESH:Cheshire|\
UK:CLEVE:Cleveland|\
UK:CORN:Cornwall|\
UK:CUMB:Cumbria|\
UK:DERBY:Derbyshire|\
UK:DEVON:Devon|\
UK:DORSET:Dorset|\
UK:DURHAM:Durham|\
UK:ESSEX:Essex|\
UK:GLOUS:Gloucestershire|\
UK:GLONDON:Greater London|\
UK:GMANCH:Greater Manchester|\
UK:HANTS:Hampshire|\
UK:HERWOR:Hereford & Worcestershire|\
UK:HERTS:Hertfordshire|\
UK:HUMBER:Humberside|\
UK:KENT:Kent|\
UK:LANCS:Lancashire|\
UK:LEICS:Leicestershire|\
UK:LINCS:Lincolnshire|\
UK:MERSEY:Merseyside|\
UK:NORF:Norfolk|\
UK:NHANTS:Northamptonshire|\
UK:NTHUMB:Northumberland|\
UK:NOTTS:Nottinghamshire|\
UK:OXON:Oxfordshire|\
UK:SHROPS:Shropshire|\
UK:SOM:Somerset|\
UK:STAFFS:Staffordshire|\
UK:SUFF:Suffolk|\
UK:SURREY:Surrey|\
UK:SUSS:Sussex|\
UK:WARKS:Warwickshire|\
UK:WMID:West Midlands|\
UK:WILTS:Wiltshire|\
UK:YORK:Yorkshire|\
UK::-----Scotland-----|\
UK:Aberdeen City:Aberdeen City|\
UK:Aberdeenshire:Aberdeenshire|\
UK:Angus:Angus|\
UK:Argyll and Bute:Argyll and Bute|\
UK:Borders:Borders|\
UK:Clackmannan:Clackmannan|\
UK:Dumfries and Galloway:Dumfries and Galloway|\
UK:East Ayrshire:East Ayrshire|\
UK:East Dunbartonshire:East Dunbartonshire|\
UK:East Lothian:East Lothian|\
UK:East Renfrewshire:East Renfrewshire|\
UK:Edinburgh City:Edinburgh City|\
UK:Falkirk:Falkirk|\
UK:Fife:Fife|\
UK:Glasgow:Glasgow (City of)|\
UK:Highland:Highland|\
UK:Inverclyde:Inverclyde|\
UK:Midlothian:Midlothian|\
UK:Moray:Moray|\
UK:North Ayrshire:North Ayrshire|\
UK:North Lanarkshire:North Lanarkshire|\
UK:Perthshire and Kinross:Perthshire and Kinross|\
UK:Renfrewshire:Renfrewshire|\
UK:Roxburghshire:Roxburghshire|\
UK:South Ayrshire:South Ayrshire|\
UK:South Lanarkshire:South Lanarkshire|\
UK:Stirling:Stirling|\
UK:West Dunbartonshire:West Dunbartonshire|\
UK:West Lothian:West Lothian|\
UK:Wales:-----Wales-----|\
UK:Blaenau Gwent:Blaenau Gwent|\
UK:Bridgend:Bridgend|\
UK:Caerphilly:Caerphilly|\
UK:Cardiff:Cardiff|\
UK:Carmarthenshire:Carmarthenshire|\
UK:Ceredigion:Ceredigion|\
UK:Conwy:Conwy|\
UK:Denbighshire:Denbighshire|\
UK:Flintshire:Flintshire|\
UK:Gwynedd:Gwynedd|\
UK:Merthyr Tydfil:Merthyr Tydfil|\
UK:Monmouthshire:Monmouthshire|\
UK:Neath Port Talbot:Neath Port Talbot|\
UK:Newport:Newport|\
UK:Pembrokeshire:Pembrokeshire|\
UK:Powys:Powys|\
UK:Rhondda Cynon Taff:Rhondda Cynon Taff|\
UK:Swansea:Swansea|\
UK:Torfaen:Torfaen|\
UK:The Vale of Glamorgan:The Vale of Glamorgan|\
UK:Wrexham:Wrexham|\
EI:CO ANTRIM:County Antrim|\
EI:CO ARMAGH:County Armagh|\
EI:CO DOWN:County Down|\
EI:CO FERMANAGH:County Fermanagh|\
EI:CO DERRY:County Londonderry|\
EI:CO TYRONE:County Tyrone|\
EI:CO CAVAN:County Cavan|\
EI:CO DONEGAL:County Donegal|\
EI:CO MONAGHAN:County Monaghan|\
EI:CO DUBLIN:County Dublin|\
EI:CO CARLOW:County Carlow|\
EI:CO KILDARE:County Kildare|\
EI:CO KILKENNY:County Kilkenny|\
EI:CO LAOIS:County Laois|\
EI:CO LONGFORD:County Longford|\
EI:CO LOUTH:County Louth|\
EI:CO MEATH:County Meath|\
EI:CO OFFALY:County Offaly|\
EI:CO WESTMEATH:County Westmeath|\
EI:CO WEXFORD:County Wexford|\
EI:CO WICKLOW:County Wicklow|\
EI:CO GALWAY:County Galway|\
EI:CO MAYO:County Mayo|\
EI:CO LEITRIM:County Leitrim|\
EI:CO ROSCOMMON:County Roscommon|\
EI:CO SLIGO:County Sligo|\
EI:CO CLARE:County Clare|\
EI:CO CORK:County Cork|\
EI:CO KERRY:County Kerry|\
EI:CO LIMERICK:County Limerick|\
EI:CO TIPPERARY:County Tipperary|\
EI:CO WATERFORD:County Waterford|\
NL:DR:Drente|\
NL:FL:Flevoland|\
NL:FR:Friesland|\
NL:GL:Gelderland|\
NL:GR:Groningen|\
NL:LB:Limburg|\
NL:NB:Noord Brabant|\
NL:NH:Noord Holland|\
NL:OV:Overijssel|\
NL:UT:Utrecht|\
NL:ZH:Zuid Holland|\
NL:ZL:Zeeland|\
BR:AC:Acre|\
BR:AL:Alagoas|\
BR:AM:Amazonas|\
BR:AP:Amapa|\
BR:BA:Baia|\
BR:CE:Ceara|\
BR:DF:Distrito Federal|\
BR:ES:Espirito Santo|\
BR:FN:Fernando de Noronha|\
BR:GO:Goias|\
BR:MA:Maranhao|\
BR:MG:Minas Gerais|\
BR:MS:Mato Grosso do Sul|\
BR:MT:Mato Grosso|\
BR:PA:Para|\
BR:PB:Paraiba|\
BR:PE:Pernambuco|\
BR:PI:Piaui|\
BR:PR:Parana|\
BR:RJ:Rio de Janeiro|\
BR:RN:Rio Grande do Norte|\
BR:RO:Rondonia|\
BR:RR:Roraima|\
BR:RS:Rio Grande do Sul|\
BR:SC:Santa Catarina|\
BR:SE:Sergipe|\
BR:SP:Sao Paulo|\
BR:TO:Tocatins|\
'
</script>