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

#   Invalid token/checking out/ new address

##

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

Less More

- Posts: 21
- Thank you received: 0
-
- [](http://www.rebootedinc.net/jomla)
-

15 years 4 months ago [\#17384](#17384) by [samoli31](/forum/user/2690-samoli31 "View samoli31's Profile")  *[Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#17384 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")* was created by *[samoli31](/forum/user/2690-samoli31 "View samoli31's Profile")*

Hi,

I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying "invalid token" can you help me to fix it. Because without the address the sale cannot be done.
Thanks

Sam

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3Mzg0LWludmFsaWQtdG9rZW4tY2hlY2tpbmctb3V0LW5ldy1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 4 months ago [\#17398](#17398) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#17398 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

Hi,

Which version of HikaShop are you using ?
I recall that we recently removed that check since it's not needed and that in some special cases like yours it might not work.
If you don't have the latest version, please update.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

15 years 2 months ago [\#24101](#24101) by [innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")  Replied by *[innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#24101 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

Hi!

I have the same problem.

We are testing Hikashop on a devel site and allways when we try to buy something on the checkout we can't add an address, allways have invalid token.

We have Joomla 1.6.5 and the last Hikashop version, 1.5.3. Any idea what could happen?

Thanks in advance!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3Mzg0LWludmFsaWQtdG9rZW4tY2hlY2tpbmctb3V0LW5ldy1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 2 months ago [\#24132](#24132) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#24132 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

We don't have such problem on joomla 1.6.5 with HikaShop 1.5.3
Could you give a link to your shop so that we can see the problem ?

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

15 years 2 months ago [\#24147](#24147) by [innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")  Replied by *[innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#24147 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

Hi!

Sure, here you can view the site [ prep.itcat.cat/itcat](http://prep.itcat.cat/itcat)

You can test the checkout with user hika and password 123456

I can enable the debug mode if you need more information or give you rights on backend.
In the backend I can't add other address but the first time I was logged with Super User account I can add my address.

Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3Mzg0LWludmFsaWQtdG9rZW4tY2hlY2tpbmctb3V0LW5ldy1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 2 months ago [\#24155](#24155) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#24155 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

The only possibility I can see is that you have some cache function activated, either in joomla or in your template. Thus, the token in the pages is not the token in the session as the token in the cache comes from another session.
Could you check on that (joomla config, cache plugin, template options) ?

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

15 years 2 months ago [\#24172](#24172) by [innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")  Replied by *[innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#24172 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

Hi!

I don't have Joomla cache enabled, Joomla pluguin enabled, system pluguin enabled and template cache enabled. I try to clear cache and try again and the same problem.

I try to empty the cache diractory and try again and allways the same problem: invalid token.

I try to change to other template layout to test if is something related with template and still have the invalid toke.

There are some option to debug that?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE3Mzg0LWludmFsaWQtdG9rZW4tY2hlY2tpbmctb3V0LW5ldy1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

15 years 2 months ago [\#24173](#24173) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#24173 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

Well, the easiest workaround is to remove the line
JRequest::checkToken('request') or jexit( 'Invalid Token' );

(2 places) from the file components/com_hikashop/controllers/address.php but that doesn't explain why it doesn't work.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

15 years 2 months ago [\#24239](#24239) by [innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")  Replied by *[innostrategies](/forum/user/3749-innostrategies "View innostrategies's Profile")* on topic *[Re: Invalid token/checking out/ new address](/forum/4-how-to/17384-invalid-token-checking-out-new-address#24239 "Hi,  I'm using hikashop for my website, but i got an issue when a costumer tried to check out, the system ask for a new address but when adding it there is a message saying &quot;invalid token&quot; can you help me to fix it. Because without the address the sale cannot be done. Thanks  Sam")*

Hi!

Trying comment the lines don't work for me.

I uninstall Hikashop, copy views folders, and now all works perfect. I don't know what could be.

Thanks a lot!

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

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

[](#top)
