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

#   If I change address during checkout, Receive error

##

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

Less More

- Posts: 60
- Thank you received: 3
-
-

13 years 2 months ago [\#120884](#120884) by [blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")  *[If I change address during checkout, Receive error](/forum/28-shipping-methods/861505-if-i-change-address-during-checkout-receive-error#120884 "Please see screen shots. If I click &quot;Proceed to checkout&quot; in the Cart, everything seems to go smoothly. However, if I change a billing/shipping address, I receive the error in the attached screen...")* was created by *[blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")*

Please see screen shots. If I click "Proceed to checkout" in the Cart, everything seems to go smoothly. However, if I change a billing/shipping address, I receive the error in the attached screen shot. If I refresh the page the errors go away. If I change addresses again they come right back. Anyone else had this issue?

Thanks in advance!

-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.14
-- Browser(s) name and version -- : All browsers

- [ ![he6e0fe7.JPG](/forum/attachment/11968) ](/forum/attachment/11968 "he6e0fe7.JPG") [ ](/forum/attachment/11968?download=1 "he6e0fe7.JPG")
- [ ![he75b1ff.JPG](/forum/attachment/11969) ](/forum/attachment/11969 "he75b1ff.JPG") [ ](/forum/attachment/11969?download=1 "he75b1ff.JPG")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 2 months ago -  13 years 2 months ago [\#120902](#120902) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[If I change address during checkout, Receive error](/forum/28-shipping-methods/861505-if-i-change-address-during-checkout-receive-error#120902 "Please see screen shots. If I click &quot;Proceed to checkout&quot; in the Cart, everything seems to go smoothly. However, if I change a billing/shipping address, I receive the error in the attached screen...")*

I think that you'll just have to edit the file "*Your Website\\components\\com\_hikashop\\controllers\\**checkout.php***", and change this line : Code:

if(in_array($m-&gt;shipping_id.'@'.$key, $shipping_ids) &amp;&amp; in_array($m-&gt;shipping_type.'@'.$key, $shipping_methods)) {

By : Code:

if(is_array($shipping_ids) &amp;&amp; is_array($shipping_methods) &amp;&amp; in_array($m-&gt;shipping_id.'@'.$key, $shipping_ids) &amp;&amp; in_array($m-&gt;shipping_type.'@'.$key, $shipping_methods)) {

Last edit: 13 years 2 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

The following user(s) said Thank You: [blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")

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

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

Less More

- Posts: 60
- Thank you received: 3
-
-

13 years 2 months ago [\#120916](#120916) by [blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")  Replied by *[blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")* on topic *[If I change address during checkout, Receive error](/forum/28-shipping-methods/861505-if-i-change-address-during-checkout-receive-error#120916 "Please see screen shots. If I click &quot;Proceed to checkout&quot; in the Cart, everything seems to go smoothly. However, if I change a billing/shipping address, I receive the error in the attached screen...")*

Worked like a charm. Mohamed and nicolas- you guys are awesome!

I assume this will be changed for the next release?

Thanks!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#120986](#120986) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[If I change address during checkout, Receive error](/forum/28-shipping-methods/861505-if-i-change-address-during-checkout-receive-error#120986 "Please see screen shots. If I click &quot;Proceed to checkout&quot; in the Cart, everything seems to go smoothly. However, if I change a billing/shipping address, I receive the error in the attached screen...")*

Hi,

Yes it will be changed for the next release.

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

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

Less More

- Posts: 2
- Thank you received: 2
-
-

12 years 11 months ago [\#131389](#131389) by [rembrandt](/forum/user/27261-rembrandt "View rembrandt's Profile")  Replied by *[rembrandt](/forum/user/27261-rembrandt "View rembrandt's Profile")* on topic *[If I change address during checkout, Receive error](/forum/28-shipping-methods/861505-if-i-change-address-during-checkout-receive-error#131389 "Please see screen shots. If I click &quot;Proceed to checkout&quot; in the Cart, everything seems to go smoothly. However, if I change a billing/shipping address, I receive the error in the attached screen...")*

Thank you for posting this fix. I needed it too and it worked great! Hikashop is working great for me. Nice component. I will post a great review on the Joomla Extension Dierctory!

The following user(s) said Thank You: [Xavier](/forum/user/4105-xavier "View Xavier's Profile"), [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODYxNTA1LWlmLWktY2hhbmdlLWFkZHJlc3MtZHVyaW5nLWNoZWNrb3V0LXJlY2VpdmUtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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.108 seconds

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

[](#top)
