Changes between Initial Version and Version 1 of Ticket #1928


Ignore:
Timestamp:
Dec 9, 2020, 12:29:34 PM (5 years ago)
Author:
Torsten Riemer
Comment:

Vorsichtshalber vielleicht auch gleich auf "reference" anwenden, da auch die Artikelnummer ggf. Umlaute enthalten kann, also:

      $products_array[$i] = array(
        'type' => (($type == 'virtual') ? 'digital' : 'physical'),
        'reference' => encode_utf8((($products['model'] != '' && mb_strlen($products['model'], $_SESSION['language_charset']) <= 64) ? $products['model'] : (int)$products['id']), $_SESSIONlanguage_charset, true),
        'name' => encode_utf8(strip_tags($products['name']), $_SESSIONlanguage_charset, true),
        'quantity' => $products['qty'],
        'unit_price' => $this->format_amount($amount),
        'tax_rate' => $this->format_amount($products['tax']),
        'total_amount' => $this->format_amount($amount * $products['qty']),
        'total_tax_amount' => $this->format_amount($xtPrice->xtcGetTax(($amount * $products['qty']), $products['tax'])),
      );

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1928

    • Property Milestonemodified-shop-2.0.6.0
    • Property Version 2.0.4.2trunk
  • Ticket #1928 – Description

    initial v1  
    1010Mögliche Korrektur:
    1111includes\external\klarna\classes\KlarnaPayment.php Zeile 349ff
    12 
     12{{{
    1313$products_array[$i] = array(
    1414        'type' => (($type == 'virtual') ? 'digital' : 'physical'),
     
    2121        'total_tax_amount' => $this->format_amount($xtPrice->xtcGetTax(($amount * $products['qty']), $products['tax'])),
    2222      );
     23}}}