Paypal description says "span class=hikashop..."

  • Posts: 7
  • Thank you received: 0
12 years 9 months ago #20594

Hi,

I have version 1.5.2 installed on Joomla 1.6.4. When a customer checksout and is transferred to PayPal, the PayPal description says the product name, then "<span class="hikashop_p.."

See attached screenshot.


Is this a bug or does something else need to be configured to get the text to resolve the language/code correctly?

thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81568
  • Thank you received: 13078
  • MODERATOR
12 years 9 months ago #20614

It's a bug in the latest version.
You need to change the line:
$vars["item_name_".$i]=substr($product->order_product_name,0,127);

to:
$vars["item_name_".$i]=substr(strip_tags($product->order_product_name),0,127);

in the file plugins/hikashoppayment/paypal.php

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
12 years 9 months ago #20680

can you please give the exact path to the above mentioned file please.

Please Log in or Create an account to join the conversation.

  • Posts: 81568
  • Thank you received: 13078
  • MODERATOR
12 years 9 months ago #20686

For joomla 1.6 the file is plugins/hikashoppayment/paypal/paypal.php from the root of your website.

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum