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

#   Hika + Akeeba Subs - 2 PHP issues

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 3 months ago [\#165184](#165184) by [timk](/forum/user/33514-timk "View timk's Profile")  *[Hika + Akeeba Subs - 2 PHP issues](/forum/30-integrations/869914-hika-akeeba-subs-2-php-issues#165184 "-- url of the page with the problem -- : http : // www . furiantech . com -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Chrome 36.0.1985.125 m  Hey guys,  Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading B) Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives. Down to business; I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to &quot;post purchase&quot;. Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency). To add complexity I am also using JoomSEF to neaten up my links and help with SEO.  Everything to that point works, except the following issues: 1. Going to HikaShop User Control Panel, click -&gt; &quot;Show your subcriptions&quot; just redirects to the current link followed by a # symbol. The same issue was experienced here:   www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075  - I would like confirmation of what piece of code to use to fix it.  2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a &quot;My Subscriptions&quot; page. On there I can see my current order, when I try click &quot;renew&quot; (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself. The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. &quot;index.php/solutions/proper-test/checkout&quot; when appended to my domain will check out the item and start the checkout process. (Image: AkeebaURL2) is the actual page I get to when I click Renew.  I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.  I may have gone into too much detail about the issue and not explained it well. Thank you for your time :)")* was created by *[timk](/forum/user/33514-timk "View timk's Profile")*

-- url of the page with the problem -- : http : // www . furiantech . com
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3
-- PHP version -- : 5.3.10
-- Browser(s) name and version -- : Chrome 36.0.1985.125 m

Hey guys,

Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading ![B)](/media/kunena/emoticons/1.png "B)")
Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives.
Down to business;
I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to "post purchase". Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency).
To add complexity I am also using JoomSEF to neaten up my links and help with SEO.

Everything to that point works, except the following issues:
1. Going to HikaShop User Control Panel, click -&gt; "Show your subcriptions" just redirects to the current link followed by a # symbol.
The same issue was experienced here: [ www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075](http://www.hikashop.com/forum/3-bug-report/78563-link-to-akeeba-subscriptions-malformed.html#91075) - I would like confirmation of what piece of code to use to fix it.

2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a "My Subscriptions" page. On there I can see my current order, when I try click "renew" (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself.
The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. "index.php/solutions/proper-test/checkout" when appended to my domain will check out the item and start the checkout process.
(Image: AkeebaURL2) is the actual page I get to when I click Renew.

I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.

I may have gone into too much detail about the issue and not explained it well.
Thank you for your time ![:)](/media/kunena/emoticons/8.png ":)")

- [ ![h032bf02.PNG](/forum/attachment/18654) ](/forum/attachment/18654 "h032bf02.PNG") [ ](/forum/attachment/18654?download=1 "h032bf02.PNG")
- [ ![hfefb070.PNG](/forum/attachment/18655) ](/forum/attachment/18655 "hfefb070.PNG") [ ](/forum/attachment/18655?download=1 "hfefb070.PNG")
- [ ![h872bf61.PNG](/forum/attachment/18656) ](/forum/attachment/18656 "h872bf61.PNG") [ ](/forum/attachment/18656?download=1 "h872bf61.PNG")

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

12 years 3 months ago [\#165297](#165297) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Hika + Akeeba Subs - 2 PHP issues](/forum/30-integrations/869914-hika-akeeba-subs-2-php-issues#165297 "-- url of the page with the problem -- : http : // www . furiantech . com -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Chrome 36.0.1985.125 m  Hey guys,  Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading B) Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives. Down to business; I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to &quot;post purchase&quot;. Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency). To add complexity I am also using JoomSEF to neaten up my links and help with SEO.  Everything to that point works, except the following issues: 1. Going to HikaShop User Control Panel, click -&gt; &quot;Show your subcriptions&quot; just redirects to the current link followed by a # symbol. The same issue was experienced here:   www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075  - I would like confirmation of what piece of code to use to fix it.  2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a &quot;My Subscriptions&quot; page. On there I can see my current order, when I try click &quot;renew&quot; (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself. The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. &quot;index.php/solutions/proper-test/checkout&quot; when appended to my domain will check out the item and start the checkout process. (Image: AkeebaURL2) is the actual page I get to when I click Renew.  I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.  I may have gone into too much detail about the issue and not explained it well. Thank you for your time :)")*

Hi,

1. The link should be something like: ".../index.php?option=com_akeebasubs&amp;view=subscriptions" as it is set in the plugin.
You can potentially edit that link directly in the plugin file "plugins/hikashop/akeebasubs/akeebasubs.php"

2. This is more a Akeeba subscription issue, we don't manage the emails sent by Akeeba. As link, you can provide the default HikaShop link to the orders page.

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

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 3 months ago [\#165429](#165429) by [timk](/forum/user/33514-timk "View timk's Profile")  Replied by *[timk](/forum/user/33514-timk "View timk's Profile")* on topic *[Hika + Akeeba Subs - 2 PHP issues](/forum/30-integrations/869914-hika-akeeba-subs-2-php-issues#165429 "-- url of the page with the problem -- : http : // www . furiantech . com -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Chrome 36.0.1985.125 m  Hey guys,  Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading B) Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives. Down to business; I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to &quot;post purchase&quot;. Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency). To add complexity I am also using JoomSEF to neaten up my links and help with SEO.  Everything to that point works, except the following issues: 1. Going to HikaShop User Control Panel, click -&gt; &quot;Show your subcriptions&quot; just redirects to the current link followed by a # symbol. The same issue was experienced here:   www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075  - I would like confirmation of what piece of code to use to fix it.  2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a &quot;My Subscriptions&quot; page. On there I can see my current order, when I try click &quot;renew&quot; (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself. The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. &quot;index.php/solutions/proper-test/checkout&quot; when appended to my domain will check out the item and start the checkout process. (Image: AkeebaURL2) is the actual page I get to when I click Renew.  I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.  I may have gone into too much detail about the issue and not explained it well. Thank you for your time :)")*

Hey Xavier,

I appreciate your time! Thank you good sir.

Re 1. I am still trying to find the link to edit, all I can find is this:
$buttons[] = array('link'=&gt;JRoute::_('index.php?option=com_akeebasubs&amp;view=subscriptions'.$url_itemid),'level'=&gt;1,'image'=&gt;'subscription','text'=&gt;JText::_('SUBSCRIPTIONS'),'description'=&gt;'&lt;ul&gt;&lt;li&gt;'.JText::_('VIEW_SUBSCRIPTIONS').'&lt;/li&gt;&lt;/ul&gt;');
which is under : function onUserAccountDisplay

But even editing that URL entirely does nothing.

Re 2. Managed to sort it out, seems there was a problem with the $CanRenew and $RenewURL, so just told it to always use the custom value irrespective ![:)](/media/kunena/emoticons/8.png ":)")

Have a good day further and I look forward to using your products extensively.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84Njk5MTQtaGlrYS1ha2VlYmEtc3Vicy0yLXBocC1pc3N1ZXM/dG1wbD1tYXJrZG93bg==) 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: 86290
- Thank you received: 14268
-
-

12 years 3 months ago [\#165443](#165443) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hika + Akeeba Subs - 2 PHP issues](/forum/30-integrations/869914-hika-akeeba-subs-2-php-issues#165443 "-- url of the page with the problem -- : http : // www . furiantech . com -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Chrome 36.0.1985.125 m  Hey guys,  Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading B) Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives. Down to business; I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to &quot;post purchase&quot;. Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency). To add complexity I am also using JoomSEF to neaten up my links and help with SEO.  Everything to that point works, except the following issues: 1. Going to HikaShop User Control Panel, click -&gt; &quot;Show your subcriptions&quot; just redirects to the current link followed by a # symbol. The same issue was experienced here:   www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075  - I would like confirmation of what piece of code to use to fix it.  2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a &quot;My Subscriptions&quot; page. On there I can see my current order, when I try click &quot;renew&quot; (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself. The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. &quot;index.php/solutions/proper-test/checkout&quot; when appended to my domain will check out the item and start the checkout process. (Image: AkeebaURL2) is the actual page I get to when I click Renew.  I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.  I may have gone into too much detail about the issue and not explained it well. Thank you for your time :)")*

Hi,

That's however the URL to change. I don't see why that wouldn't work.
Are you sure that you're editing the file on the correct website ? That you uploaded it back successfully ?

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 2 months ago [\#167654](#167654) by [timk](/forum/user/33514-timk "View timk's Profile")  Replied by *[timk](/forum/user/33514-timk "View timk's Profile")* on topic *[Hika + Akeeba Subs - 2 PHP issues](/forum/30-integrations/869914-hika-akeeba-subs-2-php-issues#167654 "-- url of the page with the problem -- : http : // www . furiantech . com -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Chrome 36.0.1985.125 m  Hey guys,  Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading B) Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives. Down to business; I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to &quot;post purchase&quot;. Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency). To add complexity I am also using JoomSEF to neaten up my links and help with SEO.  Everything to that point works, except the following issues: 1. Going to HikaShop User Control Panel, click -&gt; &quot;Show your subcriptions&quot; just redirects to the current link followed by a # symbol. The same issue was experienced here:   www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075  - I would like confirmation of what piece of code to use to fix it.  2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a &quot;My Subscriptions&quot; page. On there I can see my current order, when I try click &quot;renew&quot; (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself. The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. &quot;index.php/solutions/proper-test/checkout&quot; when appended to my domain will check out the item and start the checkout process. (Image: AkeebaURL2) is the actual page I get to when I click Renew.  I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.  I may have gone into too much detail about the issue and not explained it well. Thank you for your time :)")*

Hey Nicolas,

Yeah I am positive. I am working in the following dir:
joomla/plugins/hikashop/akeebas, filename is akeebas.php

$buttons[] = array('link'=&gt;JRoute::_('my-account/subscriptions/subscriptions'),'level'=&gt;1,'image'=&gt;'subscription','text'=&gt;JText::_('SUBSCRIPTIONS'),'description'=&gt;'&lt;ul&gt;&lt;li&gt;'.JText::_('VIEW_SUBSCRIPTIONS').'&lt;/li&gt;&lt;/ul&gt;');

Maybe the SEF link is causing issues? I tried to change it to anything else and it doesnt work ![:(](/media/kunena/emoticons/5.png ":(")

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

12 years 2 months ago [\#167827](#167827) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Hika + Akeeba Subs - 2 PHP issues](/forum/30-integrations/869914-hika-akeeba-subs-2-php-issues#167827 "-- url of the page with the problem -- : http : // www . furiantech . com -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Chrome 36.0.1985.125 m  Hey guys,  Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading B) Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives. Down to business; I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to &quot;post purchase&quot;. Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency). To add complexity I am also using JoomSEF to neaten up my links and help with SEO.  Everything to that point works, except the following issues: 1. Going to HikaShop User Control Panel, click -&gt; &quot;Show your subcriptions&quot; just redirects to the current link followed by a # symbol. The same issue was experienced here:   www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075  - I would like confirmation of what piece of code to use to fix it.  2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a &quot;My Subscriptions&quot; page. On there I can see my current order, when I try click &quot;renew&quot; (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself. The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. &quot;index.php/solutions/proper-test/checkout&quot; when appended to my domain will check out the item and start the checkout process. (Image: AkeebaURL2) is the actual page I get to when I click Renew.  I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.  I may have gone into too much detail about the issue and not explained it well. Thank you for your time :)")*

Hi,

In the plugin, thanks to replace the function "onUserAccountDisplay" by: Code:

function onUserAccountDisplay(&amp; $buttons){ global $Itemid; $url_itemid=''; if(!empty($Itemid)){ $url_itemid='&amp;Itemid='.$Itemid; } $buttons[] = array('link'=&gt;JRoute::_('index.php?option=com_akeebasubs&amp;view=subscriptions'.$url_itemid),'level'=&gt;0,'image'=&gt;'subscription','text'=&gt;JText::_('SUBSCRIPTIONS'),'description'=&gt;'&lt;ul&gt;&lt;li&gt;'.JText::_('VIEW_SUBSCRIPTIONS').'&lt;/li&gt;&lt;/ul&gt;'); return true; }

Are you using the plugin "akeebas" or "akeebasubs" ? It's two different one, so thanks to make the modification in both plugins. (if you have both presents).

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 2 months ago [\#167873](#167873) by [timk](/forum/user/33514-timk "View timk's Profile")  Replied by *[timk](/forum/user/33514-timk "View timk's Profile")* on topic *[Hika + Akeeba Subs - 2 PHP issues](/forum/30-integrations/869914-hika-akeeba-subs-2-php-issues#167873 "-- url of the page with the problem -- : http : // www . furiantech . com -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Chrome 36.0.1985.125 m  Hey guys,  Before I start, I just want to thank you for taking the time out to develop an awesome product and that I cant wait to actually earn some money and justify me upgrading B) Further I understand the Akeeba Subscriptions is not supported anymore, but once I get it working I will then be able to check at alternatives. Down to business; I am using Hikashop Starter and Akeeba Subsciptions together. I am using PayFast as my payment plugin, and everything seems to work when you are placing an order via the traditional method. The problem I am experiencing is related to &quot;post purchase&quot;. Basically I am using Akeeba Subs to send a link to a user before their subscription expires (since Payfast doesnt accept recurring payments, and PayPal doesnt accept ZAR as an accepted currency). To add complexity I am also using JoomSEF to neaten up my links and help with SEO.  Everything to that point works, except the following issues: 1. Going to HikaShop User Control Panel, click -&gt; &quot;Show your subcriptions&quot; just redirects to the current link followed by a # symbol. The same issue was experienced here:   www.hikashop.com/forum/3-bug-report/7856...malformed.html#91075  - I would like confirmation of what piece of code to use to fix it.  2. In the email sent by Akeeba Subs it sends a URL to manage your subscriptions, you go there and it takes you to a &quot;My Subscriptions&quot; page. On there I can see my current order, when I try click &quot;renew&quot; (Image: AkeebaURL3) it doesnt use the custom URL I specified in the Subscription Level itself. Please see attached image (AkeebaURL1). Basically that URL never applies itself correctly, I suspect an issue with the logic in the code itself. The link that should be used for the custom URL is actually a Hikashop Link with Checkout specified, so basically they just buying my item again when they click the renew button. But the URL is not applied. ie. &quot;index.php/solutions/proper-test/checkout&quot; when appended to my domain will check out the item and start the checkout process. (Image: AkeebaURL2) is the actual page I get to when I click Renew.  I hope the above makes sense! I have looked at the code myself, but far too many variables for me to dig around.  I may have gone into too much detail about the issue and not explained it well. Thank you for your time :)")*

Hi Xavier,

Thank you for the reply ![:)](/media/kunena/emoticons/8.png ":)")

Your code fixed it right up. From what I can tell, the level =&gt;0 is the difference between them.

Working like a charm!

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

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

[](#top)
