Index: /mods/wpsg_mod_paypalapi.class.php
===================================================================
--- /mods/wpsg_mod_paypalapi.class.php	(revision 7735)
+++ /mods/wpsg_mod_paypalapi.class.php	(revision 7736)
@@ -1209,5 +1209,5 @@
 			$post_data = array(
 				'amount' => array(
-					'total' => number_format($amount, 2),
+					'total' => number_format($amount, 2, '.', ''),
 					'currency' => $this->currency
 				)		
@@ -1233,5 +1233,5 @@
             $request->body = [
                 'amount' => [
-                    'value' => number_format($amount, 2),
+                    'value' => number_format($amount, 2, '.', ''),
                     'currency_code' => $this->currency
                 ]
@@ -1419,5 +1419,5 @@
                 array(
                     'amount' => array(
-                        'total' => number_format($arBasket['sum']['preis_gesamt_brutto'], 2),
+                        'total' => number_format($arBasket['sum']['preis_gesamt_brutto'], 2, '.', ''),
                         'currency' => $this->currency
                     ),
@@ -1443,5 +1443,5 @@
                     'sku' => $sku,
                     'url' => $this->shop->getProduktLink($this->shop->getProduktID($p['id'])),
-                    'price' => number_format($product_price, 2),
+                    'price' => number_format($product_price, 2, '.', ''),
                     'currency' => $this->currency
                 );
@@ -1459,5 +1459,5 @@
                     'name' => __('Gutschein', 'wpsg'),
                     'description' => wpsg_translate(__('EingelÃ¶ster Gutschein Code:#1#', 'wpsg'), $arBasket['gs']['code']),
-                    'price' => number_format(-1 * $arBasket['sum']['gs_brutto'], 2),
+                    'price' => number_format(-1 * $arBasket['sum']['gs_brutto'], 2, '.', ''),
                     'currency' => $this->currency
                 );
@@ -1475,5 +1475,5 @@
                     'name' => (($arBasket['sum']['preis_payment_brutto'] > 0)?__('GebÃŒhr fÃŒr Zahlungsart', 'wpsg'):__('Rabatt durch Zahlungsart', 'wpsg')),
                     'description' => __('Rabatt, der Aufgrund der gewÃ€hlten Zahlungsart entstanden ist.', 'wpsg'),
-                    'price' => number_format($arBasket['sum']['preis_payment_brutto'], 2),
+                    'price' => number_format($arBasket['sum']['preis_payment_brutto'], 2, '.', ''),
                     'currency' => $this->currency
                 );
@@ -1491,5 +1491,5 @@
                     'name' => __('Rabatt', 'wpsg'),
                     'description' => __('Rabatt, der sich aus dem Warenkorbwert ergibt.', 'wpsg'),
-                    'price' => number_format(-1 * $arBasket['sum']['preis_rabatt_brutto'], 2),
+                    'price' => number_format(-1 * $arBasket['sum']['preis_rabatt_brutto'], 2, '.', ''),
                     'currency' => $this->currency
                 );
@@ -1564,5 +1564,5 @@
             {
 
-                $details['shipping'] = number_format($arBasket['sum']['preis_shipping_brutto'], 2);
+                $details['shipping'] = number_format($arBasket['sum']['preis_shipping_brutto'], 2, '.', '');
 
             }
@@ -1573,5 +1573,5 @@
                     'quantity' => '1',
                     'name' => __('Rabatt aufgrund Versandart', 'wpsg'),
-                    'price' => number_format($arBasket['sum']['preis_shipping_brutto'], 2),
+                    'price' => number_format($arBasket['sum']['preis_shipping_brutto'], 2, '.', ''),
                     'currency' => $this->currency
                 );
@@ -1634,5 +1634,5 @@
 
                     $post_data['transactions'][0]['amount']['details'] = $details;
-                    $post_data['transactions'][0]['amount']['details']['subtotal'] = number_format($subTotal, 2);
+                    $post_data['transactions'][0]['amount']['details']['subtotal'] = number_format($subTotal, 2, '.', '');
 
                 }
@@ -1648,5 +1648,5 @@
                             'quantity' => '1',
                             'name' => $this->shop->replaceUniversalPlatzhalter(__($this->shop->get_option('wpsg_mod_paypalapi_paypalexpress_subject'), 'wpsg'), $order_id),
-                            'price' => number_format($arBasket['sum']['preis_gesamt_brutto'], 2),
+                            'price' => number_format($arBasket['sum']['preis_gesamt_brutto'], 2, '.', ''),
                             'currency' => $this->currency
                         )
@@ -1722,5 +1722,5 @@
                     'amount' => [
                         'currency_code' => $this->currency,
-                        'value' => number_format($arBasket['sum']['preis_gesamt_brutto'], 2)
+                        'value' => number_format($arBasket['sum']['preis_gesamt_brutto'], 2, '.', '')
                     ]
                 ]],
@@ -1736,5 +1736,5 @@
                 if (!wpsg_isSizedString($sku)) $sku = __('n.A.', 'wpsg');
 
-                $tax = number_format($p['preis_brutto'] - $p['preis_netto'], 2);
+                $tax = number_format($p['preis_brutto'] - $p['preis_netto'], 2, '.', '');
 
                 $items[] = [
@@ -1745,5 +1745,5 @@
                     'unit_amount' => [
                         'currency_code' => $this->currency,
-                        'value' => number_format($p['preis_netto'], 2)
+                        'value' => number_format($p['preis_netto'], 2, '.', '')
                     ],
                     'tax' => [
@@ -1768,9 +1768,9 @@
                     'unit_amount' => [
                         'currency_code' => $this->currency,
-                        'value' => number_format($arBasket['sum']['preis_shipping_netto'], 2)
+                        'value' => number_format($arBasket['sum']['preis_shipping_netto'], 2, '.', '')
                     ],
                     'tax' => [
                         'currency_code' => $this->currency,
-                        'value' => number_format($arBasket['sum']['preis_shipping_brutto'] - $arBasket['sum']['preis_shipping_netto'], 2)
+                        'value' => number_format($arBasket['sum']['preis_shipping_brutto'] - $arBasket['sum']['preis_shipping_netto'], 2, '.', '')
                     ]
                 ];
@@ -1791,9 +1791,9 @@
                     'unit_amount' => [
                         'currency_code' => $this->currency,
-                        'value' => number_format($arBasket['sum']['preis_payment_netto'], 2)
+                        'value' => number_format($arBasket['sum']['preis_payment_netto'], 2, '.', '')
                     ],
                     'tax' => [
                         'currency_code' => $this->currency,
-                        'value' => number_format($arBasket['sum']['preis_payment_brutto'] - $arBasket['sum']['preis_payment_netto'], 2)
+                        'value' => number_format($arBasket['sum']['preis_payment_brutto'] - $arBasket['sum']['preis_payment_netto'], 2, '.', '')
                     ]
                 ];
@@ -1871,11 +1871,11 @@
 
                 $request->body['purchase_units'][0]['amount']['breakdown']['item_total']['value'] =
-                    number_format($item_total, 2);
+                    number_format($item_total, 2, '.', '');
 
                 $request->body['purchase_units'][0]['amount']['breakdown']['tax_total']['value'] =
-                    number_format($tax_total, 2);
+                    number_format($tax_total, 2, '.', '');
 
                 $request->body['purchase_units'][0]['amount']['breakdown']['discount']['value'] =
-                    number_format($discounts, 2);
+                    number_format($discounts, 2, '.', '');
 
             }
