- Posts: 24
- Thank you received: 1
State is being required, even though it is not set as required
- pcomelearning
-
Topic Author
- Offline
Less
More
8 years 6 months ago #290824
by pcomelearning
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.7.8
-- PHP version -- : 7.0.1
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: 33 Bill To State/Province is required.
We have a customer from Lebanon. Unfortunately, the customer is unable to make a transaction because of this error:
There was an error while processing your transaction: 33 Bill To State/Province is required.
When the country Lebanon is selected, the state field disappears.
To resolve the issue, I tried making the state field not required, but the same error still comes up.
Any help resolving this issue for countries that do not have states is appreciated.
-- Joomla version -- : 3.7.8
-- PHP version -- : 7.0.1
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: 33 Bill To State/Province is required.
We have a customer from Lebanon. Unfortunately, the customer is unable to make a transaction because of this error:
There was an error while processing your transaction: 33 Bill To State/Province is required.
When the country Lebanon is selected, the state field disappears.
To resolve the issue, I tried making the state field not required, but the same error still comes up.
Any help resolving this issue for countries that do not have states is appreciated.
Please Log in or Create an account to join the conversation.
8 years 6 months ago #290830
by nicolas
Replied by nicolas on topic State is being required, even though it is not set as required
Hi,
I've checked your link and I don't see why you want to make the state field required ?
There is automatically already a choice preselected in the state dropdown. So when the dropdown appears, there will always be a state selected.
And when there is no dropdown then you don't want the field to be required.
So you should just turn off the required option for that field.
I've checked your link and I don't see why you want to make the state field required ?
There is automatically already a choice preselected in the state dropdown. So when the dropdown appears, there will always be a state selected.
And when there is no dropdown then you don't want the field to be required.
So you should just turn off the required option for that field.
Please Log in or Create an account to join the conversation.
- pcomelearning
-
Topic Author
- Offline
Less
More
- Posts: 24
- Thank you received: 1
8 years 5 months ago - 8 years 5 months ago #291117
by pcomelearning
Replied by pcomelearning on topic State is being required, even though it is not set as required
Last edit: 8 years 5 months ago by pcomelearning. Reason: Added country.
Please Log in or Create an account to join the conversation.
8 years 5 months ago #291122
by nicolas
Replied by nicolas on topic State is being required, even though it is not set as required
Hi,
That error doesn't come from HikaShop but from your payment gateway.
That's probably because there are no zones added in the "sub zones" listing of the lebanon zone and your payment gateway requires one.
If you want to avoid that, you can thus add sub zones to that country in the menu System>Zones.
However, you might want to ask your payment gateway if something can be done for that error for lebanon as I don't think that the state/province is useful for lebanon.
That error doesn't come from HikaShop but from your payment gateway.
That's probably because there are no zones added in the "sub zones" listing of the lebanon zone and your payment gateway requires one.
If you want to avoid that, you can thus add sub zones to that country in the menu System>Zones.
However, you might want to ask your payment gateway if something can be done for that error for lebanon as I don't think that the state/province is useful for lebanon.
The following user(s) said Thank You: pcomelearning
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds