﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
1167	Frage zu PayPal Ratenkauf (paypalinstallment)	Torsten Riemer	Gerhard Waldemair	"Welchen Grund hat es denn, dass in der ""/includes/external/paypal/classes/PayPalPaymentBase.php"" in der funtion install() für ""paypalinstallment"" weder ""Erlaubte Zonen"" noch ""Zahlungszone"" angelegt wird?
{{{
    if ($this->code != 'paypalinstallment') {
      xtc_db_query(""INSERT INTO "".TABLE_CONFIGURATION."" (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_"".strtoupper($this->code).""_ALLOWED', '', '6', '3', NULL, now(), '', '')"");
      xtc_db_query(""INSERT INTO "".TABLE_CONFIGURATION."" (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('MODULE_PAYMENT_"".strtoupper($this->code).""_ZONE', '0', '6', '4', NULL, now(), 'xtc_get_zone_class_title', 'xtc_cfg_pull_down_zone_classes(')"");
    }
}}}

Die Sprachdateien von ""paypalinstallment"" sind dafür bereits erweitert:
{{{
  [...]
  'MODULE_PAYMENT_PAYPALINSTALLMENT_ALLOWED_TITLE' => 'Erlaubte Zonen',
  'MODULE_PAYMENT_PAYPALINSTALLMENT_ALLOWED_DESC' => 'Geben Sie <b>einzeln</b> die Zonen an, welche f&uuml;r dieses Modul erlaubt sein sollen. (z.B. AT,DE (wenn leer, werden alle Zonen erlaubt))',
  [...]
  'MODULE_PAYMENT_PAYPALINSTALLMENT_ZONE_TITLE' => 'Zahlungszone',
  'MODULE_PAYMENT_PAYPALINSTALLMENT_ZONE_DESC' => 'Wenn eine Zone ausgew&auml;hlt ist, gilt die Zahlungsmethode nur f&uuml;r diese Zone.',
  [...]
}}}
Das führt auch zu einer Warnung:
{{{
[08-04-2017 12:43:26] E_WARNING	: LoggingManager: constant(): Couldn't find constant MODULE_PAYMENT_PAYPALINSTALLMENT_ALLOWED in File: /var/www/clients/client1/web78/web/includes/classes/payment.php on Line: 131
[08-04-2017 12:43:26] E_WARNING	: LoggingManager: Backtrace #0 - /var/www/clients/client1/web78/web/checkout_payment.php called at Line 118
[08-04-2017 12:43:30] E_WARNING	: LoggingManager: constant(): Couldn't find constant MODULE_PAYMENT_PAYPALINSTALLMENT_ALLOWED in File: /var/www/clients/client1/web78/web/includes/classes/payment.php on Line: 131
[08-04-2017 12:43:30] E_WARNING	: LoggingManager: Backtrace #0 - /var/www/clients/client1/web78/web/includes/external/paypal/functions/PayPalFunctions.php called at Line 24
[08-04-2017 12:43:30] E_WARNING	: LoggingManager: Backtrace #1 - /var/www/clients/client1/web78/web/callback/paypal/paypalplus.php called at Line 26
}}}"	Frage	closed	normal	modified-shop-2.0.2.2	Module	2.0.2.1	wontfix				
