- Posts: 173
- Thank you received: 8
RAW HTML now showing in WorldPay Checkout
4 years 8 months ago #338492
by ianspeed
RAW HTML now showing in WorldPay Checkout was created by ianspeed
-- HikaShop version -- : 4.4.5
-- Joomla version -- : 3.10.4
-- PHP version -- : 7.4.27
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : raw HTML showing in WorldPay
Hi All,
Just upgraded to 4.4.5 from 4.4.4 and going through the test scenario discovered the description is displaying some raw HTML in the WorldPay Description box?
Thanks
Ian
-- Joomla version -- : 3.10.4
-- PHP version -- : 7.4.27
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : raw HTML showing in WorldPay
Hi All,
Just upgraded to 4.4.5 from 4.4.4 and going through the test scenario discovered the description is displaying some raw HTML in the WorldPay Description box?
Thanks
Ian
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338493
by nicolas
Replied by nicolas on topic RAW HTML now showing in WorldPay Checkout
Hi,
That's a bug in the WorldPay plugin that has always been there. Thanks for reporting it.
It only happens when you have products with characteristics/variants in the order and it is not linked to the update.
You can fix that by changing the line:
to:
in the file plugins/hikashoppayment/bf_rbsbusinessgateway/bf_rbsbusinessgateway.php
We'll add that on our end too.
That's a bug in the WorldPay plugin that has always been there. Thanks for reporting it.
It only happens when you have products with characteristics/variants in the order and it is not linked to the update.
You can fix that by changing the line:
Code:
$vars["C_item_name_".$i]=substr($product->order_product_name,0,127);
Code:
$vars["C_item_name_".$i]=substr(strip_tags($product->order_product_name),0,127);
We'll add that on our end too.
The following user(s) said Thank You: ianspeed
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338503
by ianspeed
Replied by ianspeed on topic RAW HTML now showing in WorldPay Checkout
Hi Nicolas,
Made the mod, but no change?
I've set the plugin to show only the company and price at the moment.
Thanks
Ian
Made the mod, but no change?
I've set the plugin to show only the company and price at the moment.
Thanks
Ian
Please Log in or Create an account to join the conversation.
4 years 8 months ago - 4 years 8 months ago #338506
by nicolas
Replied by nicolas on topic RAW HTML now showing in WorldPay Checkout
Hi,
I don't see why it wouldn't work.
Could you provide the URL of that product with the issue and a FTP access via our contact form so that we can check the situation ?
www.hikashop.com/support/contact-us.html
I don't see why it wouldn't work.
Could you provide the URL of that product with the issue and a FTP access via our contact form so that we can check the situation ?
www.hikashop.com/support/contact-us.html
Last edit: 4 years 8 months ago by nicolas.
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338528
by nicolas
Replied by nicolas on topic RAW HTML now showing in WorldPay Checkout
Hi,
Thanks. I found the problem.
There is another line to change.
You need to change:
to:
in that same file and it will work.
Thanks. I found the problem.
There is another line to change.
You need to change:
Code:
$vars['desc'] = substr($product->order_product_name, 0, 255);
Code:
$vars['desc'] = substr(strip_tags($product->order_product_name), 0, 255);
The following user(s) said Thank You: ianspeed
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338548
by ianspeed
Replied by ianspeed on topic RAW HTML now showing in WorldPay Checkout
All working now, thanks.
The following user(s) said Thank You: Philip
Please Log in or Create an account to join the conversation.
4 years 8 months ago #338559
by nicolas
Replied by nicolas on topic RAW HTML now showing in WorldPay Checkout
Hi,
Thanks for the feedback. We'll add these changes on our end too.
Thanks for the feedback. We'll add these changes on our end too.
Please Log in or Create an account to join the conversation.
Time to create page: 0.194 seconds