Modify ↓
#1167 closed Frage (wontfix)
Frage zu PayPal Ratenkauf (paypalinstallment)
| Reported by: | Torsten Riemer | Owned by: | Gerhard Waldemair |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.2.2 |
| Component: | Module | Version: | 2.0.2.1 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description (last modified by )
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ü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ählt ist, gilt die Zahlungsmethode nur fü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
Attachments (0)
Change History (2)
comment:1 by , 9 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:2 by , 7 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.

PayPal Ratenkauf ist derzeit eh nur für Deutschland zugelassen und wird bei anderen Ländern eh nicht angezeigt, daher werden die Datenbank-Einträge "MODULE_PAYMENT_PAYPALINSTALLMENT_ALLOWED" & "MODULE_PAYMENT_PAYPALINSTALLMENT_ZONE" nicht angelegt.