Opened 5 years ago
Last modified 5 years ago
#1928 closed Bug/Fehler
error im Klarna-Modul, Kodierung — at Initial Version
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | hoch | Milestone: | modified-shop-2.0.6.0 |
| Component: | Module | Version: | trunk |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Hi,
Shopversion: v2.0.4.2 rev 11374
Spracheinstellung im Shop iso-8859-15
Klarna-Fehler: BAD_VALUE: Request body is empty
Ursache: Umlaute im Namen der Artikel
Mögliche Korrektur:
includes\external\klarna\classes\KlarnaPayment.php Zeile 349ff
$products_array[$i] = array(
'type' => (($type == 'virtual') ? 'digital' : 'physical'),
'reference' => $productsid,
'name' => encode_utf8($productsname, $_SESSIONlanguage_charset, true),
'quantity' => $productsqty,
'unit_price' => $this->format_amount($amount),
'tax_rate' => $this->format_amount($productstax),
'total_amount' => $this->format_amount($amount * $productsqty),
'total_tax_amount' => $this->format_amount($xtPrice->xtcGetTax(($amount * $productsqty), $productstax)),
);
