First upload
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of O3-Shop Paypal module.
|
||||
*
|
||||
* O3-Shop is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* O3-Shop is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 OXID eSales AG (https://www.oxid-esales.com)
|
||||
* @copyright Copyright (c) 2022 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
*/
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTIFIER = STRING
|
||||
// -------------------------------
|
||||
$aLang = array(
|
||||
'charset' => 'UTF-8',
|
||||
'SHOP_MODULE_GROUP_oepaypal_display' => 'Anzeige auf PayPal-Zahlungsseite',
|
||||
'SHOP_MODULE_GROUP_oepaypal_checkout' => 'Integration von PayPal',
|
||||
'SHOP_MODULE_GROUP_oepaypal_payment' => 'Warenkorb auf PayPal-Zahlungsseite',
|
||||
'SHOP_MODULE_GROUP_oepaypal_transaction' => 'Geldeinzug',
|
||||
'SHOP_MODULE_GROUP_oepaypal_api' => 'API-Signatur',
|
||||
'SHOP_MODULE_GROUP_oepaypal_development' => 'Einstellungen für Entwicklung',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalBrandName' => 'Name des Shops',
|
||||
'HELP_SHOP_MODULE_sOEPayPalBrandName' => 'Tragen Sie hier den Namen Ihres Shops ein, der auf der PayPal-Zahlungsseite angezeigt werden soll.',
|
||||
'SHOP_MODULE_sOEPayPalBorderColor' => 'Warenkorbumrandungsfarbe für die PayPal-Zahlungsseite',
|
||||
'HELP_SHOP_MODULE_sOEPayPalBorderColor' => 'Tragen Sie hier den hexadezimalen Code der Farbe ein, die bei der Anzeige der PayPal-Zahlungsseite verwendet werden soll.',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalStandardCheckout' => 'PayPal Basis',
|
||||
'HELP_SHOP_MODULE_blOEPayPalStandardCheckout' => 'PayPal wird am Ende des Bestellprozesses als Zahlungsart angeboten. Wählt der Kunde PayPal, bestätigt er auf der PayPal-Zahlungsseite den Kauf und wird anschließend in den Shop zurückgeleitet.',
|
||||
'SHOP_MODULE_blOEPayPalExpressCheckout' => 'PayPal Express',
|
||||
'HELP_SHOP_MODULE_blOEPayPalExpressCheckout' => 'Mit dem PayPal-Express-Button gelangt der Kunde direkt zur PayPal-Zahlungsseite, bestätigt den Kauf und wird anschließend in den Shop zurückgeleitet. Der Shop übernimmt dabei auch gleich die für den Kauf relevanten PayPal-Kundendaten.',
|
||||
'SHOP_MODULE_blOEPayPalGuestBuyRole' => 'Gastzahlungen ermöglichen',
|
||||
'HELP_SHOP_MODULE_blOEPayPalGuestBuyRole' => 'Der Kunde kann ohne PayPal-Konto bestellen. Er kann erst die Bezahlung abschließen und danach entscheiden, ob er die Informationen für zukünftige Einkäufe in einem PayPal-Konto speichern will.',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalSendToPayPal' => 'Warenkorb bei PayPal anzeigen',
|
||||
'HELP_SHOP_MODULE_blOEPayPalSendToPayPal' => 'Der Warenkorb mit Artikelinformationen, Preisen und Versandkosten wird nach Anmeldung in PayPal angezeigt. Der Kunde kann im Bestellprozess wählen, ob diese Daten übertragen werden sollen. Hinweis: Befinden Sich Artikel in nicht ganzzahliger Menge (z.B. 1,5) im Warenkorb, wird der Warenkorb niemals in PayPal angezeigt, auch wenn diese Option im Bestellprozess aktiviert wurde.',
|
||||
'SHOP_MODULE_blOEPayPalDefaultUserChoice' => 'Voreingestellte Kundenzustimmung',
|
||||
'HELP_SHOP_MODULE_blOEPayPalDefaultUserChoice' => 'Der Kunde muss im Bestellprozess explizit bestätigen, dass der Warenkorb mit Artikelinformationen, Preisen und Versandkosten zu PayPal übertragen wird. Sie können hier die Voreinstellung aktivieren, dass der Kunde der Übermittlung der Daten standardmäßig zustimmt.',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption' => 'Shop-Logo auf der PayPal-Zahlungsseite',
|
||||
'HELP_SHOP_MODULE_sOEPayPalLogoImageOption' => 'Auf der PayPal-Zahlungsseite kann ein Shop-Logo angezeigt werden. Es ist möglich, das Standard-Shop-Logo zu verwenden, welches in der Konfigurationsdatei des Shops definiert ist, oder ein spezielles Shop-Logo. Das Logo sollte nicht größer als 190px*60px (Breite*Höhe) sein. Größere Bilder werden an diese Breite und Höhe angepasst und deren Dateinamen mit einem Prefix "resized_" versehen. Für jedes verwendete Theme muss die Datei mit dem Logo im Verzeichnis /out/{theme}/img vorhanden sein. Wird das vorgesehene Logo nicht angezeigt, überprüfen Sie bitte, ob der Dateiname korrekt angegeben wurde und die Datei im Verzeichnis existiert. Für das Standard-Shop-Logo überprüfen Sie den Eintrag "sShopLogo" in der Datei config.inc.php. Fügen Sie diesen Eintrag hinzu, wenn dieser nicht vorhanden ist',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalCustomShopLogoImage' => 'Spezielles Shop-Logo für die PayPal-Zahlungsseite',
|
||||
'HELP_SHOP_MODULE_sOEPayPalCustomShopLogoImage' => 'Auf der PayPal-Zahlungsseite kann ein eigenes Shop-Logo angezeigt werden. Speichern Sie das Logo im Bildverzeichnis des Shops (/out/{theme}/img) und tragen Sie den Dateinamen hier ein. Für jedes verwendete Theme muss die Datei mit dem Logo im jeweiligen Verzeichnis vorhanden sein.',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption_noLogo' => 'Kein Shop-Logo senden',
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption_shopLogo' => 'Standard-Shop-Logo senden',
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption_customLogo' => 'Spezielles Shop-Logo senden',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode' => 'Zeitpunkt des Geldtransfers',
|
||||
'HELP_SHOP_MODULE_sOEPayPalTransactionMode' => 'Wählen Sie aus, zu welchem Zeitpunkt der Geldtransfer stattfinden soll. Sie haben die Möglichkeit, den Einzug des Geldes auf der PayPal-Seite sofort beim Kauf (SALE), oder erst unmittelbar vor Versand der Ware manuell durchzuführen (AUTH). Sie können auch festlegen, dass der Zeitpunkt des Geldtransfers in Abhängigkeit vom Lagerbestand der bestellten Artikel vom Shop automatisch bestimmt wird (AUTOMATIC).',
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode_Automatic' => 'AUTOMATIC - abhängig vom Lagerbestand der bestellten Artikel',
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode_Sale' => 'SALE - sofort durchführen',
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode_Authorization' => 'AUTH - vor Versand manuell durchführen',
|
||||
'SHOP_MODULE_sOEPayPalEmptyStockLevel' => 'Restlagerbestand',
|
||||
'HELP_SHOP_MODULE_sOEPayPalEmptyStockLevel' => 'Dieser Wert gilt für AUTOMATIC und beeinflusst, ob AUTH oder SALE als Zeitpunkt des Geldtransfers verwendet wird. Es wird geprüft, ob nach einer Bestellung der Lagerbestand eines der Produkte kleiner als der definierte Restlagerbestand ist. In diesem Fall wird AUTH als Transfermethode verwendet, ansonsten SALE.',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalUserEmail' => 'E-Mail-Adresse des PayPal-Benutzers',
|
||||
'SHOP_MODULE_sOEPayPalUsername' => 'API-Benutzername',
|
||||
'HELP_SHOP_MODULE_sOEPayPalUsername' => 'Loggen Sie sich in Ihr <a target="_blank" href="https://www.paypal.com/de/cgi-bin/webscr?cmd=_get-api-signature&generic-flow=true">PayPal-Konto</a> ein, um Ihre API-Signatur zu erhalten.',
|
||||
'SHOP_MODULE_sOEPayPalPassword' => 'API-Passwort',
|
||||
'SHOP_MODULE_sOEPayPalSignature' => 'Unterschrift',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalSandboxMode' => 'Sandbox aktivieren',
|
||||
'SHOP_MODULE_sOEPayPalSandboxUserEmail' => 'Sandbox: E-Mail-Adresse des PayPal-Benutzers',
|
||||
'SHOP_MODULE_sOEPayPalSandboxUsername' => 'Sandbox: API-Benutzername',
|
||||
'HELP_SHOP_MODULE_sOEPayPalSandboxUsername' => 'Loggen Sie sich in Ihr <a target="_blank" href="https://www.sandbox.paypal.com/de/cgi-bin/webscr?cmd=_get-api-signature&generic-flow=true">PayPal-Konto</a> ein, um Ihre API-Signatur für die PayPal-Sandbox zu erhalten.',
|
||||
'SHOP_MODULE_sOEPayPalSandboxPassword' => 'Sandbox: API-Passwort',
|
||||
'SHOP_MODULE_sOEPayPalSandboxSignature' => 'Sandbox: Unterschrift',
|
||||
|
||||
'SHOP_MODULE_blPayPalLoggerEnabled' => 'PayPal Logging aktivieren',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalECheckoutInDetails' => 'Express Checkout auf der Artikel-Detailseite anzeigen',
|
||||
'HELP_SHOP_MODULE_blOEPayPalECheckoutInDetails' => 'Ist PayPal Express aktiv, wird der PayPal Express-Button auf der Artikel-Detailseite angezeigt.',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalFinalizeOrderOnPayPal' => 'Bestellung nach PayPal Checkout abschließen',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalECheckoutInMiniBasket' => 'Express Checkout im Mini-Warenkorb anzeigen',
|
||||
'HELP_SHOP_MODULE_blOEPayPalECheckoutInMiniBasket' => 'Ist PayPal Express aktiv, wird der PayPal Express-Button im Mini-Warenkorb angezeigt.',
|
||||
|
||||
'SHOP_MODULE_GROUP_oepaypal_banners' => 'Banner-Einstellungen | Bieten Sie Ihren Kunden PayPal Ratenzahlung mit 0% effektiven Jahreszins an. Erfahren Sie hier <a href="https://www.paypal.com/de/webapps/mpp/installments" target="_blank">mehr</a>.',
|
||||
'SHOP_MODULE_oePayPalClientId' => 'Client-ID',
|
||||
'SHOP_MODULE_oePayPalBannersHideAll' => 'Ratenzahlung-Banner nicht anzeigen',
|
||||
'SHOP_MODULE_oePayPalBannersStartPage' => 'Ratenzahlung-Banner auf Startseite anzeigen',
|
||||
'SHOP_MODULE_oePayPalBannersStartPageSelector' => 'CSS-Selektor der Startseite hinter dem das Banner angezeigt wird.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersStartPageSelector' => 'Standardwerte für die Themes "Flow" und "Wave": \'#wrapper .row\' und \'#wrapper .container\'. Nach diesen CSS-Selektoren wird das Banner angezeigt.',
|
||||
'SHOP_MODULE_oePayPalBannersCategoryPage' => 'Ratenzahlung-Banner auf Kategorieseiten anzeigen',
|
||||
'SHOP_MODULE_oePayPalBannersCategoryPageSelector' => 'CSS-Selektor der Kategorieseiten hinter dem das Banner angezeigt wird.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersCategoryPageSelector' => 'Standardwerte für die Themes "Flow" und "Wave": \'.page-header\' und \'.page-header\'. Nach diesen CSS-Selektoren wird das Banner angezeigt.',
|
||||
'SHOP_MODULE_oePayPalBannersSearchResultsPage' => 'Ratenzahlung-Banner bei Suchergebnissen anzeigen',
|
||||
'SHOP_MODULE_oePayPalBannersSearchResultsPageSelector' => 'CSS-Selektor der Suchergebnisse hinter dem das Banner angezeigt wird.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersSearchResultsPageSelector' => 'Standardwerte für die Themes "Flow" und "Wave": \'#content .page-header .clearfix\' und \'.page-header\'. Nach diesen CSS-Selektoren wird das Banner angezeigt.',
|
||||
'SHOP_MODULE_oePayPalBannersProductDetailsPage' => 'Ratenzahlung-Banner auf Detailseiten anzeigen',
|
||||
'SHOP_MODULE_oePayPalBannersProductDetailsPageSelector' => 'CSS-Selektor der Detailseiten hinter dem das Banner angezeigt wird.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersProductDetailsPageSelector' => 'Standardwerte für die Themes "Flow" und "Wave": \'.detailsParams\' und \'#detailsItemsPager\'. Nach diesen CSS-Selektoren wird das Banner angezeigt.',
|
||||
'SHOP_MODULE_oePayPalBannersCheckoutPage' => 'Ratenzahlung-Banner im Warenkorb anzeigen',
|
||||
'SHOP_MODULE_oePayPalBannersCartPageSelector' => 'CSS-Selektor der Warenkorbübersicht (Bestellschritt 1) hinter dem das Banner angezeigt wird.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersCartPageSelector' => 'Standardwerte für die Themes "Flow" und "Wave": \'.cart-buttons\' und \'.cart-buttons\'. Nach diesen CSS-Selektoren wird das Banner angezeigt.',
|
||||
'SHOP_MODULE_oePayPalBannersPaymentPageSelector' => 'CSS-Selektor der Seite "Versand & Zahlungsart" (Bestellschritt 3) hinter dem das Banner angezeigt wird.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersPaymentPageSelector' => 'Standardwerte für die Themes "Flow" und "Wave": \'.checkoutSteps ~ .spacer\' und \'.checkout-steps\'. Nach diesen CSS-Selektoren wird das Banner angezeigt.',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme' => 'Farbe des Ratenzahlung-Banners auswählen',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_blue' => 'blau',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_black' => 'schwarz',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_white' => 'weiß',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_white-no-border' => 'weiß, ohne Rand',
|
||||
);
|
||||
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of O3-Shop Paypal module.
|
||||
*
|
||||
* O3-Shop is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* O3-Shop is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 OXID eSales AG (https://www.oxid-esales.com)
|
||||
* @copyright Copyright (c) 2022 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
*/
|
||||
|
||||
$sLangName = 'Deutsch';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTIFIER = STRING
|
||||
// -------------------------------
|
||||
$aLang = array(
|
||||
'charset' => 'UTF-8',
|
||||
'tbclorder_paypal' => 'PayPal',
|
||||
'OEPAYPAL_MOBILE_DEFAULT_PAYMENT' => 'Für PayPal mit mobilen Endgeräten',
|
||||
'OEPAYPAL_AMOUNT' => 'Betrag',
|
||||
'OEPAYPAL_SHOP_PAYMENT_STATUS' => 'Shop-Zahlungsstatus',
|
||||
'OEPAYPAL_ORDER_PRICE' => 'Bestellpreis gesamt',
|
||||
'OEPAYPAL_ORDER_PRODUCTS' => 'Bestellte Artikel',
|
||||
'OEPAYPAL_CAPTURED' => 'Eingezogen',
|
||||
'OEPAYPAL_REFUNDED' => 'Erstattet',
|
||||
'OEPAYPAL_CAPTURED_NET' => 'Resultierender Zahlungsbetrag',
|
||||
'OEPAYPAL_CAPTURED_AMOUNT' => 'Eingezogener Betrag',
|
||||
'OEPAYPAL_REFUNDED_AMOUNT' => 'Erstatteter Betrag',
|
||||
'OEPAYPAL_VOIDED_AMOUNT' => 'Stornierter Betrag',
|
||||
'OEPAYPAL_MONEY_CAPTURE' => 'Geldeinzug',
|
||||
'OEPAYPAL_MONEY_REFUND' => 'Gelderstattung',
|
||||
'OEPAYPAL_CAPTURE' => 'Einziehen',
|
||||
'OEPAYPAL_REFUND' => 'Erstatten',
|
||||
'OEPAYPAL_DETAILS' => 'Details',
|
||||
'OEPAYPAL_AUTHORIZATION' => 'Autorisierung',
|
||||
'OEPAYPAL_CANCEL_AUTHORIZATION' => 'Stornieren',
|
||||
'OEPAYPAL_PAYMENT_HISTORY' => 'PayPal-Historie',
|
||||
'OEPAYPAL_HISTORY_DATE' => 'Datum',
|
||||
'OEPAYPAL_HISTORY_ACTION' => 'Aktion',
|
||||
'OEPAYPAL_HISTORY_PAYPAL_STATUS' => 'PayPal-Status',
|
||||
'OEPAYPAL_HISTORY_PAYPAL_STATUS_HELP' => 'Von PayPal zurückgegebener Zahlungsstatus. Für mehr Details siehe (nur Englisch): <a href="https://www.paypal.com/webapps/helpcenter/article/?articleID=94021&m=SRE" target="_blank" >PayPal Zahlungsstatus</a>',
|
||||
'OEPAYPAL_HISTORY_COMMENT' => 'Kommentar',
|
||||
'OEPAYPAL_HISTORY_ACTIONS' => 'Aktionen',
|
||||
'OEPAYPAL_HISTORY_NOTICE' => 'Hinweis',
|
||||
'OEPAYPAL_HISTORY_NOTICE_TEXT' => 'Im Fehlerfall siehe "Details" für mehr Informationen',
|
||||
'OEPAYPAL_MONEY_ACTION_FULL' => 'vollständig',
|
||||
'OEPAYPAL_MONEY_ACTION_PARTIAL' => 'teilweise',
|
||||
'OEPAYPAL_LIST_STATUS_ALL' => 'Alle',
|
||||
'OEPAYPAL_STATUS_pending' => 'Ausstehend',
|
||||
'OEPAYPAL_STATUS_completed' => 'Abgeschlossen',
|
||||
'OEPAYPAL_STATUS_failed' => 'Fehlgeschlagen',
|
||||
'OEPAYPAL_STATUS_canceled' => 'Abgebrochen',
|
||||
'OEPAYPAL_ONLY_FOR_PAYPAL_PAYMENT' => 'Diese Registerkarte ist nur für Bestellungen mit der Zahlungsart PayPal.',
|
||||
'OEPAYPAL_ONLY_FOR_NEW_PAYPAL_PAYMENT' => 'Diese Bestellung wurde vom eFire PayPal-Modul erstellt und kann auf dieser Registerkarte nicht angezeigt werden.',
|
||||
'OEPAYPAL_PAYMENT_METHOD' => 'Zahlungsart',
|
||||
'OEPAYPAL_CLOSE' => 'Schließen',
|
||||
'OEPAYPAL_COMMENT' => 'Kommentar',
|
||||
'OEPAYPAL_RESPONSE_FROM_PAYPAL' => 'Fehlermeldung von PayPal: ',
|
||||
'OEPAYPAL_AUTHORIZATIONID' => 'Autorisierungs-ID',
|
||||
'OEPAYPAL_TRANSACTIONID' => 'Transaktions-ID',
|
||||
'OEPAYPAL_CORRELATIONID' => 'Korrelations-ID',
|
||||
);
|
||||
@@ -0,0 +1,117 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of O3-Shop Paypal module.
|
||||
*
|
||||
* O3-Shop is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* O3-Shop is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 OXID eSales AG (https://www.oxid-esales.com)
|
||||
* @copyright Copyright (c) 2022 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
*/
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTIFIER = STRING
|
||||
// -------------------------------
|
||||
$aLang = array(
|
||||
'charset' => 'UTF-8',
|
||||
'SHOP_MODULE_GROUP_oepaypal_display' => 'Display on PayPal payment page',
|
||||
'SHOP_MODULE_GROUP_oepaypal_checkout' => 'PayPal integration',
|
||||
'SHOP_MODULE_GROUP_oepaypal_payment' => 'Shopping cart on PayPal payment page',
|
||||
'SHOP_MODULE_GROUP_oepaypal_transaction' => 'Capture',
|
||||
'SHOP_MODULE_GROUP_oepaypal_api' => 'API signature',
|
||||
'SHOP_MODULE_GROUP_oepaypal_development' => 'Development settings',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalBrandName' => 'Name of the shop',
|
||||
'HELP_SHOP_MODULE_sOEPayPalBrandName' => 'Please enter the name of your shop that shall appear on the PayPal payment page.',
|
||||
'SHOP_MODULE_sOEPayPalBorderColor' => 'Cart Area Color on the PayPal payment page',
|
||||
'HELP_SHOP_MODULE_sOEPayPalBorderColor' => 'Please enter the hexadecimal code of the color that shall be used on the PayPal payment page.',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalStandardCheckout' => 'PayPal Basis',
|
||||
'HELP_SHOP_MODULE_blOEPayPalStandardCheckout' => 'PayPal will be offered as a payment method at the end of the checkout process. If the customer chooses PayPal, he has to confirm his purchase at the PayPal payment page and will be redirected back to the shop.',
|
||||
'SHOP_MODULE_blOEPayPalExpressCheckout' => 'PayPal Express',
|
||||
'HELP_SHOP_MODULE_blOEPayPalExpressCheckout' => 'When pushing the PayPal Express button the customer will be led directly to the PayPal payment page, where he has to confirm his purchase. Once this is done he\'ll be redirected to the shop again, and all relevant data for the order will be handed over from PayPal to the shop.',
|
||||
'SHOP_MODULE_blOEPayPalGuestBuyRole' => 'Enable guest buy role',
|
||||
'HELP_SHOP_MODULE_blOEPayPalGuestBuyRole' => 'The customer has the option to check out without a PayPal account. He can complete the payment first, and then decides if to save his data in a PayPal account for future purchases.',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalSendToPayPal' => 'Show shopping cart on PayPal site',
|
||||
'HELP_SHOP_MODULE_blOEPayPalSendToPayPal' => 'After logging in the content of the shopping cart appears in PayPal including product information, prices and shipping costs. During the checkout process the customer can choose if this data should be transferred. Hint: if there are products with a fraction of a quantity (e.g. 1,5) in the shopping cart, the shopping cart will not be submitted to PayPal, no matter if the purchaser activated this option during the checkout.',
|
||||
'SHOP_MODULE_blOEPayPalDefaultUserChoice' => 'Preset customer confirmation',
|
||||
'HELP_SHOP_MODULE_blOEPayPalDefaultUserChoice' => 'During the checkout process the customer has to confirm explicitly that all shopping cart information including products, prices and shipping costs, shall be transferred to PayPal. You can activate the presetting here that the customer confirms data transfer by default.',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption' => 'Shop logo on the PayPal payment page',
|
||||
'HELP_SHOP_MODULE_sOEPayPalLogoImageOption' => 'You can set a shop logo to be shown on the PayPal payment page. It is possible to send a default shop logo, defined in shop\'s configuration file, or send a custom logo file. The logo size should not be bigger than 190px*60px (width*height). Bigger images will be resized and renamed with the file name prefix "resized_". For each different used theme, the logo file has to be located in the /out/{theme}/img directory. If the logo is not shown, please check if the provided filename is correct and if the file exists in the required directory. For the default shop logo, check the "sShopLogo" setting in the config.inc.php file. Add the setting if needed.',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalCustomShopLogoImage' => 'Custom shop logo for the PayPal payment page',
|
||||
'HELP_SHOP_MODULE_sOEPayPalCustomShopLogoImage' => 'You can use a custom shop logo on the PayPal payment page. You have to save the logo in your shop\'s image directory(/out/{theme}/img) and provide the file name here. For each different used theme, the logo file has to be located in an appropriate directory.',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption_noLogo' => 'Don\'t send any shop logo',
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption_shopLogo' => 'Send default shop logo ',
|
||||
'SHOP_MODULE_sOEPayPalLogoImageOption_customLogo' => 'Send custom shop logo',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode' => 'Time of money transfer',
|
||||
'HELP_SHOP_MODULE_sOEPayPalTransactionMode' => 'Select the time when money should be transferred. You\'ll have the option to capture the value on PayPal site immediately automated during the purchase (SALE) or manually shortly before the shipping of the products (AUTH). You can also decide that the time of money transfer is automatically handled by the shop depending on the stock amount of the ordered products (AUTOMATIC).',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode_Automatic' => 'AUTOMATIC - depending on the stock amount of the ordered products',
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode_Sale' => 'SALE - immediately automated',
|
||||
'SHOP_MODULE_sOEPayPalTransactionMode_Authorization' => 'AUTH - manually before the shipment',
|
||||
'SHOP_MODULE_sOEPayPalEmptyStockLevel' => 'Remaining stock',
|
||||
'HELP_SHOP_MODULE_sOEPayPalEmptyStockLevel' => 'This value applies to AUTOMATIC and influences, whether AUTH or SALE is used as the time of money transfer. It is checked after an order, whether the stock of one of the products is lower than the defined remaining stock. In this case AUTH is used as the transfer method, otherwise SALE.',
|
||||
|
||||
'SHOP_MODULE_sOEPayPalUserEmail' => 'E-mail address of PayPal user',
|
||||
'SHOP_MODULE_sOEPayPalUsername' => 'API user name',
|
||||
'HELP_SHOP_MODULE_sOEPayPalUsername' => 'Login to your <a target="_blank" href="https://www.paypal.com/en/cgi-bin/webscr?cmd=_get-api-signature&generic-flow=true">PayPal Account</a> to get your API Signature.',
|
||||
'SHOP_MODULE_sOEPayPalPassword' => 'API password',
|
||||
'SHOP_MODULE_sOEPayPalSignature' => 'Signature',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalSandboxMode' => 'Activate sandbox mode',
|
||||
'SHOP_MODULE_sOEPayPalSandboxUserEmail' => 'Sandbox: E-mail address of PayPal user',
|
||||
'SHOP_MODULE_sOEPayPalSandboxUsername' => 'Sandbox: API user name',
|
||||
'HELP_SHOP_MODULE_sOEPayPalSandboxUsername' => 'Login to your <a target="_blank" href="https://www.sandbox.paypal.com/en/cgi-bin/webscr?cmd=_get-api-signature&generic-flow=true">PayPal Account</a> to get your API Signature for the PayPal Sandbox.',
|
||||
'SHOP_MODULE_sOEPayPalSandboxPassword' => 'Sandbox: API password',
|
||||
'SHOP_MODULE_sOEPayPalSandboxSignature' => 'Sandbox: Signature',
|
||||
|
||||
'SHOP_MODULE_blPayPalLoggerEnabled' => 'Activate PayPal logging',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalECheckoutInMiniBasket' => 'Show Express Checkout in the mini cart',
|
||||
'HELP_SHOP_MODULE_blOEPayPalECheckoutInMiniBasket' => 'If PayPal Express is enabled, the PayPal Express button will be displayed in the mini cart.',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalFinalizeOrderOnPayPal' => 'Finalize order after PayPal checkout',
|
||||
|
||||
'SHOP_MODULE_blOEPayPalECheckoutInDetails' => 'Show Express Checkout in the products detail page',
|
||||
'HELP_SHOP_MODULE_blOEPayPalECheckoutInDetails' => 'If PayPal Express is enabled, the PayPal Express button will be displayed in the products detail page.',
|
||||
|
||||
'SHOP_MODULE_GROUP_oepaypal_banners' => 'Banner settings | Offer your customers PayPal installment payment with 0% effective annual interest. Read <a href="https://www.paypal.com/de/webapps/mpp/installments" target="_blank">more</a>.',
|
||||
'SHOP_MODULE_oePayPalClientId' => 'Client ID',
|
||||
'SHOP_MODULE_oePayPalBannersHideAll' => 'Hide installment banner',
|
||||
'SHOP_MODULE_oePayPalBannersStartPage' => 'Show installment banner on start page',
|
||||
'SHOP_MODULE_oePayPalBannersStartPageSelector' => 'CSS selector of the start page after which the banner is displayed.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersStartPageSelector' => 'Default values for Flow and Wave themes are: \'#wrapper .row\' and \'#wrapper .container\'. After these CSS selectors the banner is displayed.',
|
||||
'SHOP_MODULE_oePayPalBannersCategoryPage' => 'Show installment banner on category pages',
|
||||
'SHOP_MODULE_oePayPalBannersCategoryPageSelector' => 'CSS selector of the category pages after which the banner is displayed.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersCategoryPageSelector' => 'Default values for Flow and Wave themes are: \'.page-header\' and \'.page-header\'. After these CSS selectors the banner is displayed.',
|
||||
'SHOP_MODULE_oePayPalBannersSearchResultsPage' => 'Show installment banner on search results pages',
|
||||
'SHOP_MODULE_oePayPalBannersSearchResultsPageSelector' => 'CSS selector of the search results pages after which the banner is displayed.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersSearchResultsPageSelector' => 'Default values for Flow and Wave themes are: \'#content .page-header .clearfix\' and \'.page-header\'. After these CSS selectors the banner is displayed.',
|
||||
'SHOP_MODULE_oePayPalBannersProductDetailsPage' => 'Show installment banner on product details pages',
|
||||
'SHOP_MODULE_oePayPalBannersProductDetailsPageSelector' => 'CSS selector of the product detail pages after which the banner is displayed.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersProductDetailsPageSelector' => 'Default values for Flow and Wave themes are: \'.detailsParams\' and \'#detailsItemsPager\'. After these CSS selectors the banner is displayed.',
|
||||
'SHOP_MODULE_oePayPalBannersCheckoutPage' => 'Show installment banner on checkout pages',
|
||||
'SHOP_MODULE_oePayPalBannersCartPageSelector' => 'CSS selector of the "Cart" page (checkout step 1) after which the banner is displayed.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersCartPageSelector' => 'Default values for Flow and Wave themes are: \'.cart-buttons\' and \'.cart-buttons\'. After these CSS selectors the banner is displayed.',
|
||||
'SHOP_MODULE_oePayPalBannersPaymentPageSelector' => 'CSS selector of the "Pay" page (checkout step 3) after which the banner is displayed.',
|
||||
'HELP_SHOP_MODULE_oePayPalBannersPaymentPageSelector' => 'Default values for Flow and Wave themes are: \'.checkoutSteps ~ .spacer\' and \'.checkout-steps\'. After these CSS selectors the banner is displayed.',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme' => 'Select installment banner\'s color',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_blue' => 'blue',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_black' => 'black',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_white' => 'white',
|
||||
'SHOP_MODULE_oePayPalBannersColorScheme_white-no-border' => 'white, no border',
|
||||
);
|
||||
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of O3-Shop Paypal module.
|
||||
*
|
||||
* O3-Shop is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* O3-Shop is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 OXID eSales AG (https://www.oxid-esales.com)
|
||||
* @copyright Copyright (c) 2022 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
*/
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTIFIER = STRING
|
||||
// -------------------------------
|
||||
$aLang = array(
|
||||
'charset' => 'UTF-8',
|
||||
'tbclorder_paypal' => 'PayPal',
|
||||
'OEPAYPAL_MOBILE_DEFAULT_PAYMENT' => 'For PayPal on mobile devices',
|
||||
'OEPAYPAL_AMOUNT' => 'Amount',
|
||||
'OEPAYPAL_SHOP_PAYMENT_STATUS' => 'Shop payment status',
|
||||
'OEPAYPAL_ORDER_PRICE' => 'Full order price',
|
||||
'OEPAYPAL_ORDER_PRODUCTS' => 'Ordered products',
|
||||
'OEPAYPAL_CAPTURED' => 'Captured',
|
||||
'OEPAYPAL_REFUNDED' => 'Refunded',
|
||||
'OEPAYPAL_CAPTURED_NET' => 'Resulting payment amount',
|
||||
'OEPAYPAL_CAPTURED_AMOUNT' => 'Captured amount',
|
||||
'OEPAYPAL_REFUNDED_AMOUNT' => 'Refunded amount',
|
||||
'OEPAYPAL_VOIDED_AMOUNT' => 'Voided amount',
|
||||
'OEPAYPAL_MONEY_CAPTURE' => 'Money capture',
|
||||
'OEPAYPAL_MONEY_REFUND' => 'Money refund',
|
||||
'OEPAYPAL_CAPTURE' => 'Capture',
|
||||
'OEPAYPAL_REFUND' => 'Refund',
|
||||
'OEPAYPAL_DETAILS' => 'Details',
|
||||
'OEPAYPAL_AUTHORIZATION' => 'Authorization',
|
||||
'OEPAYPAL_CANCEL_AUTHORIZATION' => 'Void',
|
||||
'OEPAYPAL_PAYMENT_HISTORY' => 'PayPal history',
|
||||
'OEPAYPAL_HISTORY_DATE' => 'Date',
|
||||
'OEPAYPAL_HISTORY_ACTION' => 'Action',
|
||||
'OEPAYPAL_HISTORY_PAYPAL_STATUS' => 'PayPal status',
|
||||
'OEPAYPAL_HISTORY_PAYPAL_STATUS_HELP' => 'Payment status returned from PayPal. For more details see: <a href="https://www.paypal.com/webapps/helpcenter/article/?articleID=94021&m=SRE" target="_blank" >PayPal status</a>',
|
||||
'OEPAYPAL_HISTORY_COMMENT' => 'Comment',
|
||||
'OEPAYPAL_HISTORY_ACTIONS' => 'Actions',
|
||||
'OEPAYPAL_HISTORY_NOTICE' => 'Note',
|
||||
'OEPAYPAL_HISTORY_NOTICE_TEXT' => 'In case of error, please see "Details" for more information',
|
||||
'OEPAYPAL_MONEY_ACTION_FULL' => 'full',
|
||||
'OEPAYPAL_MONEY_ACTION_PARTIAL' => 'partial',
|
||||
'OEPAYPAL_LIST_STATUS_ALL' => 'All',
|
||||
'OEPAYPAL_STATUS_pending' => 'Pending',
|
||||
'OEPAYPAL_STATUS_completed' => 'Completed',
|
||||
'OEPAYPAL_STATUS_failed' => 'Failed',
|
||||
'OEPAYPAL_STATUS_canceled' => 'Canceled',
|
||||
'OEPAYPAL_ONLY_FOR_PAYPAL_PAYMENT' => 'This tab is for orders with the PayPal payment method only',
|
||||
'OEPAYPAL_ONLY_FOR_NEW_PAYPAL_PAYMENT' => 'This order was created with the eFire PayPal module and can not be handled in this tab.',
|
||||
'OEPAYPAL_PAYMENT_METHOD' => 'Payment method',
|
||||
'OEPAYPAL_CLOSE' => 'Close',
|
||||
'OEPAYPAL_COMMENT' => 'Comment',
|
||||
'OEPAYPAL_RESPONSE_FROM_PAYPAL' => 'Error message from PayPal: ',
|
||||
'OEPAYPAL_AUTHORIZATIONID' => 'Authorization ID',
|
||||
'OEPAYPAL_TRANSACTIONID' => 'Transaction ID',
|
||||
'OEPAYPAL_CORRELATIONID' => 'Correlation ID',
|
||||
);
|
||||
460
shop/source/modules/oe/oepaypal/views/admin/tpl/order_paypal.tpl
Normal file
460
shop/source/modules/oe/oepaypal/views/admin/tpl/order_paypal.tpl
Normal file
@@ -0,0 +1,460 @@
|
||||
[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]
|
||||
|
||||
[{oxscript include="js/libs/jquery.min.js"}]
|
||||
[{oxscript include=$oViewConf->getModuleUrl('oepaypal','out/admin/src/js/paypal_order.js')}]
|
||||
[{oxscript add="jQuery.noConflict();" priority=10}]
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function () {
|
||||
top.oxid.admin.updateList('[{$sOxid}]')
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.paypalActionsTable {
|
||||
border: 1px #A9A9A9;
|
||||
border-style: solid solid solid solid;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#paypalOverlay {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 2000px;
|
||||
opacity: 0.5;
|
||||
background: #ccc;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.paypalPopUp {
|
||||
position: fixed;
|
||||
background: #fff;
|
||||
left: 0;
|
||||
top: 100px;
|
||||
padding: 10px;
|
||||
min-width: 350px;
|
||||
max-width: 550px;
|
||||
z-index: 91;
|
||||
display: none;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.paypalPopUp .paypalPopUpClose {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
border: 1px solid #000;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
.paypalActionsButtons {
|
||||
text-align: right;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.paypalActionsBlockNotice textarea {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#paypalStatusList {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#paypalActionsBlocks {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#historyTable {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
.paypalHistoryComments p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
a.popUpLink, a.actionLink {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="oxidCopy" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="delivery_main">
|
||||
<input type="hidden" name="language" value="[{$actlang}]">
|
||||
</form>
|
||||
|
||||
[{if $oOrder}]
|
||||
|
||||
|
||||
[{assign var="payPalOrder" value=$oOrder->getPayPalOrder()}]
|
||||
[{assign var="orderActionManager" value=$oView->getOrderActionManager()}]
|
||||
[{assign var="orderPaymentActionManager" value=$oView->getOrderPaymentActionManager()}]
|
||||
[{assign var="orderPaymentStatusCalculator" value=$oView->getOrderPaymentStatusCalculator()}]
|
||||
[{assign var="orderPaymentStatusList" value=$oView->getOrderPaymentStatusList()}]
|
||||
|
||||
[{assign var="currency" value=$payPalOrder->getCurrency()}]
|
||||
|
||||
<table width="98%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="edittext" valign="top">
|
||||
<table class="paypalActionsTable" width="98%">
|
||||
[{if $error}]
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div class="errorbox">[{$error}]</div>
|
||||
</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_SHOP_PAYMENT_STATUS"}]:</td>
|
||||
<td class="edittext">
|
||||
<b>[{oxmultilang ident='OEPAYPAL_STATUS_'|cat:$payPalOrder->getPaymentStatus()}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_ORDER_PRICE"}]:</td>
|
||||
<td class="edittext">
|
||||
<b>[{$oView->formatPrice($payPalOrder->getTotalOrderSum())}] [{$currency}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_CAPTURED_AMOUNT"}]:</td>
|
||||
<td class="edittext">
|
||||
<b>[{$oView->formatPrice($payPalOrder->getCapturedAmount())}] [{$currency}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_REFUNDED_AMOUNT"}]:</td>
|
||||
<td class="edittext">
|
||||
<b>[{$oView->formatPrice($payPalOrder->getRefundedAmount())}] [{$currency}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_CAPTURED_NET"}]:</td>
|
||||
<td class="edittext">
|
||||
<b>[{$oView->formatPrice($payPalOrder->getRemainingRefundAmount())}] [{$currency}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_VOIDED_AMOUNT"}]:</td>
|
||||
<td class="edittext">
|
||||
<b>[{$oView->formatPrice($payPalOrder->getVoidedAmount())}] [{$currency}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_AUTHORIZATIONID"}]:</td>
|
||||
<td class="edittext">
|
||||
<b>[{$oOrder->getAuthorizationId()}]</b>
|
||||
</td>
|
||||
</tr>
|
||||
[{if $orderActionManager->isActionAvailable('capture')}]
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_MONEY_CAPTURE"}]:</td>
|
||||
<td class="edittext">
|
||||
<button id="captureButton" class="actionLink"
|
||||
data-action="capture"
|
||||
data-type="Complete"
|
||||
data-amount="[{$payPalOrder->getRemainingOrderSum()}]"
|
||||
data-statuslist='[{$orderPaymentStatusList->getAvailableStatuses('capture')|@json_encode}]'
|
||||
data-activestatus="[{$orderPaymentStatusCalculator->getSuggestStatus('capture')}]"
|
||||
href="#">
|
||||
[{oxmultilang ident="OEPAYPAL_CAPTURE"}]
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{if $orderActionManager->isActionAvailable('void')}]
|
||||
<tr>
|
||||
<td class="edittext">[{oxmultilang ident="OEPAYPAL_AUTHORIZATION"}]:</td>
|
||||
<td class="edittext">
|
||||
<button id="voidButton" class="actionLink"
|
||||
data-action="void"
|
||||
data-statuslist='[{$orderPaymentStatusList->getAvailableStatuses('void')|@json_encode}]'
|
||||
data-activestatus="[{$orderPaymentStatusCalculator->getSuggestStatus('void')}]"
|
||||
href="#">
|
||||
[{oxmultilang ident="OEPAYPAL_CANCEL_AUTHORIZATION"}]
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
</table>
|
||||
<br>
|
||||
<b>[{oxmultilang ident="OEPAYPAL_PAYMENT_HISTORY"}]: </b>
|
||||
<table id="historyTable">
|
||||
<colgroup>
|
||||
<col width="20%">
|
||||
<col width="20%">
|
||||
<col width="20%">
|
||||
<col width="20%">
|
||||
<col width="20%">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<td class="listheader first">[{oxmultilang ident="OEPAYPAL_HISTORY_DATE"}]</td>
|
||||
<td class="listheader">[{oxmultilang ident="OEPAYPAL_HISTORY_ACTION"}]</td>
|
||||
<td class="listheader">[{oxmultilang ident="OEPAYPAL_AMOUNT"}]</td>
|
||||
<td class="listheader">
|
||||
[{oxmultilang ident="OEPAYPAL_HISTORY_PAYPAL_STATUS"}]
|
||||
[{oxinputhelp ident="OEPAYPAL_HISTORY_PAYPAL_STATUS_HELP"}]
|
||||
</td>
|
||||
<td class="listheader">[{oxmultilang ident="OEPAYPAL_HISTORY_ACTIONS"}]</td>
|
||||
</tr>
|
||||
[{foreach from=$payPalOrder->getPaymentList() item=listitem name=paypalHistory}]
|
||||
[{cycle values='listitem,listitem2' assign='class'}]
|
||||
<tr>
|
||||
<td valign="top" class="[{$class}]">[{$listitem->getDate()}]</td>
|
||||
<td valign="top" class="[{$class}]">[{$listitem->getAction()}]</td>
|
||||
<td valign="top" class="[{$class}]">
|
||||
[{$listitem->getAmount()}]
|
||||
<small>[{$currency}]</small>
|
||||
</td>
|
||||
<td valign="top" class="[{$class}]">[{$listitem->getStatus()}]</td>
|
||||
<td valign="top" class="[{$class}]">
|
||||
<a class="popUpLink" href="#"
|
||||
data-block="historyDetailsBlock[{$smarty.foreach.paypalHistory.index}]"><img
|
||||
src="[{$oViewConf->getModuleUrl('oepaypal','out/admin/src/bg/ico-details.png')}]"
|
||||
title="[{oxmultilang ident="OEPAYPAL_DETAILS"}]"/></a>
|
||||
|
||||
<div id="historyDetailsBlock[{$smarty.foreach.paypalHistory.index}]" class="paypalPopUp">
|
||||
<h3>[{oxmultilang ident="OEPAYPAL_DETAILS"}] ([{$listitem->getDate()}])</h3>
|
||||
|
||||
<p>
|
||||
[{oxmultilang ident="OEPAYPAL_HISTORY_ACTION"}]: <b>[{$listitem->getAction()}]</b><br/>
|
||||
[{oxmultilang ident="OEPAYPAL_HISTORY_PAYPAL_STATUS"}]: <b>[{$listitem->getStatus()}]</b><br/>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
[{if $listitem->getRefundedAmount() > 0}]
|
||||
<label>[{oxmultilang ident="OEPAYPAL_CAPTURED"}]: </label><b>[{$listitem->getAmount()}]
|
||||
<small>[{$currency}]</small>
|
||||
</b><br/>
|
||||
[{oxmultilang ident="OEPAYPAL_REFUNDED"}]: <b>[{$listitem->getRefundedAmount()}]
|
||||
<small>[{$currency}]</small>
|
||||
</b><br/>
|
||||
[{oxmultilang ident="OEPAYPAL_CAPTURED_NET"}]: <b>[{$listitem->getRemainingRefundAmount()}]
|
||||
<small>[{$currency}]</small>
|
||||
</b><br/>
|
||||
[{else}]
|
||||
<label>[{oxmultilang ident="OEPAYPAL_AMOUNT"}]: </label><b>[{$listitem->getAmount()}]
|
||||
<small>[{$currency}]</small>
|
||||
</b><br/>
|
||||
[{/if}]
|
||||
</p>
|
||||
<p>
|
||||
<label>[{oxmultilang ident="OEPAYPAL_TRANSACTIONID"}]: </label><b>[{$listitem->getTransactionId()}]</b><br/>
|
||||
<label>[{oxmultilang ident="OEPAYPAL_CORRELATIONID"}]: </label><b>[{$listitem->getCorrelationId()}]</b><br/>
|
||||
</p>
|
||||
[{assign var="comments" value=$listitem->getCommentList()}]
|
||||
[{if $comments->getArray()}]
|
||||
<div class="paypalHistoryComments">
|
||||
<span>[{oxmultilang ident="OEPAYPAL_COMMENT"}]: </span>
|
||||
[{foreach from=$comments item=comment}]
|
||||
<p>
|
||||
<small>[{$comment->getDate()}]</small>
|
||||
<br>
|
||||
[{$comment->getComment()}]
|
||||
</p>
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{if $orderPaymentActionManager->isActionAvailable('refund', $listitem)}]
|
||||
<a id="refundButton[{$smarty.foreach.paypalHistory.index}]" class="actionLink"
|
||||
data-action="refund"
|
||||
data-type="[{if $listitem->getRefundedAmount() > 0}]Partial[{else}]Full[{/if}]"
|
||||
data-amount="[{$listitem->getRemainingRefundAmount()}]"
|
||||
data-transid="[{$listitem->getTransactionId()}]"
|
||||
data-statuslist='[{$orderPaymentStatusList->getAvailableStatuses('refund')|@json_encode}]'
|
||||
data-activestatus="[{$orderPaymentStatusCalculator->getSuggestStatus('refund')}]"
|
||||
href="#">
|
||||
<img src="[{$oViewConf->getModuleUrl('oepaypal','out/admin/src/bg/ico-refund.png')}]"
|
||||
title="[{oxmultilang ident="OEPAYPAL_REFUND"}]"/>
|
||||
</a>
|
||||
[{/if}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
</table>
|
||||
<p><b>[{oxmultilang ident="OEPAYPAL_HISTORY_NOTICE"}]: </b>[{oxmultilang ident="OEPAYPAL_HISTORY_NOTICE_TEXT"}]
|
||||
</p>
|
||||
</td>
|
||||
<td class="edittext" valign="top" align="left">
|
||||
<b>[{oxmultilang ident="OEPAYPAL_ORDER_PRODUCTS"}]: </b>
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="98%">
|
||||
<tr>
|
||||
<td class="listheader first">[{oxmultilang ident="GENERAL_SUM"}]</td>
|
||||
<td class="listheader" height="15"> [{oxmultilang ident="GENERAL_ITEMNR"}]</td>
|
||||
<td class="listheader"> [{oxmultilang ident="GENERAL_TITLE"}]</td>
|
||||
[{if $oOrder->isNettoMode()}]
|
||||
<td class="listheader">[{oxmultilang ident="ORDER_ARTICLE_ENETTO"}]</td>
|
||||
[{else}]
|
||||
<td class="listheader">[{oxmultilang ident="ORDER_ARTICLE_EBRUTTO"}]</td>
|
||||
[{/if}]
|
||||
<td class="listheader">[{oxmultilang ident="GENERAL_ATALL"}]</td>
|
||||
<td class="listheader" colspan="3">[{oxmultilang ident="ORDER_ARTICLE_MWST"}]</td>
|
||||
</tr>
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{foreach from=$oOrder->getOrderArticles() item=listitem name=orderArticles}]
|
||||
[{if $listitem->oxorderarticles__oxstorno->value == 1}]
|
||||
[{assign var="listclass" value=listitem3}]
|
||||
[{else}]
|
||||
[{assign var="listclass" value="listitem"|cat:$blWhite}]
|
||||
[{/if}]
|
||||
<tr id="art.[{$smarty.foreach.orderArticles.iteration}]">
|
||||
<td valign="top" class="[{$listclass}]">[{$listitem->oxorderarticles__oxamount->value}]</td>
|
||||
<td valign="top" class="[{$listclass}]" height="15">[{$listitem->oxorderarticles__oxartnum->value}]
|
||||
</td>
|
||||
<td valign="top" class="[{$listclass}]">[{$listitem->oxorderarticles__oxtitle->value|oxtruncate:20:""|strip_tags}]
|
||||
</td>
|
||||
[{if $oOrder->isNettoMode()}]
|
||||
<td valign="top" class="[{$listclass}]">[{$listitem->getNetPriceFormated()}]
|
||||
<small>[{$oOrder->oxorder__oxcurrency->value}]</small>
|
||||
</td>
|
||||
<td valign="top" class="[{$listclass}]">[{$listitem->getTotalNetPriceFormated()}]
|
||||
<small>[{$oOrder->oxorder__oxcurrency->value}]</small>
|
||||
</td>
|
||||
[{else}]
|
||||
<td valign="top" class="[{$listclass}]">[{$listitem->getBrutPriceFormated()}]
|
||||
<small>[{$oOrder->oxorder__oxcurrency->value}]</small>
|
||||
</td>
|
||||
<td valign="top" class="[{$listclass}]">[{$listitem->getTotalBrutPriceFormated()}]
|
||||
<small>[{$oOrder->oxorder__oxcurrency->value}]</small>
|
||||
</td>
|
||||
[{/if}]
|
||||
<td valign="top" class="[{$listclass}]">[{$listitem->oxorderarticles__oxvat->value}]</td>
|
||||
</tr>
|
||||
[{if $blWhite == "2"}]
|
||||
[{assign var="blWhite" value=""}]
|
||||
[{else}]
|
||||
[{assign var="blWhite" value="2"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div id="paypalOverlay"></div>
|
||||
|
||||
<div id="paypalActions" class="paypalPopUp">
|
||||
<form name="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="oepaypalorder_paypal">
|
||||
<input type="hidden" name="fnc" value="processAction">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[category__oxid]" value="[{$oxid}]">
|
||||
<input type="hidden" name="action" value="">
|
||||
<input type="hidden" name="transaction_id" value="">
|
||||
<input type="hidden" name="full_amount" value="">
|
||||
|
||||
<div id="paypalActionsContent"></div>
|
||||
</form>
|
||||
</div>
|
||||
<div id="paypalActionsBlocks">
|
||||
<div id="captureBlock" class="paypalActionsBlock">
|
||||
<h3>[{oxmultilang ident="OEPAYPAL_MONEY_CAPTURE"}]</h3>
|
||||
|
||||
<p class="paypalActionsBlockOptions">
|
||||
<label for="captureAmountInput">[{oxmultilang ident="OEPAYPAL_AMOUNT"}]</label>:
|
||||
<select class="amountSelect" name="capture_type" data-input="captureAmountInput">
|
||||
<option value="Complete"
|
||||
data-disabled="1"
|
||||
data-statuslist='[{$orderPaymentStatusList->getAvailableStatuses('capture')|@json_encode}]'
|
||||
data-activestatus="[{$orderPaymentStatusCalculator->getSuggestStatus('capture')}]">
|
||||
[{oxmultilang ident="OEPAYPAL_MONEY_ACTION_FULL"}]
|
||||
</option>
|
||||
<option value="NotComplete"
|
||||
data-disabled="0"
|
||||
data-statuslist='[{$orderPaymentStatusList->getAvailableStatuses('capture_partial')|@json_encode}]'
|
||||
data-activestatus="[{$orderPaymentStatusCalculator->getSuggestStatus('capture_partial')}]">
|
||||
[{oxmultilang ident="OEPAYPAL_MONEY_ACTION_PARTIAL"}]
|
||||
</option>
|
||||
</select>
|
||||
<input id="captureAmountInput" type="text" class="editinput" name="capture_amount" size="10" value=""
|
||||
disabled="disabled"> [{$currency}]
|
||||
</p>
|
||||
<div class="paypalStatusListPlaceholder"></div>
|
||||
<p class="paypalActionsBlockNotice">
|
||||
<label>[{oxmultilang ident="OEPAYPAL_COMMENT"}]</label><br>
|
||||
<textarea name="action_comment"></textarea>
|
||||
</p>
|
||||
|
||||
<p class="paypalActionsButtons">
|
||||
<input id="captureSubmit" type="submit" class="edittext" name="action_submit"
|
||||
value="[{oxmultilang ident="OEPAYPAL_CAPTURE"}]">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="voidBlock" class="paypalActionsBlock">
|
||||
<h3>[{oxmultilang ident="OEPAYPAL_AUTHORIZATION"}]</h3>
|
||||
|
||||
<div class="paypalStatusListPlaceholder"></div>
|
||||
<p class="paypalActionsBlockNotice">
|
||||
<label>[{oxmultilang ident="OEPAYPAL_COMMENT"}]</label><br>
|
||||
<textarea name="action_comment"></textarea>
|
||||
</p>
|
||||
|
||||
<p class="paypalActionsButtons">
|
||||
<input id="voidSubmit" type="submit" class="edittext" name="action_submit"
|
||||
value="[{oxmultilang ident="OEPAYPAL_CANCEL_AUTHORIZATION"}]">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="refundBlock" class="paypalActionsBlock">
|
||||
<h3>[{oxmultilang ident="OEPAYPAL_MONEY_REFUND"}]:</h3>
|
||||
|
||||
<p class="paypalActionsBlockOptions">
|
||||
<select class="amountSelect" name="refund_type" data-input="refundAmountInput">
|
||||
<option value="Full"
|
||||
data-disabled="1"
|
||||
data-statuslist='[{$orderPaymentStatusList->getAvailableStatuses('refund')|@json_encode}]'
|
||||
data-activestatus="[{$orderPaymentStatusCalculator->getSuggestStatus('refund')}]">
|
||||
[{oxmultilang ident="OEPAYPAL_MONEY_ACTION_FULL"}]
|
||||
</option>
|
||||
<option value="Partial"
|
||||
data-disabled="0"
|
||||
data-statuslist='[{$orderPaymentStatusList->getAvailableStatuses('refund_partial')|@json_encode}]'
|
||||
data-activestatus="[{$orderPaymentStatusCalculator->getSuggestStatus('refund_partial')}]">
|
||||
[{oxmultilang ident="OEPAYPAL_MONEY_ACTION_PARTIAL"}]
|
||||
</option>
|
||||
</select>
|
||||
<input id="refundAmountInput" type="text" class="editinput" name="refund_amount" size="10" value=""
|
||||
disabled="disabled"> [{$currency}]
|
||||
</p>
|
||||
<div class="paypalStatusListPlaceholder"></div>
|
||||
<p class="paypalActionsBlockNotice">
|
||||
<label>[{oxmultilang ident="OEPAYPAL_COMMENT"}]</label><br>
|
||||
<textarea name="action_comment"></textarea>
|
||||
</p>
|
||||
|
||||
<p class="paypalActionsButtons">
|
||||
<input id="refundSubmit" type="submit" class="edittext" name="action_submit"
|
||||
value="[{oxmultilang ident="OEPAYPAL_REFUND"}]">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="paypalStatusList">
|
||||
[{oxmultilang ident="OEPAYPAL_SHOP_PAYMENT_STATUS"}]
|
||||
[{foreach from=$orderPaymentStatusList item=status}]
|
||||
<span id="[{$status}]Status">
|
||||
<input id="[{$status}]StatusCheckbox" type="radio" name="order_status" value="[{$status}]">
|
||||
<label for="[{$status}]StatusCheckbox">[{oxmultilang ident='OEPAYPAL_STATUS_'|cat:$status}]</label>
|
||||
</span>
|
||||
[{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="messagebox">[{$sMessage}]</div>
|
||||
[{/if}]
|
||||
|
||||
[{include file="bottomnaviitem.tpl"}]
|
||||
[{include file="bottomitem.tpl"}]
|
||||
Reference in New Issue
Block a user