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

#   Direct to the specified template after checkout

##

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

Less More

- Posts: 30
- Thank you received: 0
-
-

9 years 11 months ago [\#258370](#258370) by [rakuzen](/forum/user/45598-rakuzen "View rakuzen's Profile")  *[Direct to the specified template after checkout](/forum/27-checkout/888066-direct-to-the-specified-template-after-checkout#258370 "I use two template for the website. ex: template A(defult) &amp; template B. and I set template B for Checkout process. When the checkout is successful, it Automatic direct to the template A. I hope it can in template B, and I try to set template B&gt;&gt; after&#95;end, $app-&gt;redirect(' order&#95;list'); it still direct to A. I check the payment plugin: 'ReturnURL' =&gt; JURI::root() . &quot;index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id=$order&#95;info-&gt;order&#95;id&quot;, How to modify? or some other place can be set up?")* was created by *[rakuzen](/forum/user/45598-rakuzen "View rakuzen's Profile")*

I use two template for the website. ex: template A(defult) &amp; template B.
and I set template B for Checkout process.
When the checkout is successful, it Automatic direct to the template A.
I hope it can in template B, and I try to set template B&gt;&gt; after_end, $app-&gt;redirect(' order_list'); it still direct to A.
I check the payment plugin:
'ReturnURL' =&gt; JURI::root() . "index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id=$order_info-&gt;order_id",
How to modify?
or some other place can be set up?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4ODA2Ni1kaXJlY3QtdG8tdGhlLXNwZWNpZmllZC10ZW1wbGF0ZS1hZnRlci1jaGVja291dD90bXBsPW1hcmtkb3du) 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 11 months ago [\#258376](#258376) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Direct to the specified template after checkout](/forum/27-checkout/888066-direct-to-the-specified-template-after-checkout#258376 "I use two template for the website. ex: template A(defult) &amp; template B. and I set template B for Checkout process. When the checkout is successful, it Automatic direct to the template A. I hope it can in template B, and I try to set template B&gt;&gt; after&#95;end, $app-&gt;redirect(' order&#95;list'); it still direct to A. I check the payment plugin: 'ReturnURL' =&gt; JURI::root() . &quot;index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id=$order&#95;info-&gt;order&#95;id&quot;, How to modify? or some other place can be set up?")*

Hi,

Which payment plugin are you using ?
The code you mentioned does not looks like a plugin that we have made ; we do not put PHP variables in double quoted string and when we create a URL, we're using HIKASHOP_ROOT and we add the ItemId parameter.

Regards,

---

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

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

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

9 years 11 months ago -  9 years 11 months ago [\#258394](#258394) by [rakuzen](/forum/user/45598-rakuzen "View rakuzen's Profile")  Replied by *[rakuzen](/forum/user/45598-rakuzen "View rakuzen's Profile")* on topic *[Direct to the specified template after checkout](/forum/27-checkout/888066-direct-to-the-specified-template-after-checkout#258394 "I use two template for the website. ex: template A(defult) &amp; template B. and I set template B for Checkout process. When the checkout is successful, it Automatic direct to the template A. I hope it can in template B, and I try to set template B&gt;&gt; after&#95;end, $app-&gt;redirect(' order&#95;list'); it still direct to A. I check the payment plugin: 'ReturnURL' =&gt; JURI::root() . &quot;index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id=$order&#95;info-&gt;order&#95;id&quot;, How to modify? or some other place can be set up?")*

It's pay2go plugin :
[ www.pay2go.com/info/site\_description/api\_description](https://www.pay2go.com/info/site_description/api_description)
The plugin only support Hikashop version Starter 2.5.0

Last edit: 9 years 11 months ago by [rakuzen](/forum/user/45598-rakuzen "View rakuzen's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4ODA2Ni1kaXJlY3QtdG8tdGhlLXNwZWNpZmllZC10ZW1wbGF0ZS1hZnRlci1jaGVja291dD90bXBsPW1hcmtkb3du) 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 11 months ago [\#258400](#258400) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Direct to the specified template after checkout](/forum/27-checkout/888066-direct-to-the-specified-template-after-checkout#258400 "I use two template for the website. ex: template A(defult) &amp; template B. and I set template B for Checkout process. When the checkout is successful, it Automatic direct to the template A. I hope it can in template B, and I try to set template B&gt;&gt; after&#95;end, $app-&gt;redirect(' order&#95;list'); it still direct to A. I check the payment plugin: 'ReturnURL' =&gt; JURI::root() . &quot;index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id=$order&#95;info-&gt;order&#95;id&quot;, How to modify? or some other place can be set up?")*

Hi,

It's not about support of HikaShop 2.5.0 ; it is that the plugin do not work like the HikaShop payment plugins are.
Please read the details I wrote in my previous message.
If you want to fix the plugin ; you have to contact the pay2go support so they will improve their plugin.
But we can't do anything in our side, it is all related to the plugin and his implementation.
And because it's not a plugin we made, we can't provide any kind of support for it.

Regards,

---

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

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

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

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