add 1.0.0.0 (ionCube for PHP 7.1 - 7.2)
This commit is contained in:
commit
dcc0544369
5
changelog.md
Normal file
5
changelog.md
Normal file
@ -0,0 +1,5 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
# 1.0.0.0
|
||||
0000000: creating heidelpay addon payolution
|
44
composer.json
Normal file
44
composer.json
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
"name": "d3/heidelpay_payolution",
|
||||
"description": "Heidelpay addon module for d3/heidelpay",
|
||||
"type": "oxideshop-module",
|
||||
"authors": [
|
||||
{
|
||||
"name": "D3 Data Development (Inh. Thomas Dartsch)",
|
||||
"email": "info@shopmodule.com",
|
||||
"homepage": "http://www.oxidmodule.com",
|
||||
"role": "Owner"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"email": "support@shopmodule.com"
|
||||
},
|
||||
"keywords": [
|
||||
"oxid",
|
||||
"modules",
|
||||
"eShop",
|
||||
"d3",
|
||||
"heidelpay",
|
||||
"payolution"
|
||||
],
|
||||
"homepage": "https://www.oxidmodule.com/",
|
||||
"license": [
|
||||
"proprietary"
|
||||
],
|
||||
"extra": {
|
||||
"oxideshop": {
|
||||
"source-directory": "/src",
|
||||
"target-directory": "d3/hppayolution"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": "7.1-7.2",
|
||||
"ext-ionCube-Loader": "*",
|
||||
"d3/heidelpay": "~6.0.1"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"D3\\Hppayolution\\": "../../../source/modules/d3/hppayolution"
|
||||
}
|
||||
}
|
||||
}
|
192
docs/Installation.md
Normal file
192
docs/Installation.md
Normal file
@ -0,0 +1,192 @@
|
||||
# D³ Data Development - Heidelpay Payolution
|
||||
Installation und Schnellstart
|
||||
Stand: 2018-06-18
|
||||
Modulversion: 1.0.0.x
|
||||
Bearbeiter: KH
|
||||
|
||||
## Mindestanforderungen
|
||||
- PHP Version
|
||||
- 5.6.x bis 7.1.x
|
||||
- PHP Encoder
|
||||
- installierter ionCube Loader
|
||||
- Shopversion
|
||||
- OXID eShop Professional Edition in Version 6.x
|
||||
- oder OXID eShop Enterprise Edition in Version 6.x
|
||||
- [D³-Modul-Connector](https://www.oxidmodule.com/Connector/) (kostenfrei bei D³ erhältlich) ab Version 5.1.0.0
|
||||
- [D³-Heidelpay Premuim Edition](https://www.oxidmodule.com/OXID-eShop/Module/Heidelpay-Integrator-fuer-Oxid-PE.html) ab Version 6.0.1.0
|
||||
- Installation via [Composer](https://getcomposer.org/)
|
||||
|
||||
## Wichtige Hinweise
|
||||
##### Modulversion 1.0.0.0
|
||||
Das Modul unterstütz derzeit nur das Flow-Theme Version v3.0.0
|
||||
|
||||
## Neuinstallation
|
||||
##### 1. Paketquelle hinzufügen
|
||||
Starten Sie die Konsole Ihres Webservers und wechseln in das Hauptverzeichnis Ihres
|
||||
Shops (oberhalb des "source"- und "vendor"-Verzeichnisses). Senden Sie dort
|
||||
diesen Befehl ab:
|
||||
```composer config repositories.D3modules composer https://satis.oxidmodule.com```
|
||||
Benötigt Ihre Installation einen anderen Aufruf von Composer, ändern Sie den Befehl
|
||||
bitte entsprechend ab.
|
||||
|
||||
##### 2. Modul zur Installation hinzufügen
|
||||
Führen Sie in der Konsole im selben Verzeichnis diesen Befehl aus, um Heidelpay Payolution
|
||||
zur Installation hinzuzufügen:
|
||||
```composer require d3/heidelpay_payolution –-update-no-dev```
|
||||
Benötigt Ihre Installation einen anderen Aufruf von Composer, ändern Sie den Befehl
|
||||
bitte entsprechend ab.
|
||||
|
||||
Für weitere Optionen dieses Befehls lesen Sie bitte die
|
||||
[Dokumentation von Composer](https://getcomposer.org/doc/03-cli.md#require).
|
||||
|
||||
##### 3. Providerspezifische Installation
|
||||
Manche Provider erfordern besondere Einstellungen für installierte Module. Ob Ihr
|
||||
Anbieter spezielle Anforderungen stellt und wie diese aussehen, kontrollieren Sie bitte
|
||||
unter [FAQ](http://faq.oxidmodule.com/Modulinstallation/providerspezifische-Installation/).
|
||||
|
||||
##### 4. Modul im Shop aktivieren
|
||||
Aktivieren Sie das Modul über den Shopadmin */Erweiterungen/Module/*.
|
||||
Klicken Sie nach Auswahl von *"D³ Heidelpay Payolution Addon"* auf den Button *"Aktivieren"*.
|
||||
|
||||
**Wichtig für Enterprise Edition:**
|
||||
Achten Sie darauf, dass das Modul in weiteren Shops
|
||||
(Mall) ebenfalls aktiviert werden muss, um dessen
|
||||
Funktion dort auch zu nutzen.
|
||||
|
||||
##### 5. Shopanpassungen installieren
|
||||
Direkt nach der Modulaktivierung startet der Installationsassistent, der Sie durch die
|
||||
Shopanpassung führt. Darin können Sie verschiedene Optionen der Installation
|
||||
wählen.
|
||||
Den Installationsassistenten finden Sie auch unter den Menüpunkten */Admin/D3 Module/Modul-Connector/Modulverwaltung/Modulinstallation/*.
|
||||
|
||||
Bei tiefgreifenden Änderungen an Ihrem Shop (z.B. Hinzufügen weiterer Sprachen
|
||||
oder Mandanten) rufen Sie den Installationsassistenten bitte erneut auf, um dann
|
||||
eventuell notwendige Nacharbeiten für das Modul ausführen zu lassen.
|
||||
|
||||
Möchten Sie die Änderungen manuell installieren, können Sie sich über diesen
|
||||
Assistenten ebenfalls eine Checkliste erstellen.
|
||||
|
||||
##### 6. TMP-Ordner leeren
|
||||
Leeren Sie das Verzeichnis "tmp" über */Admin/D3 Module/Modul-Connector/TMP leeren/*.
|
||||
Markieren Sie *"komplett leeren"* und klicken auf *"TMP leeren"*.
|
||||
Sofern die Views nicht automatisch aktualisiert werden, führen Sie dies noch durch.
|
||||
Erfordert Ihre Installation eine andere Vorgehensweise zum Leeren des Caches oder
|
||||
zum Aktualisieren der Datenbank-Viewtabellen, führen Sie diese bitte aus.
|
||||
|
||||
##### 7. Lizenzschlüssel eintragen
|
||||
Das Modul verwendet Lizenzschlüssel vom Modul D³ Heidelpay.
|
||||
Besuchen Sie unseren [Moduleshop](http://www.oxidmodule.com/), um mehr darüber zu erfahren.
|
||||
Rufen Sie zum Anfordern des Lizenzschlüssels die Modulverwaltung im Adminbereich
|
||||
unter */D3 Module/Modul-Connector/Modulverwaltung/* auf.
|
||||
Klappen Sie den Eintrag des jeweiligen Moduls aus. Sofern erforderlich, können Sie
|
||||
hier den Lizenzassistenten starten, der schnell und einfach ihr Modul aktiviert.
|
||||
|
||||
##### 8. Konfiguration einstellen
|
||||
Im Admin wird ein neuer Punkt */D3 Module/Heideplay/Einstellungen/Payolution/* gezeigt, unter
|
||||
dem alle Einstellungsmöglichkeiten zu finden sind.
|
||||
|
||||
##### 9. Updatefähigkeit
|
||||
Bei individuellen Änderungen von Moduldateien empfehlen wir, jeweils die
|
||||
Überladungsmöglichkeiten des Shops dafür zu verwenden. So brauchen Sie die
|
||||
originalen Moduldateien nicht verändern und erhalten sich so die Updatefähigkeit des
|
||||
Shops und des Moduls.
|
||||
|
||||
Weitere Informationen zu den Überladungsmöglichkeiten verschiedener Dateien
|
||||
finden Sie in unserer [FAQ](http://faq.oxidmodule.com/Modulinstallation/Modulanpassungen/).
|
||||
|
||||
## Update
|
||||
##### 1. Connector kontrollieren
|
||||
Kontrollieren Sie bitte die Version unseres Modul-Connectors im Adminbereich unter
|
||||
*/D3 Module/Modul-Connector/* auf Updates.
|
||||
|
||||
##### 2. Modul deaktivieren
|
||||
Deaktivieren Sie das Modul über den Shopadmin */Erweiterungen/Module/*.
|
||||
Klicken Sie nach Auswahl von *"D³ Heidelpay Payolution Addon"* auf den Button *"Deaktivieren"*.
|
||||
|
||||
##### 3. Dateien erneuern
|
||||
Starten Sie die Konsole Ihres Webservers und wechseln in das Hauptverzeichnis Ihres
|
||||
Shops (oberhalb des source/ - und vendor/ - Verzeichnisses). Senden Sie dort
|
||||
diesen Befehl ab:
|
||||
```composer update d3/heidelpay_payolution –-no-dev```
|
||||
|
||||
Benötigt Ihre Installation einen anderen Aufruf von Composer, ändern Sie den Befehl
|
||||
bitte entsprechend ab.
|
||||
|
||||
Für weitere Optionen dieses Befehls lesen Sie bitte die
|
||||
[Dokumentation von Composer](https://getcomposer.org/doc/03-cli.md#update).
|
||||
|
||||
##### 4. Providerspezifische Installation
|
||||
Manche Provider erfordern besondere Einstellungen für installierte Module. Ob Ihr
|
||||
Anbieter spezielle Anforderungen stellt und wie diese aussehen, kontrollieren Sie
|
||||
bitte unter http://faq.oxidmodule.com/Modulinstallation/providerspezifische-Installation/.
|
||||
|
||||
##### 5. Modul aktivieren
|
||||
Wechseln Sie im Adminbereich zu */Erweiterungen/Module/*. Klicken Sie
|
||||
nach Auswahl von *"D³ Heidelpay"* auf den Button *"Aktivieren"*.
|
||||
|
||||
##### 6. Shopanpassungen installieren
|
||||
Ob Shopanpassungen notwendig sind, ist von der Versionsänderung des Moduls
|
||||
abhängig.
|
||||
Möglicherweise sehen Sie nach dem Neuaktivieren des Moduls den
|
||||
Installationsassistent, der Sie durch die Änderungen führt. Folgen Sie dann den
|
||||
einzelnen Schritten. Möchten Sie die Änderungen manuell installieren, können Sie
|
||||
sich über diesen Assistenten ebenfalls eine Checkliste erstellen.
|
||||
Wird der Assistent nicht gezeigt (Sie sehen wieder die Modulübersicht), waren keine
|
||||
Anpassungen am Shop notwendig.
|
||||
|
||||
Ob erforderliche Updates ausgeführt werden sollen, können Sie jederzeit im
|
||||
Adminbereich unter */D3 Module/Modul-Connector/Modulverwaltung/Modulinstallation/* prüfen.
|
||||
|
||||
##### 7. TMP-Ordner leeren
|
||||
Leeren Sie das Verzeichnis *"tmp"* über */Admin/D3 Module/Modul-Connector/TMP leeren/*.
|
||||
Markieren Sie *"komplett leeren"* und
|
||||
klicken auf *"TMP leeren"*.
|
||||
Sofern die Views nicht automatisch aktualisiert werden, führen Sie dies noch durch.
|
||||
Erfordert Ihre Installation eine andere Vorgehensweise zum Leeren des Caches oder
|
||||
zum Aktualisieren der Datenbank-Viewtabellen, führen Sie diese bitte aus
|
||||
|
||||
|
||||
## Deinstallation
|
||||
##### 1. Modulerweiterungen (sofern vorhanden) deaktivieren und entfernen
|
||||
Deaktivieren Sie alle vorhandenen Erweiterungen, die auf dem Modul *"D³
|
||||
Heidelpay Payolution Addon"* aufbauen und löschen bitte alle Dateien dieser Erweiterungen.
|
||||
Entfernen Sie ebenfalls alle individuellen Templateanpassungen für dieses Modul.
|
||||
|
||||
##### 2. Modul deaktivieren
|
||||
Deaktivieren Sie das Modul *"D³ Heidelpay Payolution Addon"* über den Shopadmin */Erweiterungen/Module/*.
|
||||
Klicken Sie nach Auswahl von *"D³ Heidelpay Payolution Addon"* auf den Button *"Deaktivieren"*.
|
||||
|
||||
##### 3. Modul aus der Installation entfernen
|
||||
Starten Sie die Konsole Ihres Webservers und wechseln in das Hauptverzeichnis Ihres
|
||||
Shops (oberhalb des source/ - und vendor/ - Verzeichnisses). Senden Sie dort
|
||||
diesen Befehl ab:
|
||||
```composer remove d3/heidelpay_payolution –-no-update```
|
||||
Benötigt Ihre Installation einen anderen Aufruf von Composer, ändern Sie den Befehl
|
||||
bitte entsprechend ab.
|
||||
|
||||
Für weitere Optionen dieses Befehls lesen Sie bitte die
|
||||
[Dokumentation von Composer](https://getcomposer.org/doc/03-cli.md#remove).
|
||||
|
||||
##### 4. Dateien löschen
|
||||
Löschen Sie den Ordner *"hppayolution/"* und seine enthaltenen Elemente aus dem
|
||||
Verzeichnis *"source/modules/d3/"* Ihres Shops.
|
||||
|
||||
## Hilfe und Support
|
||||
Bei Bedarf bieten wir Ihnen auch gern die Installation des Moduls in Ihrem Shop an. Geben Sie
|
||||
uns bitte unter den unten genannten Kontaktdaten Bescheid.
|
||||
Haben Sie Fragen oder Unklarheiten in Verbindung mit diesem Modul oder dessen
|
||||
Installation, stehen Ihnen Hilfetexte in unserer [Modul-FAQ](http://faq.oxidmodule.com/) zur
|
||||
Verfügung.
|
||||
Finden Sie darin die benötigten Antworten nicht, kontaktieren Sie uns bitte unter
|
||||
den folgenden Möglichkeiten:
|
||||
- per E-Mail: support@shopmodule.com oder
|
||||
- über das Kontaktformular auf http://www.oxidmodule.com/ oder
|
||||
- per Telefon: (+49) 37 21 – 26 80 90 zu unseren Bürozeiten
|
||||
|
||||
Geben Sie bitte an, wo und wie wir gegebenenfalls vorhandene Schwierigkeiten nachvollziehen
|
||||
können. Sind Ihre Fragen shopspezifisch, benötigen wir möglicherweise Zugangsdaten zum
|
||||
betreffenden Shop.
|
||||
|
||||
|
||||
Wir wünschen Ihnen mit Ihrem Shop und dem Modul viel Erfolg!
|
||||
Ihr D³-Team.
|
30
readme.md
Normal file
30
readme.md
Normal file
@ -0,0 +1,30 @@
|
||||
## D3 Heidelpay Payolution
|
||||
- Heidelpay Homepage: https://www.heidelpay.de
|
||||
- D³ Data Development: https://www.d3data.de/
|
||||
- Support: https://support.shopmodule.com
|
||||
|
||||
### Beschreibung
|
||||
Die Heidelpay GmbH bietet Händlern ein Zahlungssystem für alle gängigen
|
||||
Zahlungsverfahren für die Payment Abwicklung im Internet. Heidelpay ist
|
||||
Komplettlösungsanbieter für den Ecommerce Händler. Das bedeutet, dass Heidelpay
|
||||
als Member Service Provider (MSP) von Visa und Mastercard eCommerce Händler
|
||||
direkt einen Akzeptanzvertrag vergibt. Sie müssen keine zusätzlichen Gespräche mit einer
|
||||
Bank führen.
|
||||
|
||||
## Systemanforderungen:
|
||||
- installierter OXID eShop
|
||||
- PHP-Version, für die Installationspakete verfügbar sind
|
||||
- Installation via Composer
|
||||
- ionCubeLoader
|
||||
- D3 Modul Connector
|
||||
- D3 Heidelpay
|
||||
|
||||
Die jeweils geforderten Versionen und sonstige Anforderungen entnehmen Sie bitte der Dokumentation im docs-Verzeichnis dieses Paketes.
|
||||
Bitte lesen Sie dazu die PDF Datei: docs/Heidelpay_Installation.pdf
|
||||
|
||||
## Installation:
|
||||
Verwenden Sie zur Installation bitte immer unser Quellenverzeichnis unter https://satis.oxidmodule.com.
|
||||
Eine detaillierte Installationsanleitung finden Sie im docs-Verzeichnis dieses Pakets.
|
||||
|
||||
## Konfiguration
|
||||
Bitte lesen Sie dazu die PDF Datei: docs/Heidelpay_Konfiguration.pdf
|
112
src/Controllers/Admin/Settings.php
Normal file
112
src/Controllers/Admin/Settings.php
Normal file
@ -0,0 +1,112 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPwGxxOUPbTMePFXuf8/Df/cHCw+kSDFaQ/4X7Y7Uygm3lG/QobGZMdMY6aQXYBbyNFDsSIfK
|
||||
LKBeLZON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yry5Lpinf21DxiMTd/bkJUrvc+9A6gDYvfeswv4KB4B8Ruf9
|
||||
zXJMu6cQ/+fuk0Z7o87ZfxOJmu/vLChnf3EH0oyTcdld8futzUEQQVvaqK6xBmk2EVduX1SW942A
|
||||
HSyXynlK4Gbh6KLqo5m+jFX/6PPTXuS+5NW1SuevxaACZsHTsSx5n3KHhDIht6uZo0==
|
58
src/Models/Payment/Payolution.php
Normal file
58
src/Models/Payment/Payolution.php
Normal file
@ -0,0 +1,58 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPuX5d4pU1sLZfui9Rrxwr466cfJtP31L0iqFMJQzYixHwu2vWyQ/wK+8n2l3RgYsP5bLabus
|
||||
JcWqxst7fGtHox5+j1c2IwmwpsNwxYDfepymgZVYGAaSjdnBj63Q3m1Tb0ycGMRu+hAjUTnv7tFm
|
||||
mIbPearEAcbM41MUmtVQD/YXe3NwNfe1MsuFcqYdhEvGtxXdRwnP0GjvJ2uJOw+yeCowTLdgbpcB
|
||||
MSiE8vlpgwtzWT9YhCy3UCgKna1QmzH95WcC++hme98hjwp/peTvNsyXQv8Wq6gR3VzkiEkzvaYh
|
||||
YaBeVdF/03YwC8F7bdkTr4OevWlmgFmmvcEqiMFb39te99IODbwNmIkP5u6RfEacZq/cnouHeNUO
|
||||
zSS7IiWcCsqWLdUxh+tMQfs0GhvYLIWglRLfGPTQKQ15ZLO1vGet+wY+tcRB9SH14f/I6aYLKgCX
|
||||
0rk+MOlffLTq1kRqDbmFeuWaL1jGiFnlEngxaFLnCWIW0Ylwxw3eS1857DOIxwDoH0wY0GoeGeFk
|
||||
Dcm3k9a0WAh7NbDehU2dPCIa2AeEZsO2xHxljXf1Tgtw80l14jEh0uuUZa/VLZyAPzKvlEVOS8RX
|
||||
8UG27MwkAmDxR7HUPTDSmgS/cc4Y1QtwlhCYIF2f38j13kPyFwQkYxfRzRTSC1Ouosc1A8Qvehmk
|
||||
Dhzcv1MVETxbvgBoFNFZH28sPuWl3AYiEhbl5ribbZs2KPX/eovZ4JsGQzwGCe5R1vpfO7thcnQf
|
||||
UpbF8nNsoXqmjEINM6EoMAiHraAf8MUaED9Kq7uwz84ZQ6c39DhcwwdG+UnQaijaNfJZ6wsz7+5L
|
||||
haHAwJMUGLG4WPefSKGT68xU6L5iqBXWtuEfwbHlhf96Cpydpi7ijm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9yaTmKqtZuR1HTvwNHjKySA+gM2iD+yZztefvyvSjhhBhZQc7PDLyBVAOJlpcks
|
||||
cvgfm6oEaO29OKpBrlyhWjX5KJ6WBXwqTC7WjJJWAIV9YxOVfpQadVIRbcn3CGx+oh05yoXJ6zmN
|
||||
daUN+DwY0boW/0==
|
52
src/Models/Request/Payolution.php
Normal file
52
src/Models/Request/Payolution.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPqDXJ5D/vhHa1gpPSDF4rOOMGeep42bqZwkuMGHX/xXZLqHUXXODB4aKc9zEVbxpFIu3n7Ld
|
||||
VC/ajtQ6sVv4bsk1a35Ppowe+xqkvhmQJ4jOS7HuiqmCsWXUvNt+GPZjt9XTUidtlJaCUV7Gr1Ni
|
||||
zXBxh2nFROskCKvAmJdsvCq4F+3FWYBcoZPaS6rrDr5s9WqkMW8EbM9eJn8xrUq860YDcr06FVQO
|
||||
vA5LtWHvMyxuQnO1Gf+hL/fANHydP9LH+/uRyA2IAxUi/yw7ULzl8MkI87vaS7iA++wBABiNU8h2
|
||||
u7vS/qH/P5dKObcf6Tma00NpcKoVidcsVukKLcCsi92WEM8bI/XTC5LPmbETcdWo0LbVdOs/GFT1
|
||||
9UvpvGHN6Yu0JlqH0oNA+toJzp7Pt+Ljf7an1Ql6qrq34N615r5myauZX7ogqnL9dZ+VvuccfYv0
|
||||
H3xxGyqto+zzu3lo2Mc60iiinxacIym+BDR+mPW880w1MOA/PfliyXApikGHC/tDbvswyd3kXKM+
|
||||
DqWGsz3OWWNU26gkI27a6Z0Fy0Hcxf+rHj6YHizPtc9LU2EgbzHwzUIegE9yJIwFZYarK6+lerKe
|
||||
RiprvE27PYAAZELmiD5khfJHfYcNbIvnbKVaA/ZORqAJTM2tVcqY4f8vb1Qb+hSoOrvCtNPL39hX
|
||||
MnCQK3NR/LfMXbe+beoCtlb9tfHG5nxuPIvur42t8pisX1zz3g8V5OYZcS7ZAbzXhTHk92mYALD0
|
||||
xHDAyOqaDrO2LXT4Z0c3wGRUsR3SFrWbbezvz4mCW2cqIU1mzFIZrQV3R2u+ndizDwMZt9wucU+Z
|
||||
wQm8ZE/6IxB/WkbO3Jdr8/eprDdZgi+eBKgOMaPT04kgkpQJjFKnyiJnfhdqBm9SkPJhd8jCmkZv
|
||||
P81d5niL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sDSZ1AajeX9WuKBdOMbiHleYmUJBZfNymyINe71WfcdfSN+lw1l93mjX
|
||||
kAGwKf6RJa/JVerXEDPbZKSWHrtMxG9deyF5Z+9hMT3D0X/qH3HsUNXQIn3BQXWtRnInEJsCwx+1
|
||||
of+nJPJOk7BB9TixKoXoW+yvhHlwAbonX677MeRJ3/y0rg8OzWaPV6sdeoCINxPaiqqEZ6gdO0we
|
||||
PcwNo4b8lx4QyUlI2bMjeHg0be5zY1rGNizLmy0Lt+d+4HiLK3MOFNcm/I2fmXiESXPfbmgSqzap
|
||||
zi6w95jI4AUb22mSHYzlq5Y6HUulu4OFdWx7Xt5SaJYCV68gaqqsbhS1HxR4rEXZvfF08RH0yU85
|
||||
Em8sXrXVz+Bu/0ylGnKw4KEQRKg4epvuytSqiYJGBeCd08GSIp12KzZs0YVv/zVlJ4F0fsycjDzk
|
||||
6ZS52b0zVLJW7mKVO0pwYAopr13n4Lchmi8r3DDuM/fRSv+lfXX40L4eQLOXyvB1RxvSVPTFNFDl
|
||||
CzySSxat+wKRwipdq8RVGl2VAUe66q8+xViTdxiJsQppa28JT3H8/0abo13GaGwcx32Jc7S+Ei86
|
||||
/zTwuNSnnbWJXmlsOh4jX5AKvYmgAJS2B/OEjy8x+761yiM1rYRpGgZsrCEqQkGSkgrDVkEscIEi
|
||||
s5JFrHkwGx0Mz0==
|
28
src/Models/Verify/Phone.php
Normal file
28
src/Models/Verify/Phone.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPvjSW+bJfdVEAkmMoW4iOgQWx9EjL20ESA+uXiZFi7vWQZrm82JamKMRgxGS6t14i0aUIvQF
|
||||
9aDIaugIJCOZCnedhnwCy7zy/stMgc5Tn9LVA0GtukQZZanFRdtU2SHtPeExjoiRo1HHJpTvdGsU
|
||||
Ii0C4LHbbVHaTxLUiCvjc5AMoW38Yfm3M4CzT31UCA2yQqfYUwpY2FgQgWLN++1w2xMawjPXI/XP
|
||||
ZrmtZI5s9oYuf3kLOoXXEQKi5mHgi1xndzx1yA2IAxUi/yw7ULzl8MkI8CrY18pkWoiU1kJt2eh2
|
||||
vNuT/t/rLSGpQQPLZV2HvjEHra7pqNvxGcsLTsGsfa9UdeUHhwFIVK9OGphhUl+CXXmA1ri+KlkW
|
||||
sRauwpAwoHqFGeHlx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7HvTAAl6QPl5TFMoLZ0KdIuZbd+cdYaSkbhEaIFw4WkR8xeK29aA1WkCQ+t7q+uHtXE1
|
||||
zcrg9EQ9MfBsRQk17D8IZgreXGdwgwmaC01Hdxj3DRtRqb0kxZq4yABWwZ+4RO1eJcn8idO64VIT
|
||||
3hPFE7a7FrxCXKbVYjJHxH96hOCawtP/DdRZK2RyEiv3133isFA7f8qPY42NmCeILlGoNjYHA9RZ
|
||||
d5DNMArU0YvS2gdmPBo5CBAfMujsXjj8ENMx60hZctWWp+oOxEoCcYzANlaffCZJ1D94XG9SMzDw
|
||||
OhYU4ImeYKAdy2dRLwHcz05OiRpb0KZ/FO55paVyA+VVS6kJum15GygPaktNVQo5++v6h3WMD+uo
|
||||
lvX5mR778DsC+lGkZLF4+JysNZSVk27rz86atgL8+QEg6sFx5lvFhPvRNU5UyhTg4Ah19ydv
|
68
src/Modules/Controller/HeidelpayOrder.php
Normal file
68
src/Modules/Controller/HeidelpayOrder.php
Normal file
@ -0,0 +1,68 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPmouhnFaBHGayN4wC8lDtMIqn2eBtAzHPO2uWkS74OwQwpsYKaFe79U59Kcc9nsCvXDcE2q4
|
||||
ttbyVSnRbGEWSQVL1lsoaAjz7JFlo4Q8cHZseAXpPNRMbPmXwdzyhgaj2Ua0OMFe1ZdMWjFA8Pb7
|
||||
VKj3uwypg62rov/0mhm9Pz0oZrRLhPsLO54Jrwi4bIWQBZf1FwIgLbqh+X52lVL6ubxrtMbIAON7
|
||||
8HxUSOKsEYroycwnuJNrE2p/ffbWrTPLRr/YyA2IAxUi/yw7ULzl8MkI83HdUPoiBFgd82Lju8h2
|
||||
uNvvw6sgIDIFgM6F3TGArIlphyMOQeNp9cxXP+aabClM+ZRdENxKNYfickyM9FWRHm11rCQDk60C
|
||||
5jw7wAo5OZCpk2qzHvttp2PQA4VzAVA2gD4hM6bSE+h4bcrW/jrhgKOqdql6FVsXXe9V8LFi1Bc9
|
||||
FuSPwvGoWmJQjEL9H7ekLNWntCbz3VHN6djx2qH/DyKDrl8zmejtIFdDMd4SrhHjB144kHxJCqjW
|
||||
a522DwornKJl2lEaQG+98vvBWZLipCmzik8Kc3Ghe50V1qEUcUqKNCQAPW8l07BlQRY+3BScCKAV
|
||||
UJq4elWoODwPFaKMMGGj4ey+b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q8cicpGe8Ji8
|
||||
RgoX/vWa1E+0b+II0T8QqIU13k9CE/mGR2Juui6PU6LRBXIyFW3+9rf2mc+JaGimUXEB4P9w7wEX
|
||||
i3UxUFUXjIeN8Yhs9PWewZxOODCRC5YUPYpk++qJy08df2YVKmawAK8RbawATJXtEXtU/cHHgpY4
|
||||
Q5K=
|
368
src/Modules/Controller/PaymentController.php
Normal file
368
src/Modules/Controller/PaymentController.php
Normal file
@ -0,0 +1,368 @@
|
||||
<?php
|
||||
|
||||
namespace D3\Hppayolution\Modules\Controller;
|
||||
|
||||
use D3\Heidelpay\Models\Factory;
|
||||
use D3\Heidelpay\Models\Payment\Exception\PaymentNotReferencedToHeidelpayException;
|
||||
use D3\Heidelpay\Models\Payment\Payment;
|
||||
use D3\Heidelpay\Models\Settings\Heidelpay;
|
||||
use D3\Heidelpay\Models\Viewconfig;
|
||||
use D3\Hppayolution\Models\Payment\Payolution;
|
||||
use D3\Hppayolution\Models\Request\Payolution as RequestPayolution;
|
||||
use D3\Hppayolution\Models\Verify\Phone;
|
||||
use D3\ModCfg\Application\Model\Configuration\d3_cfg_mod;
|
||||
use D3\ModCfg\Application\Model\Log\d3log;
|
||||
use OxidEsales\Eshop\Application\Model\Basket as OxidBasket;
|
||||
use OxidEsales\Eshop\Application\Model\Country;
|
||||
use OxidEsales\Eshop\Application\Model\Payment as OxidPayment;
|
||||
use OxidEsales\Eshop\Core\Exception\StandardException;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
use OxidEsales\Eshop\Core\Request;
|
||||
|
||||
/**
|
||||
*/
|
||||
class PaymentController extends PaymentController_parent
|
||||
{
|
||||
|
||||
/**
|
||||
* Injects the Trusted Shops Excellence protection into the POST superglobal
|
||||
*
|
||||
* @return mixed
|
||||
* @throws StandardException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
*/
|
||||
public function validatePayment()
|
||||
{
|
||||
$return = parent::validatePayment();
|
||||
|
||||
if (empty($return) || false === stristr($return, 'order')) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
$paymentId = $this->getD3PaymentId();
|
||||
if (false == $paymentId) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$heidelPayment = $this->d3GetHeidelPayment($paymentId);
|
||||
|
||||
if ($heidelPayment instanceof Payolution) {
|
||||
return $this->handleD3HeidelpayPayolution($paymentId);
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param OxidPayment $oxidPayment
|
||||
* @param string $sTemplate
|
||||
*
|
||||
* @return string
|
||||
* @throws PaymentNotReferencedToHeidelpayException
|
||||
* @throws StandardException
|
||||
* @throws \D3\Heidelpay\Models\Settings\Exception\EmptyPaymentlistException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
*/
|
||||
public function d3GetPaymentFormTemplateName(OxidPayment $oxidPayment, $sTemplate = '')
|
||||
{
|
||||
if (empty($sTemplate)) {
|
||||
$sTemplate = d3_cfg_mod::get('d3heidelpay')->getMappedThemeId();
|
||||
}
|
||||
|
||||
$sTemplate = strtolower($sTemplate);
|
||||
|
||||
/** @var Viewconfig $oHeidelpayViewConfig */
|
||||
$oHeidelpayViewConfig = oxNew(
|
||||
Viewconfig::class,
|
||||
d3_cfg_mod::get('d3heidelpay'),
|
||||
Registry::get(Registry::class),
|
||||
oxNew(Factory::class, d3_cfg_mod::get('d3heidelpay'))
|
||||
);
|
||||
$oHeidelPaySettings = $oHeidelpayViewConfig->getSettings();
|
||||
$return = $this->d3GetDefaultPaymentFormTemplateName($oxidPayment);
|
||||
if ($oHeidelPaySettings->isAssignedToHeidelPayment($oxidPayment)) {
|
||||
$oHeidelPayment = $oHeidelPaySettings->getPayment($oxidPayment);
|
||||
if ($oHeidelPayment instanceof Payolution) {
|
||||
/** @var Payolution $oHeidelPayment */
|
||||
$return = $oHeidelPayment->getDefaultTemplateName($sTemplate);
|
||||
}
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @throws PaymentNotReferencedToHeidelpayException
|
||||
* @throws StandardException
|
||||
* @throws \D3\Heidelpay\Models\Settings\Exception\EmptyPaymentlistException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
$mReturn = parent::render();
|
||||
|
||||
$this->addTplParam('showD3PayolutionError', false);
|
||||
$this->addTplParam('blD3HeidelpayPayolutionRequirePhone', false);
|
||||
$this->addTplParam(
|
||||
'blD3HeidelpayAllowPayolution',
|
||||
$this->isHeidelpayPayolutionAllowed($this->getSession()->getBasket())
|
||||
);
|
||||
|
||||
$heidelPayment = $this->d3GetHeidelPayment($this->getD3PaymentId());
|
||||
if ($heidelPayment instanceof Payolution) {
|
||||
$payolutionerror = Registry::getSession()->getVariable('payolutionerror');
|
||||
if ($payolutionerror) {
|
||||
Registry::getSession()->deleteVariable('payolutionerror');
|
||||
|
||||
$translation = Registry::getLang()->translateString($payolutionerror);
|
||||
$this->addTplParam('showD3PayolutionError', true);
|
||||
$this->addTplParam('showD3PayolutionErrorText',$translation);
|
||||
}
|
||||
}
|
||||
|
||||
$sCountryId = $this->getUser()->getFieldData('oxcountryid');
|
||||
|
||||
/** @var $oCountry Country * */
|
||||
$oCountry = oxNew(Country::class);
|
||||
if ($oCountry->load($sCountryId) && $oCountry->getFieldData('oxisoalpha2') == 'NL') {
|
||||
$this->addTplParam('blD3HeidelpayPayolutionRequirePhone', true);
|
||||
}
|
||||
|
||||
return $mReturn;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param OxidBasket $oxidBasket
|
||||
*
|
||||
* @return bool
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
*/
|
||||
public function isHeidelpayPayolutionAllowed(OxidBasket $oxidBasket)
|
||||
{
|
||||
$currency = $oxidBasket->getBasketCurrency();
|
||||
if (false == $this->isPaymentAllowedForCountryAndCurrency('CH', $currency->name)
|
||||
&& false == $this->isPaymentAllowedForCountryAndCurrency('DE', $currency->name)
|
||||
&& false == $this->isPaymentAllowedForCountryAndCurrency('AT', $currency->name)
|
||||
&& false == $this->isPaymentAllowedForCountryAndCurrency('NL', $currency->name)
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/** @var Payolution $PayolutionPayment */
|
||||
$PayolutionPayment = oxNew(Payolution::class);
|
||||
$oxPrice = $oxidBasket->getPrice();
|
||||
$price = $oxPrice->getPrice();
|
||||
$minPrice = $PayolutionPayment->getMinimumLimit();
|
||||
$maxPrice = $PayolutionPayment->getMaximumLimit();
|
||||
|
||||
if (false == ($price >= $minPrice && $maxPrice >= $price)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $paymentId
|
||||
*
|
||||
* @return bool|Payment
|
||||
* @throws PaymentNotReferencedToHeidelpayException
|
||||
* @throws StandardException
|
||||
* @throws \D3\Heidelpay\Models\Settings\Exception\EmptyPaymentlistException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
*/
|
||||
public function d3GetHeidelPayment($paymentId)
|
||||
{
|
||||
$oxidPayment = oxNew(OxidPayment::class);
|
||||
$oxidPayment->load($paymentId);
|
||||
|
||||
$heidelPaySettings = oxNew(Heidelpay::class, d3_cfg_mod::get('d3heidelpay'));
|
||||
if (false == $heidelPaySettings->isAssignedToHeidelPayment($oxidPayment)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $heidelPaySettings->getPayment($oxidPayment);
|
||||
}
|
||||
|
||||
protected function d3HeidelpaySetErrorMessage(Factory $factory)
|
||||
{
|
||||
$heidelPayment = $this->d3GetHeidelPayment($this->getD3PaymentId());
|
||||
if (false == ($heidelPayment instanceof Payolution)) {
|
||||
parent::d3HeidelpaySetErrorMessage($factory);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $paymentId
|
||||
*
|
||||
* @return bool
|
||||
* @throws StandardException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseException
|
||||
*/
|
||||
protected function handleD3HeidelpayPayolution($paymentId)
|
||||
{
|
||||
$registry = Registry::get(Registry::class);
|
||||
$payolutionTransactionIds = $registry::get(Request::class)->getRequestParameter(
|
||||
'd3heidelpayPayolutionTransactionLogid'
|
||||
);
|
||||
|
||||
if (false == is_array($payolutionTransactionIds) || empty($payolutionTransactionIds[$paymentId])) {
|
||||
// log message
|
||||
d3_cfg_mod::get('d3heidelpay')->d3getLog()->log(
|
||||
d3log::WARNING,
|
||||
__CLASS__,
|
||||
__FUNCTION__,
|
||||
__LINE__,
|
||||
'payolution checkbox not checked but required',
|
||||
'user didn\'t checked the configuration text. paymentid: ' . var_export($paymentId, true)
|
||||
);
|
||||
$registry::getSession()->setVariable('payolutionerror', 'D3HEIDELPAY_PAYMENT_PAYOLUTION_MISSINGCONFIGCHECK');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$birthdate = $registry::get(Request::class)->getRequestParameter('d3birthdate');
|
||||
$birthdate[$paymentId]['year'] = $birthdate[$paymentId]['Date_Year'];
|
||||
if ($this->d3ValidateBirthdateInput($birthdate, $paymentId)) {
|
||||
// log message
|
||||
d3_cfg_mod::get('d3heidelpay')->d3getLog()->log(
|
||||
d3log::WARNING,
|
||||
__CLASS__,
|
||||
__FUNCTION__,
|
||||
__LINE__,
|
||||
'birthdate is empty but required',
|
||||
'user didn\'t set the birthdate for invoice payment. input: ' . var_export($birthdate, true)
|
||||
);
|
||||
$registry::getSession()->setVariable('payolutionerror', 'D3HEIDELPAY_PAYMENT_PAYOLUTION_MISSINGBIRTHDATE');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$sBefore18Years = mktime(0, 0, 0, date('n'), date('j'), date('Y') - 18);
|
||||
$birthdateTimestamp = strtotime("{$birthdate[$paymentId]['year']}-{$birthdate[$paymentId]['month']}-{$birthdate[$paymentId]['day']}");
|
||||
if ($sBefore18Years < $birthdateTimestamp) {
|
||||
// log message
|
||||
d3_cfg_mod::get('d3heidelpay')->d3getLog()->log(
|
||||
d3log::WARNING,
|
||||
__CLASS__,
|
||||
__FUNCTION__,
|
||||
__LINE__,
|
||||
'birthdate is set, but too young',
|
||||
'user set birthdate for invoice payment. input: ' . var_export($birthdate, true)
|
||||
);
|
||||
$registry::getSession()->setVariable('payolutionerror', 'D3HEIDELPAY_PAYMENT_PAYOLUTION_FSK18BIRTHDATE');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->getUser()->assign(
|
||||
array('oxbirthdate' => $birthdate[$paymentId])
|
||||
);
|
||||
|
||||
$sCountryId = $this->getUser()->getFieldData('oxcountryid');
|
||||
|
||||
/** @var $oCountry Country * */
|
||||
$oCountry = oxNew(Country::class);
|
||||
if ($oCountry->load($sCountryId) && $oCountry->getFieldData('oxisoalpha2') == 'NL') {
|
||||
$phone = $registry::get(Request::class)->getRequestParameter('d3phone');
|
||||
$phoneVerifier = oxNew(Phone::class, $registry, $phone, $paymentId);
|
||||
if (false == $phoneVerifier->verify()) {
|
||||
// log message
|
||||
d3_cfg_mod::get('d3heidelpay')->d3getLog()->log(
|
||||
d3log::WARNING,
|
||||
__CLASS__,
|
||||
__FUNCTION__,
|
||||
__LINE__,
|
||||
'phone is empty but required',
|
||||
'user didn\'t set the phone for invoice payment. input: ' . var_export($phone, true)
|
||||
);
|
||||
$registry::getSession()->setVariable('payolutionerror', 'D3HEIDELPAY_PAYMENT_PAYOLUTION_MISSINGPHONEINPUT');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->getUser()->assign(
|
||||
array('oxfon' => $phone[$paymentId])
|
||||
);
|
||||
}
|
||||
|
||||
$this->getUser()->save();
|
||||
|
||||
return 'order';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $paymentId
|
||||
*
|
||||
* @return bool|array
|
||||
* @throws PaymentNotReferencedToHeidelpayException
|
||||
* @throws StandardException
|
||||
* @throws \D3\Heidelpay\Models\Settings\Exception\EmptyPaymentlistException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseException
|
||||
*/
|
||||
public function sendHeidelpayPayolutionRequest($paymentId)
|
||||
{
|
||||
if (false == $paymentId) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$heidelPayment = $this->d3GetHeidelPayment($paymentId);
|
||||
|
||||
if ($heidelPayment instanceof Payolution) {
|
||||
$factory = oxNew(Factory::class, d3_cfg_mod::get('d3heidelpay'));
|
||||
/** @var RequestPayolution $request */
|
||||
$request = oxNew(
|
||||
RequestPayolution::class,
|
||||
$heidelPayment,
|
||||
d3_cfg_mod::get('d3heidelpay'),
|
||||
Registry::get(Registry::class),
|
||||
$factory
|
||||
);
|
||||
$response = $request->sendRequest();
|
||||
|
||||
if ('ACK' !== $response->getResult()) {
|
||||
Registry::getSession()->setVariable('payolutionerror', 'D3HEIDELPAY_PAYMENT_PAYOLUTION_STANDARDERROR');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return [
|
||||
'configoptintext' => $response->getConfigOptinText(),
|
||||
'd3transactionlogid' => $response->getD3transactionlogid()
|
||||
];
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
82
src/Modules/Models/Email.php
Normal file
82
src/Modules/Models/Email.php
Normal file
@ -0,0 +1,82 @@
|
||||
<?php
|
||||
/**
|
||||
* This Software is the property of Data Development and is protected
|
||||
* by copyright law - it is NOT Freeware.
|
||||
* Any unauthorized use of this software without a valid license
|
||||
* is a violation of the license agreement and will be prosecuted by
|
||||
* civil and criminal law.
|
||||
* http://www.shopmodule.com
|
||||
*
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development <support@shopmodule.com>
|
||||
* @link http://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
namespace D3\Hppayolution\Modules\Models;
|
||||
|
||||
use D3\Heidelpay\Models\Settings\Heidelpay;
|
||||
use D3\Hppayolution\Models\Payment\Payolution;
|
||||
use D3\ModCfg\Application\Model\Configuration\d3_cfg_mod;
|
||||
use Doctrine\DBAL\DBALException;
|
||||
use OxidEsales\Eshop\Core\Exception\StandardException;
|
||||
|
||||
/**
|
||||
* class Email
|
||||
*/
|
||||
class Email extends Email_parent
|
||||
{
|
||||
protected $d3HppayolutionBccAddress;
|
||||
|
||||
/**
|
||||
* @param \D3\Heidelpay\Modules\Application\Model\Order $order
|
||||
* @param null $subject
|
||||
*
|
||||
* @return bool
|
||||
* @throws DBALException
|
||||
*/
|
||||
public function sendOrderEmailToUser($order, $subject = null)
|
||||
{
|
||||
// loading payment object
|
||||
$paymentId = $order->getFieldData('oxpaymenttype');
|
||||
$oxidPayment = oxNew(\OxidEsales\Eshop\Application\Model\Payment::class);
|
||||
|
||||
if (false == $oxidPayment->load($paymentId)) {
|
||||
return parent::sendOrderEmailToUser($order, $subject);
|
||||
}
|
||||
|
||||
try {
|
||||
/** @var Heidelpay $heidelPaySettings */
|
||||
$heidelPaySettings = oxNew(Heidelpay::class, d3_cfg_mod::get('d3heidelpay'));
|
||||
if (false == $heidelPaySettings->isAssignedToHeidelPayment($oxidPayment)) {
|
||||
return parent::sendOrderEmailToUser($order, $subject);
|
||||
}
|
||||
|
||||
$heidelpayment = $heidelPaySettings->getPayment($oxidPayment);
|
||||
if ($heidelpayment instanceof Payolution) {
|
||||
$this->d3HppayolutionBccAddress = d3_cfg_mod::get('d3heidelpay')->getValue('payolutionEMail');
|
||||
if (d3_cfg_mod::get('d3heidelpay')->getValue('d3heidelpay_blTestmode') || d3_cfg_mod::get('d3heidelpay')->isDemo()) {
|
||||
$this->d3HppayolutionBccAddress = d3_cfg_mod::get('d3heidelpay')->getValue('payolutionTestEMail');
|
||||
}
|
||||
}
|
||||
} catch (StandardException $e) {
|
||||
return parent::sendOrderEmailToUser($order, $subject);
|
||||
}
|
||||
|
||||
$return = parent::sendOrderEmailToUser($order, $subject);
|
||||
$this->d3HppayolutionBccAddress = null;
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param null $address
|
||||
* @param null $name
|
||||
*/
|
||||
public function setRecipient($address = null, $name = null)
|
||||
{
|
||||
if ($this->d3HppayolutionBccAddress) {
|
||||
$this->addBCC($this->d3HppayolutionBccAddress);
|
||||
}
|
||||
parent::setRecipient($address, $name);
|
||||
}
|
||||
}
|
78
src/Modules/Models/Factory.php
Normal file
78
src/Modules/Models/Factory.php
Normal file
@ -0,0 +1,78 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPnZxqI+nRIe0J31439urvxDop6ujmwwLjlr4w85Y79wsg1yrV4iJ+z/CRv9aVav/J27hW3/m
|
||||
rIXASaouTSh2I2r3rT7FT+7K196jCjNcIyoMeVfHQ6f7zy4Gird2u+E/SqpwLmU6wPFcX+Ncx2h0
|
||||
xz8szwm54HpicOKWvbJBjLGXJkbqc5iCjQvotjRfXfscXtF2sv86FvzJ4aXeE6woY90YkG72g5eY
|
||||
lWJjYU/8fnyMMfEpwwopJJAUh0H2C4LCKyy99l2WaYkthF/EXtbVRo5haY3WR7UDu/PIYDM2hhoA
|
||||
Gk1+3Y6m+VtKtfmh085k4Roh5zYMsrc7jFNNhaAvUVE9qPakfNME3dtT0+0EI0lLtoTAWgEIK0mY
|
||||
Icb5WAiFoe2J6TbVXoKimY047sU8VY1XbMshIIANKAmoEMvbAeXY/3eQzDFSuViCGp5koUimLedl
|
||||
TSrTvqAtymX2VuPI5iJlyhDK6Enng9OOBwZycIMGxviJbCTdSiL6K0cY6M2AWGcnNUig/arRt62H
|
||||
P3YCzxzbdoF6TDdkrONHUvGufmu7oxUdmyt5lEm6mvg6G+ctouJomRc9FG93jEC5cTKHpskHlA+y
|
||||
LC1+5gYb8rwmFO7IwU+aASbFn/6WS1/fClITXGMnzdeArX0m1KH7l/cSa8OBj6APc0pvbr02JPgm
|
||||
Sal7ile4QnRfBDEiv/EWvj/NGzcNAixX9sNzPhhQYf+6sekZeOXFLyaC67h3GgDhAxMHTESM1Uer
|
||||
noJVsXmmqY2a9eo9YgShgZdJBWVne66pXwDqpSC+O+NAYXKMc2mjlM+ihFrxPIWVcqw6UXnjuK64
|
||||
16M527m26SwVdDUVchziMA8sPLvWwbsFSGjs0HjEtFx0SiGNASFhVbmTZ4vExiqaWVMF+K/CRujf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UY
|
||||
m/Z8ZNYAw0y0nw3U3/x+Ua2IjMoOCfilbcd1mvRlLngOLhBmHfHHb/GxYlw5MCQvcCCk/PZMycJg
|
||||
+nf62v8K3gfERWxpI2D2rarjBKy4S0DqrV1vri5qV2rTKHIJk59HRYjwMnFSzzfz1pb6IpbJovkM
|
||||
0J80a9KmBHWU871NdP3EEtK81aqPtWeBDbCDFQp0IuepyUrCBeHXFSBzOF/vMzURUnAkUPoQmLll
|
||||
xkSSazU4aBM/dJ/lllRbJH1vVN/uQCxdwPcpSo+8KA9ql4TW9f52YslmLWT+VBvq4kYCKx7Rxt6t
|
||||
bpxiz93N1HjX/zs3GPw3ti79mBETPKG38jniVRf9sIyauX01OqxtromvYy1XLxlI/j2OCLM1B1fG
|
||||
z0Cf1KsdIYdkqw//cSZmyG7kgHjCuHh932YiNUq/P1znLvtiWZYD17OZ/cjNJ+E75en/98ZHDeHY
|
||||
YYSgT02Xt32PWCB5ft61BaQRG3EjOu4lAZBNtUaKO00Fzpsy4tGmU4l+iZeuZSYletpuf7SmiMa9
|
||||
w2ZY5zkWhVv8xgshePZwrmWNNKDsHEwtC/ucLOLlt09Tlm0B/TqLW3N8L6Vcf4kjXAhJFia6m5MB
|
||||
DBw/OpJNiT4o+t0ObdmaRbBuug+EyWKGSoSIsgNN9D5n9yBlS4anSHkpTTu6RI6NTH0gztvcr2NC
|
||||
w1FTJ72fFyg/vRPExmKCKY6ALsUONXN6kHAShfsbtudrGmVzjlexiJ0sfDFE6fK=
|
56
src/Modules/Models/Order.php
Normal file
56
src/Modules/Models/Order.php
Normal file
@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
namespace D3\Hppayolution\Modules\Models;
|
||||
|
||||
use D3\Heidelpay\Models\Containers\PrepaymentData;
|
||||
use D3\Heidelpay\Models\Payment\Exception\PaymentNotReferencedToHeidelpayException;
|
||||
use D3\Heidelpay\Models\Settings\Heidelpay;
|
||||
use D3\Hppayolution\Models\Payment\Payolution;
|
||||
use D3\ModCfg\Application\Model\Configuration\d3_cfg_mod;
|
||||
use OxidEsales\Eshop\Application\Model\Payment as OxidPayment;
|
||||
|
||||
/**
|
||||
*/
|
||||
class Order extends Order_parent
|
||||
{
|
||||
|
||||
/**
|
||||
* Returns bank transfer data if available
|
||||
*
|
||||
* @return \stdClass|null
|
||||
* @throws PaymentNotReferencedToHeidelpayException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3ShopCompatibilityAdapterException
|
||||
* @throws \D3\ModCfg\Application\Model\Exception\d3_cfg_mod_exception
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseConnectionException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
|
||||
* @throws \OxidEsales\Eshop\Core\Exception\StandardException
|
||||
*/
|
||||
public function getHeidelpayBankTransferData()
|
||||
{
|
||||
if (false == d3_cfg_mod::get('d3heidelpay')->isActive()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/** @var Heidelpay $oSettings */
|
||||
/** @var OxidPayment $oPayment */
|
||||
$oSettings = oxNew(Heidelpay::class, d3_cfg_mod::get('d3heidelpay'));
|
||||
$oPayment = oxNew(OxidPayment::class);
|
||||
$oPayment->load($this->getFieldData('oxpaymenttype'));
|
||||
if (false == $oSettings->isAssignedToHeidelPayment($oPayment)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$oHeidelpayment = $oSettings->getPayment($oPayment);
|
||||
|
||||
if ($oHeidelpayment instanceof Payolution) {
|
||||
/** @var PrepaymentData $oPrePaymentData */
|
||||
$oPrePaymentData = oxNew(PrepaymentData::class);
|
||||
|
||||
return $oPrePaymentData->getBankTransferData($this, 'IV.PA');
|
||||
}
|
||||
|
||||
return parent::getHeidelpayBankTransferData();
|
||||
}
|
||||
|
||||
}
|
30
src/Modules/Models/Prepaymentdata.php
Normal file
30
src/Modules/Models/Prepaymentdata.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPnnlwxfBi++z4jz+cPduQUjG/tVKbILmm/C2ym6sjRdKNx+Ch6oD21U27R6PyEMrzpDjwwfK
|
||||
O2mRN08jkHYsKSnZQBVi1R6L9o0wavY/egEHzUFRwpVS48QV9duA0u/r24siZJ66PPBl+M6NaHXI
|
||||
wb3BVAR/FUnv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Pgo58cA1ejFxPPxHRT7vl8uA6zMAv/g2E8kNQbaHrQpll91LRKA5vTuDC
|
||||
LI9v9lCZIroTg2vo2ocsJmllOhRkUdbi2cTiMuQRSzy+vAC21onklM+oRsTIjj9d53TXt090w0Sr
|
||||
Ba3RXBAHgAkSArIFCOU4a3y2x2QP3XlbVZZhA4IdcjRQOmjGIHsMHV/SwWTNNKXVJUv+s404qFPh
|
||||
fPToc9MxrAnH7SSsY9sCrq14rqbwFv7dCNTQ8/LgksiYQmhr/aTN4QniCp4hEkFXhI8OfM3w2hek
|
||||
hOJrFGzGTVrPDQpNjNZPlzERCPzgMri/T5gQQFwhxHSZTRsW2CV9ekM6jKdAExEvBy1tf+yTdSGO
|
||||
qk+oKY9AcwkHxIQMHSTuJ7OA+x99DVPOLg2GGIXhDapXxOXHhoZoCS3IPT3814SkoqLBPi2cG/J6
|
||||
RjK8AC/fq2qtilWpUFBAl81y2akrJtg1V5gLhPsWp0j3/WmLgd5PZuM7b/TvdbEmmeJoCHjUfiUm
|
||||
JnTvxmTfmwyZYiqqlj5f3In+me3W3Q5cNAPT+BdK/IBniYbhSHX4awVLi47zAJVZSjgf5pNHqQNc
|
||||
oyjA7OTi5xFXMdKd1jivI6quZhbijjBE8He0OHUgoK7aDaoTyAZLQu2T3R85HTmpSZ1CiFZtt61F
|
||||
ls2UBxnPGxMbXgKh33FedgEgxt28Ec1fl2JWbALM9TW/HnuU83CINFzjpEh27ojeCyRwdRc67+Km
|
||||
be+DlqKw02XfzBvIaQrwH6yLabS/O3WVOBeE7/6rWH2WgMFbaW==
|
28
src/Modules/Models/Settings.php
Normal file
28
src/Modules/Models/Settings.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php //006f5
|
||||
// This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Heidelpay_Payolution @version 1.0.0.0 PHP71 (19.06.2018) @author Kristian Hempel support@shopmodule.com @copyright (C) 2018, D3 Data Development @see http://www.shopmodule.com
|
||||
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo("Site error: the ".(php_sapi_name()=='cli'?'ionCube':'<a href="http://www.ioncube.com">ionCube</a>')." PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.\n\nPlease visit ".(php_sapi_name()=='cli'?'get-loader.ioncube.com':'<a href="http://get-loader.ioncube.com">get-loader.ioncube.com</a>')." for install assistance.\n\n");exit(199);
|
||||
?>
|
||||
HR+cPr2wMDJcXA4R/qaApVUzlUN/NKewEejqI+WP1eblvfNl03gvZzrz+h7r/052DQXU/4z4Nv2U
|
||||
XLOSNU9QsF6mmHHpQZMQR6UIksSn3uUfa0XW6XIrGYZyqMpK6e+crv4WFwNKZj854HOGrBIWrLWe
|
||||
nhBOhvW8k50V9XTPNzSgmYrn3yty+tibn+BAMMjAo3y8YhiMqYFcORDwpFW6tcnUyFqoSEt+h8vj
|
||||
MZLDDruSvWkHYoKHBQo4dX4L6XA7J/DlAPIRW/2WaYkthF/EXtbVRo5haY1hQF9JAX6MbIG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78YQ
|
||||
cQSP4YZ3CSJwuUlH2bDMkEm7fKWV7Z8gm3uzgYVuCLzcg+7bHQeBWkx9UV/5ka+0GiWLn0Y9gdHt
|
||||
B1UebFWmV5MnTaqiLe597rm2gDC2pXaXLVCrX/dsmtKsELt67T26CIZQCms/2GLyapE3lI28gHz/
|
||||
M0mn+fZzFMjA2dl8jJTrXzvq2vvqXPdVisevqh8I9/yMEdz8yXbgLKsKvR1S2Ttx3BJeEb/d83kO
|
||||
A4apgL7Q30G9w/hUwxCcYR8xIFr0WkkZi0a1fyCT3DgXaJzLZWm4ne6N5ybVVln09cS9DvumgAMo
|
||||
tB6F4BwVjOvW6BwSyamfLaHAZmvsDjMj3tjmfbLb8ztHyPWu/Eosc4z7/0DKELQc2MAnI2feRf+y
|
||||
KYoaeiFW9jjiH5MmwEOWAOSvYuBLLcg+FRlRFjRGvPhY217k9IqENfOI7oNHuyHUkJZjIWL0o4DK
|
||||
WFnlBvRRIHGVVbCCjwNGjqOuCPBj6jDYudMLYHV+g7rKd8JTd95d2XA5FiPQ+OOrtvFslyac2JC=
|
10
src/menu.xml
Normal file
10
src/menu.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-15"?>
|
||||
<OX>
|
||||
<OXMENU id="d3mxd3modules">
|
||||
<MAINMENU id="d3mxheidelpay">
|
||||
<SUBMENU id="d3mxheidelpay_settings" cl="d3_heidelpay_controllers_admin_base" list="d3_heidelpay_controllers_admin_adminlist" rights="malladmin">
|
||||
<TAB id="d3tbclheidelpay_settings_payolution" cl="d3_hppayolution_controllers_admin_settings"/>
|
||||
</SUBMENU>
|
||||
</MAINMENU>
|
||||
</OXMENU>
|
||||
</OX>
|
54
src/metadata.php
Normal file
54
src/metadata.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
use D3\Heidelpay\Controllers as HeidelpayController;
|
||||
use D3\Heidelpay\Models\Containers\PrepaymentData;
|
||||
use D3\Heidelpay\Models\Factory as HeidelpayFactory;
|
||||
use D3\Heidelpay\Models\Settings\Heidelpay as HeidelpaySettings;
|
||||
use D3\Hppayolution\Modules\Controller;
|
||||
use D3\Hppayolution\Modules\Models;
|
||||
use D3\ModCfg\Application\Model\d3utils;
|
||||
use OxidEsales\Eshop\Application\Controller as OxidController;
|
||||
use OxidEsales\Eshop\Application\Model\Order as OxidOrder;
|
||||
use OxidEsales\Eshop\Core\Email as OxidEmail;
|
||||
|
||||
$sMetadataVersion = '2.0';
|
||||
|
||||
$aModule = array(
|
||||
'id' => 'hppayolution',
|
||||
'title' => (class_exists(d3utils::class) ? d3utils::getInstance()->getD3Logo() : 'D³') . ' Heidelpay Payolution Addon',
|
||||
'description' => array(
|
||||
'de' => 'Das Modul ist ein Addon für das D³ Heidelpay Modul.<br>Die Integration der Premium Zahlungsart "Payolution".<br>Aktuell ist das Modul lediglich im Theme Flow oder einen Abkömmling einsetzbar.',
|
||||
'en' => '',
|
||||
),
|
||||
'thumbnail' => 'picture.png',
|
||||
'version' => '1.0.0.0',
|
||||
'author' => 'D³ Data Development, Inh. Thomas Dartsch',
|
||||
'email' => 'support@shopmodule.com',
|
||||
'url' => 'http://www.oxidmodule.com/',
|
||||
'events' => array(),
|
||||
'd3SetupClasses' => array(),
|
||||
'extend' => array(
|
||||
HeidelpayFactory::class => Models\Factory::class,
|
||||
HeidelpaySettings::class => Models\Settings::class,
|
||||
PrepaymentData::class => Models\Prepaymentdata::class,
|
||||
OxidEmail::class => Models\Email::class,
|
||||
OxidOrder::class => Models\Order::class,
|
||||
OxidController\PaymentController::class => Controller\PaymentController::class,
|
||||
HeidelpayController\Order::class => Controller\HeidelpayOrder::class,
|
||||
),
|
||||
'controllers' => array(
|
||||
'd3_hppayolution_controllers_admin_settings' => \D3\Hppayolution\Controllers\Admin\Settings::class,
|
||||
),
|
||||
'templates' => array(
|
||||
'd3_hppayolution_views_admin_tpl_settings.tpl' => 'd3/hppayolution/views/admin/tpl/settings.tpl',
|
||||
'd3_hppayolution_views_flow_tpl_payment_payolution.tpl' => 'd3/hppayolution/views/flow/tpl/payment/payolution.tpl',
|
||||
),
|
||||
'blocks' => array(
|
||||
|
||||
array(
|
||||
'template' => 'page/checkout/payment.tpl',
|
||||
'block' => 'checkout_payment_errors',
|
||||
'file' => '/views/blocks/checkout_payment_errors.tpl'
|
||||
),
|
||||
),
|
||||
);
|
24
src/translations/de/payolution_lang.php
Normal file
24
src/translations/de/payolution_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* This Software is the property of Data Development and is protected
|
||||
* by copyright law - it is NOT Freeware.
|
||||
* Any unauthorized use of this software without a valid license
|
||||
* is a violation of the license agreement and will be prosecuted by
|
||||
* civil and criminal law.
|
||||
* http://www.shopmodule.com
|
||||
*
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development <support@shopmodule.com>
|
||||
* @link http://www.oxidmodule.com
|
||||
*/
|
||||
$sLangName = "Deutsch";
|
||||
$aLang = array(
|
||||
'charset' => 'utf-8',
|
||||
'D3HEIDELPAY_PAYMENT_PAYOLUTION_NOTICE' => 'Diese Zahlungsart benötigt als Rechnungsland Deutschland (DE), Österreich (AT), Schweiz (CH) oder Niederlande (NL).'
|
||||
. ' Sowie einen Gesamtbetrag zwischen %s und %s Euro.',
|
||||
'D3HEIDELPAY_PAYMENT_PAYOLUTION_STANDARDERROR' => 'Diese Zahlung konnte nicht durchgeführt werden. Das kann unterschiedliche Gründe haben, wie etwa fehlerhafte Eingabedaten, eine unbekannte Adresse oder ein vorübergehendes technisches Problem. Bitte überprüfen Sie die angegebenen Daten oder wählen Sie ein anderes Zahlungsmittel.',
|
||||
'D3HEIDELPAY_PAYMENT_PAYOLUTION_MISSINGBIRTHDATE' => 'Das Geburtsdatum konnte nicht validiert werden. Bitte überprüfen Sie Ihre Angaben.',
|
||||
'D3HEIDELPAY_PAYMENT_PAYOLUTION_MISSINGPHONEINPUT' => 'Die Telefonnummer konnte nicht validiert werden. Bitte überprüfen Sie Ihre Angaben.',
|
||||
'D3HEIDELPAY_PAYMENT_PAYOLUTION_MISSINGCONFIGCHECK' => 'Bitte bestätigen Sie die Einwilligung für Payolution!',
|
||||
'D3HEIDELPAY_PAYMENT_PAYOLUTION_FSK18BIRTHDATE' => 'Sie müssen mind. 18 Jahre alt sein, um mit dieser Zahlungsart zu bestellen.',
|
||||
);
|
33
src/views/admin/de/hppayolution_lang.php
Normal file
33
src/views/admin/de/hppayolution_lang.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* This Software is the property of Data Development and is protected
|
||||
* by copyright law - it is NOT Freeware.
|
||||
* Any unauthorized use of this software without a valid license
|
||||
* is a violation of the license agreement and will be prosecuted by
|
||||
* civil and criminal law.
|
||||
* http://www.shopmodule.com
|
||||
*
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development <support@shopmodule.com>
|
||||
* @link http://www.oxidmodule.com
|
||||
*/
|
||||
$sLangName = "Deutsch";
|
||||
$aLang = array(
|
||||
'charset' => 'utf-8',
|
||||
'D3DYN_HEIDELPAY_PARAM_CHANNEL_PAYOLUTION' => 'Channel (Payolution)',
|
||||
'HELP_D3DYN_HEIDELPAY_PARAM_CHANNEL_PAYOLUTION' => 'Hilfetext zu Payolution',
|
||||
'd3tbclheidelpay_settings_payolution' => 'Payolution',
|
||||
'd3\hppayolution\models\payment\payolution' => 'Payolution',
|
||||
'D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMINIMUM' => 'Mindest-Bestellwert für Payolution',
|
||||
'HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMINIMUM' => 'Bitte prüfen Sie Ihren Vertrag auf die für Sie geltenden Grenzwerte.',
|
||||
'D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMAXIMUM' => 'Höchst-Bestellwert für Payolution',
|
||||
'HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMAXIMUM' => 'Bitte prüfen Sie Ihren Vertrag auf die für Sie geltenden Grenzwerte.',
|
||||
'D3DYN_HEIDELPAY_PARAM_PAYOLUTION_EMAIL' => 'Händler E-Mail Adresse',
|
||||
'D3DYN_HEIDELPAY_PAYOLUTION_MAIL_FORMAT' => 'Format: invoices-händlername@payolution.com.',
|
||||
'HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTION_EMAIL' => 'Bei einem E-Mail Versand von Bestellbestätigungen wird eine Blindkopie (BCC) an die Payolution hinzugefügt. Die konkrete E-Email-Adresse wird von der Payolution für den jeweiligen Händler festgelegt und hat das Format invoices-händlername@payolution.com.',
|
||||
'D3HEIDELPAY_PAYOLUTION_EXCEPTION_EMAIL_EMPTY' => 'Hinweis: E-Mail Adresse darf nicht leer sein!',
|
||||
'D3HEIDELPAY_PAYOLUTION_EXCEPTION_EMAIL_INVALID' => 'Hinweis: Bitte geben Sie eine gültige E-Mail Adresse ein!',
|
||||
'D3HEIDELPAY_PAYOLUTION_EXCEPTION_EMAIL_NOTPAYOLUTION' => 'Hinweis: Die E-Mail Adresse muss mit @payolution.com enden!',
|
||||
'D3DYN_HEIDELPAY_PARAM_PAYOLUTION_TESTEMAIL' => 'Test E-Mail Adresse',
|
||||
'HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTION_TESTEMAIL' => 'Die BCC E-Mail kann eine beliebige E-Mail Adresse sein und wird bei aktiviertem Testmodus genutzt.',
|
||||
);
|
216
src/views/admin/tpl/settings.tpl
Normal file
216
src/views/admin/tpl/settings.tpl
Normal file
@ -0,0 +1,216 @@
|
||||
[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]
|
||||
<style type="text/css">
|
||||
|
||||
td.edittext.disabled{ color:darkgrey; }
|
||||
td.edittext.disabled input{ border:1px solid lightgray; }
|
||||
td.edittext table.disabled,
|
||||
td.edittext legend.disabled{ color:darkgrey; }
|
||||
table{ background-color:white; }
|
||||
.groupExp dl dt{
|
||||
font-weight:normal;
|
||||
width:35%;
|
||||
padding-left:10px;
|
||||
}
|
||||
td.edittext fieldset,
|
||||
form fieldset{
|
||||
background:none;
|
||||
border:1px solid #ccc;
|
||||
padding:0 0 5px 5px;
|
||||
border-radius:3px;
|
||||
margin-bottom:2px;
|
||||
}
|
||||
</style>
|
||||
|
||||
[{if $readonly}]
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
[{else}]
|
||||
[{assign var="readonly" value=""}]
|
||||
[{/if}]
|
||||
|
||||
<!-- Errors and Messages -->
|
||||
[{assign var='hasMultilangConfigButNoSetting' value=$oView->hasMultilangConfigButNoSetting()}]
|
||||
[{if $hasMultilangConfigButNoSetting}]
|
||||
<fieldset>
|
||||
<div class="extension_error">
|
||||
[{oxmultilang ident="D3DYN_HEIDELPAY_HASMULTILANGCONFIGBUTNOSETTING"}]
|
||||
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_HASMULTILANGCONFIGBUTNOSETTING"}]
|
||||
</div>
|
||||
<form action="[{$oViewConf->getSelfLink()}]" method="post" id="multipleLanguages">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
|
||||
<table width="100%">
|
||||
<colgroup>
|
||||
<col width="50%">
|
||||
<col width="50%">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<span class="d3modcfg_btn fixed icon status_info" style="float:right;max-width:none;">
|
||||
<input type="submit"
|
||||
value="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_ALLOWMULTIPLELANGUAGES_REACTIVATE"}]"
|
||||
onclick="document.getElementById('multipleLanguages').fnc.value='resetAllowMultipleLanguages'">
|
||||
<span></span>
|
||||
</span>
|
||||
</td>
|
||||
<td align="center">
|
||||
<span class="d3modcfg_btn fixed icon status_info" style="max-width:none;">
|
||||
<input type="submit" class="edittext"
|
||||
value="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_REMOVEMULTIPLELANGUAGES"}]"
|
||||
onclick="document.getElementById('multipleLanguages').fnc.value='deleteMultiLangConfig'">
|
||||
<span></span>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</fieldset>
|
||||
[{/if}]
|
||||
|
||||
[{if $oHeidelpayViewConfig->isModuleDemoVersion()}]
|
||||
[{assign var='sDisableTestModus' value='disabled'}]
|
||||
<div class="extension_warning">[{oxmultilang ident="D3_HEIDELPAY_IS_DEMO"}]</div>
|
||||
[{/if}]
|
||||
[{if $edit->getErrorMessage()}]
|
||||
<div class="extension_error">[{$edit->getErrorMessage()}]</div>
|
||||
[{/if}]
|
||||
[{if $oView->hasOnlyBasicFunctions()}]
|
||||
[{assign var="blBasicRestriction" value="disabled"}]
|
||||
<div class="extension_warning">[{oxmultilang ident="D3_HEIDELPAY_RESTRICTIONINFO"}]</div>
|
||||
[{/if}]
|
||||
[{if $blCurlMissing}]
|
||||
<span style="color: red; ">[{oxmultilang ident="D3DYN_HEIDELPAY_NOCURL"}]</span>
|
||||
[{/if}]
|
||||
|
||||
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
</form>
|
||||
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post" [{$blBasicRestriction}]>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="oxid" value="[{$oxid}]">
|
||||
<input type="hidden" name="editval[d3_cfg_mod__oxid]" value="[{$oxid}]">
|
||||
<input type="hidden" name="editlanguage" value="[{$editlanguage}]">
|
||||
|
||||
<table cellspacing="2" cellpadding="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td class="edittext">
|
||||
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_CHANNEL_PAYOLUTION"}]
|
||||
</td>
|
||||
<td class="edittext">
|
||||
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_CHANNEL_PAYOLUTION"}]
|
||||
<input type="text"
|
||||
[{$blBasicRestriction}]
|
||||
class="editinput"
|
||||
name="value[d3_cfg_mod__d3heidelpay_sChannel__payolution]"
|
||||
id="d3_cfg_mod__d3heidelpay_sChannel__payolution"
|
||||
value="[{$edit->getValue('d3heidelpay_sChannel__payolution')}]"
|
||||
title="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_CHANNEL_PAYOLUTION"}]"
|
||||
style="width:220px;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">
|
||||
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMINIMUM"}]
|
||||
</td>
|
||||
<td class="edittext">
|
||||
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMINIMUM"}]
|
||||
[{assign var="payolutionLimitMinimum" value=$edit->getValue('payolutionLimitMinimum')}]
|
||||
<input type="text"
|
||||
[{$blBasicRestriction}]
|
||||
class="editinput"
|
||||
style="width:100px;"
|
||||
name="value[d3_cfg_mod__payolutionLimitMinimum]"
|
||||
title="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMINIMUM"}]"
|
||||
value="[{$payolutionLimitMinimum|default:"200"}]">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">
|
||||
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMAXIMUM"}]
|
||||
</td>
|
||||
<td class="edittext">
|
||||
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMAXIMUM"}]
|
||||
[{assign var="payolutionLimitMaximum" value=$edit->getValue('payolutionLimitMaximum')}]
|
||||
<input type="text"
|
||||
[{$blBasicRestriction}]
|
||||
class="editinput"
|
||||
style="width:100px;"
|
||||
name="value[d3_cfg_mod__payolutionLimitMaximum]"
|
||||
title="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTIONLIMITMAXIMUM"}]"
|
||||
value="[{$payolutionLimitMaximum|default:"5000"}]">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">
|
||||
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTION_EMAIL"}]
|
||||
</td>
|
||||
<td class="edittext">
|
||||
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTION_EMAIL"}]
|
||||
<input type="text"
|
||||
[{$blBasicRestriction}]
|
||||
class="editinput"
|
||||
style="width:100px;"
|
||||
name="value[d3_cfg_mod__payolutionEMail]"
|
||||
title="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTION_EMAIL"}]"
|
||||
value="[{$edit->getValue('payolutionEMail')}]"> [{oxmultilang ident="D3DYN_HEIDELPAY_PAYOLUTION_MAIL_FORMAT"}]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext">
|
||||
[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTION_TESTEMAIL"}]
|
||||
</td>
|
||||
<td class="edittext">
|
||||
[{oxinputhelp ident="HELP_D3DYN_HEIDELPAY_PARAM_PAYOLUTION_TESTEMAIL"}]
|
||||
<input type="text"
|
||||
[{$blBasicRestriction}]
|
||||
class="editinput"
|
||||
style="width:100px;"
|
||||
name="value[d3_cfg_mod__payolutionTestEMail]"
|
||||
title="[{oxmultilang ident="D3DYN_HEIDELPAY_PARAM_PAYOLUTION_TESTEMAIL"}]"
|
||||
value="[{$edit->getValue('payolutionTestEMail')}]">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="edittext"></td>
|
||||
<td class="edittext">
|
||||
<br>
|
||||
<input type="submit"
|
||||
[{$blBasicRestriction}]
|
||||
class="edittext"
|
||||
name="save"
|
||||
value="[{oxmultilang ident="GENERAL_SAVE"}]"
|
||||
onClick="document.myedit.fnc.value='save'" [{$readonly}]>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
[{if $blRefreshList}]
|
||||
[{oxscript add="top.oxid.admin.updateList();"}]
|
||||
[{/if}]
|
||||
|
||||
[{oxscript add='function _groupExp(el) {
|
||||
var _cur = el.parentNode;
|
||||
if (_cur.className == "exp") {
|
||||
_cur.className = "";
|
||||
} else {
|
||||
_cur.className = "exp";
|
||||
}
|
||||
}'}]
|
||||
|
||||
[{include file="d3_cfg_mod_inc.tpl"}]
|
||||
[{* NOTE: open div for oxids closing div ^^ *}]
|
||||
<div>
|
||||
[{include file="bottomitem.tpl"}]
|
||||
|
||||
|
||||
|
8
src/views/blocks/checkout_payment_errors.tpl
Normal file
8
src/views/blocks/checkout_payment_errors.tpl
Normal file
@ -0,0 +1,8 @@
|
||||
[{d3modcfgcheck modid="d3heidelpay"}]
|
||||
[{/d3modcfgcheck}]
|
||||
|
||||
[{if $mod_d3heidelpay && $showD3PayolutionError}]
|
||||
<div class="alert alert-danger">[{$showD3PayolutionErrorText}]</div>
|
||||
[{else}]
|
||||
[{$smarty.block.parent}]
|
||||
[{/if}]
|
127
src/views/flow/tpl/payment/payolution.tpl
Normal file
127
src/views/flow/tpl/payment/payolution.tpl
Normal file
@ -0,0 +1,127 @@
|
||||
[{assign var='oHeidelPaySettings' value=$oHeidelpayViewConfig->getSettings()}]
|
||||
[{assign var='oHeidelPayment' value=$oHeidelPaySettings->getPayment($paymentmethod)}]
|
||||
[{assign var="responseParameter" value=$oView->sendHeidelpayPayolutionRequest($sPaymentID)}]
|
||||
[{assign var='disableFields' value="disabled"}]
|
||||
|
||||
[{if $blD3HeidelpayHasSameAdresses && $blD3HeidelpayAllowPayolution}]
|
||||
[{assign var='disableFields' value=""}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="heidelpay_payolution"}]
|
||||
[{assign var="iBirthdayMonth" value=0}]
|
||||
[{assign var="iBirthdayDay" value=0}]
|
||||
[{assign var="iBirthdayYear" value=0}]
|
||||
|
||||
[{if $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00" && false == is_array($oxcmp_user->oxuser__oxbirthdate->value)}]
|
||||
[{assign var="iBirthdayMonth" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]/":""|regex_replace:'/[-]([0-9]{1,2})$/':""}]
|
||||
[{assign var="iBirthdayDay" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]([0-9]{1,2})[-]/":""}]
|
||||
[{assign var="iBirthdayYear" value=$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:'/[-]([0-9]{1,2})[-]([0-9]{1,2})$/':""}]
|
||||
[{assign var="birthdate" value=$oxcmp_user->oxuser__oxbirthdate->value}]
|
||||
[{elseif is_array($oxcmp_user->oxuser__oxbirthdate->value)}]
|
||||
[{assign var="iBirthdayMonth" value=$oxcmp_user->oxuser__oxbirthdate->value.month}]
|
||||
[{assign var="iBirthdayDay" value=$oxcmp_user->oxuser__oxbirthdate->value.day}]
|
||||
[{assign var="iBirthdayYear" value=$oxcmp_user->oxuser__oxbirthdate->value.year}]
|
||||
[{assign var="birthdate" value="`$iBirthdayYear`-`$iBirthdayMonth`-`$iBirthdayDay`"}]
|
||||
[{/if}]
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
<input type="radio"
|
||||
[{if $blD3HeidelpayHasSameAdresses && $blD3HeidelpayAllowPayolution}]
|
||||
id="payment_[{$sPaymentID}]"
|
||||
name="paymentid"
|
||||
value="[{$sPaymentID}]"
|
||||
[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]
|
||||
[{else}]
|
||||
[{$disableFields}]
|
||||
[{/if}]
|
||||
>
|
||||
<label for="payment_[{$sPaymentID}]">
|
||||
<b>[{$paymentmethod->oxpayments__oxdesc->value}]</b>
|
||||
</label>
|
||||
[{if false == $blD3HeidelpayHasSameAdresses}]
|
||||
<sup class="alert alert-danger d3HeidelaySameAddressNotice">[{oxmultilang ident="D3HEIDELPAY_PAYMENT_NOTSAMEADDRESS_NOTICE"}]</sup>
|
||||
[{/if}]
|
||||
[{if false == $blD3HeidelpayAllowPayolution}]
|
||||
[{assign_adv var="d3PayolutionLimits" value='array("'|cat:$oHeidelPayment->getMinimumLimit()|cat:'", "'|cat:$oHeidelPayment->getMaximumLimit()|cat:'")'}]
|
||||
<sup id="d3HeidelayPayolutionNotice"
|
||||
class="alert alert-danger desc d3HeidelaySameAddressNotice">[{oxmultilang ident="D3HEIDELPAY_PAYMENT_PAYOLUTION_NOTICE" args=$d3PayolutionLimits}]</sup>
|
||||
[{/if}]
|
||||
</dt>
|
||||
<dd class="[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]activePayment[{/if}]">
|
||||
[{if $paymentmethod->getPrice()}]
|
||||
[{assign var="oPaymentPrice" value=$paymentmethod->getPrice()}]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForPayCharge')}]
|
||||
([{oxprice price=$oPaymentPrice->getNettoPrice() currency=$currency}]
|
||||
[{if $oPaymentPrice->getVatValue() > 0}]
|
||||
[{oxmultilang ident="PLUS_VAT"}] [{oxprice price=$oPaymentPrice->getVatValue() currency=$currency}]
|
||||
[{/if}])
|
||||
[{else}]
|
||||
([{oxprice price=$oPaymentPrice->getBruttoPrice() currency=$currency}])
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
<div class="form-group oxDate">
|
||||
<label class="control-label col-xs-12 col-lg-3 req">
|
||||
[{oxmultilang ident="BIRTHDATE"}]
|
||||
[{if $oView->getPaymentError() == 1}]*[{/if}]
|
||||
</label>
|
||||
<div class="col-xs-3 col-lg-3">
|
||||
<select class="oxDay form-control" name="d3birthdate[[{$sPaymentID}]][day]"
|
||||
[{$disableFields}] required="">
|
||||
<option value="" label="-">-</option>
|
||||
[{section name="day" start=1 loop=32}]
|
||||
<option value="[{$smarty.section.day.index}]"
|
||||
label="[{$smarty.section.day.index}]"
|
||||
[{if $iBirthdayDay == $smarty.section.day.index}] selected="selected" [{/if}]>
|
||||
[{$smarty.section.day.index}]
|
||||
</option>
|
||||
[{/section}]
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-xs-6 col-lg-3">
|
||||
<select class="oxMonth form-control" name="d3birthdate[[{$sPaymentID}]][month]"
|
||||
[{$disableFields}] required="">
|
||||
<option value="" label="-">-</option>
|
||||
[{section name="month" start=1 loop=13}]
|
||||
<option value="[{$smarty.section.month.index}]"
|
||||
label="[{$smarty.section.month.index}]"
|
||||
[{if $iBirthdayMonth == $smarty.section.month.index}] selected="selected" [{/if}]>
|
||||
[{oxmultilang ident="MONTH_NAME_"|cat:$smarty.section.month.index}]
|
||||
</option>
|
||||
[{/section}]
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-xs-3 col-lg-3">
|
||||
[{html_select_date field_array="d3birthdate[`$sPaymentID`]" start_year='-80' time=$birthdate reverse_years=true
|
||||
end_year='-18' display_days=false display_months=false all_extra='class="oxYear form-control" required=""'|cat:$disableFields
|
||||
year_empty="-"}]
|
||||
</div>
|
||||
</div>
|
||||
[{if $blD3HeidelpayPayolutionRequirePhone}]
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3 req">[{oxmultilang ident="PHONE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input class="form-control js-oxValidate js-oxValidate_notEmpty" type="text" size="37"
|
||||
maxlength="128" name="d3phone[[{$sPaymentID}]]"
|
||||
value="[{if $oxcmp_user->getFieldData('oxfon')}][{$oxcmp_user->getFieldData('oxfon')}][{else}][{$oxcmp_user->oxuser__oxfon->value}][{/if}]"
|
||||
[{$disableFields}] required="">
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
<div class="alert alert-info">[{oxmultilang ident="COMPLETE_MARKED_FIELDS"}]</div>
|
||||
<div class="alert alert-info desc">
|
||||
<input type="hidden" name="d3heidelpayPayolutionTransactionLogid[[{$sPaymentID}]]" value="0" [{$disableFields}]/>
|
||||
<input type="checkbox" name="d3heidelpayPayolutionTransactionLogid[[{$sPaymentID}]]"
|
||||
[{$disableFields}] value="[{$responseParameter.d3transactionlogid}]"/>
|
||||
[{$responseParameter.configoptintext}]
|
||||
</div>
|
||||
|
||||
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
||||
<div class="alert alert-info desc">
|
||||
[{$paymentmethod->oxpayments__oxlongdesc->value}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</dd>
|
||||
</dl>
|
||||
[{/block}]
|
Loading…
Reference in New Issue
Block a user