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

#   Getting an error when trying to pay affiliates

##

- **[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")**
- [![rufusr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/butterfly_orange.png)](/forum/user/14271-rufusr "View rufusr's Profile") Topic Author
- [ Offline](/forum/user/14271-rufusr)

Less More

- Posts: 9
- Thank you received: 0
-
-

8 years 2 months ago [\#297212](#297212) by [rufusr](/forum/user/14271-rufusr "View rufusr's Profile")  *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297212 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")* was created by *[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")*

-- HikaShop version -- : 5.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 5.6.37
-- Browser(s) name and version -- : Chrome 68.0.3440.106
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com_hikashop/views/user/tmpl/pay.php on line 19

When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com_hikashop/views/user/tmpl/pay.php on line 19

The affiliate payment process worked fine until we updated to HikaShop 3.5.1...

Thanks in advance for your assistance...

Blessings,
Rufus

- [ ![ScreenShot2018-08-27at9.09.49AM.png](/forum/attachment/44646) ](/forum/attachment/44646 "...t9.09.49AM.png") [ ](/forum/attachment/44646?download=1 "...t9.09.49AM.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM5LWFmZmlsYXRpb24vODk1NTkyLWdldHRpbmctYW4tZXJyb3Itd2hlbi10cnlpbmctdG8tcGF5LWFmZmlsaWF0ZXM/dG1wbD1tYXJrZG93bg==) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

8 years 2 months ago [\#297214](#297214) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297214 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Hello,

Thank you for the report.
You can re-download HikaShop 3.5.1 package (not 5.5.1) to get the fix.

Regards,

---

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

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

- **[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")**
- [![rufusr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/butterfly_orange.png)](/forum/user/14271-rufusr "View rufusr's Profile") Topic Author
- [ Offline](/forum/user/14271-rufusr)

Less More

- Posts: 9
- Thank you received: 0
-
-

8 years 2 months ago [\#297223](#297223) by [rufusr](/forum/user/14271-rufusr "View rufusr's Profile")  Replied by *[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297223 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Sorry, for the type-o and confusion... We are using HikaShop version 3.5.1, not 5.5.1.

Thanks,

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

Less More

- Posts: 86555
- Thank you received: 14304
-
-

8 years 2 months ago [\#297237](#297237) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297237 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Hi,

Note that there was a mis communication on our end and the package was only updated now on our end. So if you downloaded it before, you need to download it again and install it again to get the patch.

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

- **[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")**
- [![rufusr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/butterfly_orange.png)](/forum/user/14271-rufusr "View rufusr's Profile") Topic Author
- [ Offline](/forum/user/14271-rufusr)

Less More

- Posts: 9
- Thank you received: 0
-
-

8 years 2 months ago [\#297274](#297274) by [rufusr](/forum/user/14271-rufusr "View rufusr's Profile")  Replied by *[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297274 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Hello Nicolas,

Downloaded and installed the latest version (3.5.1) of HikaShop as of yesterday and still getting the same error...

Rufus

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 2 months ago -  8 years 2 months ago [\#297285](#297285) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297285 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Hello,

the best way to progress on the subject, you have to go directly to the file (**\\*YourWebSite*\\administrator\\components\\com\_hikashop\\views\\user\\tmpl\\pay.php**) and check that you have this around line 2 to 12 :

**&lt;form action="index.php?option=com\_hikashop&amp;amp;ctrl=user" method="post" name="adminForm" id="adminForm"&gt;
&lt;?php
echo JText::sprintf('PAY\_X\_TO\_X', $this-&gt;currencyHelper-&gt;format($this-&gt;user-&gt;accumulated, $this-&gt;user-&gt;user\_currency\_id), @$this-&gt;user-&gt;name.' ('.$this-&gt;user-&gt;user\_partner\_email.')') .
'&lt;br/&gt;';
echo JText::sprintf('REDIRECTION\_FOR\_PAYMENT', $this-&gt;method) .
'&lt;br/&gt;';
echo JHTML::\_('hikaselect.booleanlist', "pay", '', 0) .
'&lt;br/&gt;';
echo JText::\_('AFFILIATE\_PAYMENT\_WARNING') .
'&lt;br/&gt;';
?&gt;**

And if not, and especially the red part, correct it to have the same code and see if that solve your issue.

Regards

Last edit: 8 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")**
- [![rufusr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/butterfly_orange.png)](/forum/user/14271-rufusr "View rufusr's Profile") Topic Author
- [ Offline](/forum/user/14271-rufusr)

Less More

- Posts: 9
- Thank you received: 0
-
-

8 years 2 months ago [\#297324](#297324) by [rufusr](/forum/user/14271-rufusr "View rufusr's Profile")  Replied by *[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297324 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Hello Philip,
I changed the part of the code which was different:
from echo Text::_('AFFILIATE_PAYMENT_WARNING') . to echo JText::_('AFFILIATE_PAYMENT_WARNING') .
This edit cleared the error, however the process does not continue once the proceed button is clicked. Displays a message - WARNING ! Turning on this option will disable HikaShop pages on your website frontend !
When I click ok it does nothing...
Please advise...

Rufus

- [ ![ScreenShot2018-08-29at12.53.26PM.png](/forum/attachment/44679) ](/forum/attachment/44679 "...12.53.26PM.png") [ ](/forum/attachment/44679?download=1 "...12.53.26PM.png")

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 2 months ago -  8 years 2 months ago [\#297337](#297337) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297337 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Hello,

Can you provide elements to **be able to reproduce your issue** on your website ?
Like **affiliate account references** and a **step by step** process.

**Note :** Use our [ **Contact us**](https://www.hikashop.com/support/contact-us.html) form to provide secret references and don't forget to add in your message an **Url link** to this topic.

Awaiting news from you.

Regards

Last edit: 8 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

Less More

- Posts: 86555
- Thank you received: 14304
-
-

8 years 2 months ago [\#297375](#297375) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297375 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Hi,

We were able to reproduce that new issue and made a patch again.
Download again the install package on our website and install it on yours and you'll get that patch too.
Alternatively, in that same file, you can change the line: Code:

&lt;input type="button" name="pay_confirm" class="btn" value="&lt;?php echo JText::_('PROCEED');?&gt;" onclick="if(alert('&lt;?php echo JText::_('STORE_OFFLINE_WARNING',true); ?&gt;')){ document.adminForm.submit(); } else { return fase; }" /&gt;

to: Code:

&lt;input type="button" name="pay_confirm" class="btn" value="&lt;?php echo JText::_('PROCEED');?&gt;" onclick="if(confirm('&lt;?php echo JText::_('PROCESS_CONFIRMATION',true); ?&gt;')){ document.adminForm.submit(); } else { return false; }" /&gt;

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

- **[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")**
- [![rufusr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/butterfly_orange.png)](/forum/user/14271-rufusr "View rufusr's Profile") Topic Author
- [ Offline](/forum/user/14271-rufusr)

Less More

- Posts: 9
- Thank you received: 0
-
-

8 years 2 months ago [\#297382](#297382) by [rufusr](/forum/user/14271-rufusr "View rufusr's Profile")  Replied by *[rufusr](/forum/user/14271-rufusr "View rufusr's Profile")* on topic *[Getting an error when trying to pay affiliates](/forum/39-affilation/895592-getting-an-error-when-trying-to-pay-affiliates#297382 "-- HikaShop version -- : 5.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5.6.37 -- Browser(s) name and version -- : Chrome 68.0.3440.106 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  When I click on the pay now button, I get this error - Fatal error: Class 'Text' not found in /administrator/components/com&#95;hikashop/views/user/tmpl/pay.php on line 19  The affiliate payment process worked fine until we updated to HikaShop 3.5.1...  Thanks in advance for your assistance...  Blessings, Rufus")*

Thanks Nicolas,
Problem solved...
You guys are the greatest!!!

Blessings!
Rufus

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

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