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

#   Checkout steps - old versions versus new version

##

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile") Topic Author
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

9 years 6 months ago [\#270614](#270614) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270614 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")* was created by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")*

-- url of the page with the problem -- : private
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.1.4
-- Browser(s) name and version -- : Safari 10.1.1

We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow_step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout_workflow... for the array of tasks within each step.

Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.

Thanks.

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#270617](#270617) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270617 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

Hello,

For the integration plugin we made, I added the support of HikaShop 3 and I create some function to support the legacy mode (so, the old code in the plugin).

In order to know which mode you have to use, best is to use Code:

$config = hikashop_config(); $checkout_legacy = (int)$config-&gt;get('checkout_legacy', 0); if($checkout_legacy) return $this-&gt;myLegacyFunction($param1, $param2);

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile") Topic Author
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

9 years 6 months ago [\#270680](#270680) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  Replied by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270680 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

Is there any documentation on $view or other object parameters that were specifically added for the new checkout? And any differences in behavior, new/depricated/altered events, etc? That would be really helpful.

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

The following user(s) said Thank You: [PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")

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

Less More

- Posts: 86593
- Thank you received: 14334
-
-

9 years 6 months ago [\#270685](#270685) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270685 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

Hi,

There is no documentation on all that.
The best we have is this ( [ www.hikashop.com/home/blog/367-hikashop-...out.html#developpers](https://www.hikashop.com/home/blog/367-hikashop-3-0-out.html#developpers) ) but it's not much and won't help you.

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

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile") Topic Author
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

9 years 6 months ago -  9 years 6 months ago [\#270788](#270788) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  Replied by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270788 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

For reference I can see there are three options now that we have to check if we want to support pre-3.x versions.

1) is legacy mode set
2) is legacy mode not set (new checkout)
3) does legacy mode not exist (pre-3.x version)

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

Last edit: 9 years 6 months ago by [3by400](/forum/user/6842-3by400 "View 3by400's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

9 years 6 months ago [\#270834](#270834) by [Joeri](/forum/user/31420-joeri "View Joeri's Profile")  Replied by *[Joeri](/forum/user/31420-joeri "View Joeri's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270834 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

i don't understand what to do.
I have now checkout legacy and when you put your address in and than use the button next, its always going back to the same page for put your address in.

it stays stuck in ckeckout step 1.

any idea??
Regards Joeri

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

Less More

- Posts: 86593
- Thank you received: 14334
-
-

9 years 6 months ago -  9 years 6 months ago [\#270789](#270789) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270789 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

Hi,

@3by400 :
The legacy option was added in the 3.0.0.
You can find it under the "advanced" tab of the HikaShop configuration and its name is "checkout legacy".
If you don't see it, then either you don't have a 3.x version, or you have some view overrides of the configuration page preventing you from seeing the new options.

There are no version of HikaShop 3 without the legacy setting. Also, with the legacy setting activated, the checkout should behave the same as with the HikaShop 2 checkout.

@Joeri :
Hard to say. It probably means that something is missing.
For example, the VAT number is invalid, or there are no shipping methods, etc.
Sometimes, error messages are not displayed by the template with the old checkout :
[ www.hikashop.com/support/documentation/6...tibility-issues.html](https://www.hikashop.com/support/documentation/61-hikashop-compatibility-issues.html)
So it could be why you don't see the error message which would help you understand what's going on.
If you turn off the "checkout legacy" setting, does it work fine ?

Last edit: 9 years 6 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

9 years 6 months ago [\#270861](#270861) by [Joeri](/forum/user/31420-joeri "View Joeri's Profile")  Replied by *[Joeri](/forum/user/31420-joeri "View Joeri's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270861 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

Hi Nicolas,

Thanks for your reply.
turn off the "checkout legacy" setting is a solution, then it works.
Some css is gone.
I try it for now and fix some little changes.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#270866](#270866) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Checkout steps - old versions versus new version](/forum/29-payment-methods/890454-checkout-steps-old-versions-versus-new-version#270866 "-- url of the page with the problem -- : private -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.1.4 -- Browser(s) name and version -- : Safari 10.1.1  We've created a payment plugin that worked on HikaShop versions prior to 3.x. On 3.x there seems to have been changes made to how checkout steps are arranged in the $view object. In previous versions it was $view-&gt;step for the current step and $view-&gt;steps for the array of steps. Now it seems it is $view-&gt;step or $view-&gt;workflow&#95;step for the current step (although these are not the same value) and $view-&gt;checkoutHelper-&gt;checkout&#95;workflow... for the array of tasks within each step.  Is there a way to gracefully support pre 3.x versions AND current 3.x+ versions? Is there any sort of guide map on how best to handle this. Certainly I'd prefer to just say this payment plugin version supports only versions 3 and above, but I've not sure I'll have that option.  Thanks.")*

Hello,

You can use the "style / default" if you want to retrieve the CSS from HikaShop 2.6
And you need to use the "frontend / default" if you want to be sure to have all CSS for HikaShop 3
[ www.hikashop.com/support/documentation/5...fig.html#display\_css](https://www.hikashop.com/support/documentation/54-hikashop-config.html#display_css)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")

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

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