Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Vera
Vera
Description
When trying to pay with Klarna payment system (former name Kreditor) you can see the errors below:
Notice: Undefined index: total_discount in /public_html/payments/kreditor.php on line 93
 
Warning: Cannot modify header information - headers already sent by (output started at /public_html/payments/kreditor.php:93) in /public_html/blocks/block_order_data_preview.php on line 249
 
Solution
http://www.viart.com/downloads/kreditor-4.1.zip
 
Extract 'kreditor.php' and copy it to 'payments' folder of your shop replacing existing file. Please do not forget to make a backup copy of the current file in case something goes wrong.