[Skip to main content](#vessel-content)

#   State is being required, even though it is not set as required

##

- **[pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")**
- [![pcomelearning's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44215-pcomelearning "View pcomelearning's Profile") Topic Author
- [ Offline](/forum/user/44215-pcomelearning)

Less More

- Posts: 24
- Thank you received: 1
-
-

8 years 7 months ago [\#290824](#290824) by [pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")  *[State is being required, even though it is not set as required](/forum/25-install-update/894352-state-is-being-required-even-though-it-is-not-set-as-required#290824 "-- 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.")* was created by *[pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")*

-- 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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDM1Mi1zdGF0ZS1pcy1iZWluZy1yZXF1aXJlZC1ldmVuLXRob3VnaC1pdC1pcy1ub3Qtc2V0LWFzLXJlcXVpcmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

8 years 7 months ago [\#290830](#290830) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[State is being required, even though it is not set as required](/forum/25-install-update/894352-state-is-being-required-even-though-it-is-not-set-as-required#290830 "-- 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.")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDM1Mi1zdGF0ZS1pcy1iZWluZy1yZXF1aXJlZC1ldmVuLXRob3VnaC1pdC1pcy1ub3Qtc2V0LWFzLXJlcXVpcmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")**
- [![pcomelearning's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44215-pcomelearning "View pcomelearning's Profile") Topic Author
- [ Offline](/forum/user/44215-pcomelearning)

Less More

- Posts: 24
- Thank you received: 1
-
-

8 years 7 months ago -  8 years 7 months ago [\#291117](#291117) by [pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")  Replied by *[pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile")* on topic *[State is being required, even though it is not set as required](/forum/25-install-update/894352-state-is-being-required-even-though-it-is-not-set-as-required#291117 "-- 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.")*

The state is set to NOT required (see screenshot 1)  [ ![chrome&#95;2018-04-09&#95;08-49-15.png](/forum/attachment/43307) ](/forum/attachment/43307 "...9&#95;08-49-15.png")

.
The field validator is behaving as if it is required (see screenshot 2).  [ ![chrome&#95;2018-04-09&#95;09-15-51.png](/forum/attachment/43306) ](/forum/attachment/43306 "...9&#95;09-15-51.png")

The country being used is Lebanon

- [ ![chrome&#95;2018-04-09&#95;09-15-51.png](/forum/attachment/43306) ](/forum/attachment/43306 "...9&#95;09-15-51.png") [ ](/forum/attachment/43306?download=1 "...9&#95;09-15-51.png")
- [ ![chrome&#95;2018-04-09&#95;08-49-15.png](/forum/attachment/43307) ](/forum/attachment/43307 "...9&#95;08-49-15.png") [ ](/forum/attachment/43307?download=1 "...9&#95;08-49-15.png")

Last edit: 8 years 7 months ago by [pcomelearning](/forum/user/44215-pcomelearning "View pcomelearning's Profile"). Reason: Added country.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDM1Mi1zdGF0ZS1pcy1iZWluZy1yZXF1aXJlZC1ldmVuLXRob3VnaC1pdC1pcy1ub3Qtc2V0LWFzLXJlcXVpcmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

8 years 7 months ago [\#291122](#291122) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[State is being required, even though it is not set as required](/forum/25-install-update/894352-state-is-being-required-even-though-it-is-not-set-as-required#291122 "-- 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.")*

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&gt;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](/forum/user/44215-pcomelearning "View pcomelearning's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5NDM1Mi1zdGF0ZS1pcy1iZWluZy1yZXF1aXJlZC1ldmVuLXRob3VnaC1pdC1pcy1ub3Qtc2V0LWFzLXJlcXVpcmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
