diff --git a/.php_cs.dist b/.php_cs.dist
deleted file mode 100644
index a4750896..00000000
--- a/.php_cs.dist
+++ /dev/null
@@ -1,22 +0,0 @@
-in(__DIR__);
-return PhpCsFixer\Config::create()
- ->setUsingCache(false)
- ->setRules([
- '@PSR2' => true,
- '@Symfony' => true,
- 'no_useless_else' => true,
- 'no_useless_return' => true,
- 'ordered_class_elements' => true,
- 'ordered_imports' => true,
- 'phpdoc_order' => true,
- 'phpdoc_summary' => false,
- 'phpdoc_to_comment' => false,
- 'phpdoc_align' => false,
- 'phpdoc_var_without_name' => false,
- 'blank_line_after_opening_tag' => true,
- 'concat_space' => ['spacing' => 'one'],
- 'array_syntax' => ['syntax' => 'short']
- ])
- ->setFinder($finder)
-;
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 3ec9a1fe..00000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# Changelog Plentymarkets BS Payone Plugin
-
-## v1.0.9 (2018-04-10)
-* Changed user_guide alert Text
-
-## v1.0.8 (2018-25-09)
-* Changed Support Tab information
-* Updated Changelog
-
-## v1.0.7 (2018-20-09)
-
-* Updated config.json / new Pluginformat
-* Added Translations
-* Changed Userguide
-* Changed guzzle/httpguzzle Version in dependency for PayPal compatibility
-
-## v1.0.6 (2018-05-15)
-
-* enable Sofort display in frontend
-* enable Paydirekt display in frontend
-* enable invoice secure display in frontend
-* enable PayPal display in frontend
-* improve rendering of payment error popup
-
-## v1.0.5 (2018-04-06)
-
-* update Logos an plugin name
-
-## v1.0.4 (2018-03-27)
-
-* update documentation
-
-## v1.0.3 (2018-03-26)
-
-* add english documentation
-* use current payone php api
-
-## v1.0.2 (2018-03-21)
-
-* use Scriptloader to include payone scripts in template
-
-## v1.0.1 (2018-03-01)
-
-* update plugin documentation
-
-## v1.0.1 (2018-03-01)
-
-Plugin release supporting following payment methods:
-
-* invoice
-* pre payment
-* cash on delivery
-* debit payment
-* credit card
-* credit card 3DS
\ No newline at end of file
diff --git a/README.md b/README.md
index 0311d481..3b4bca97 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# BS Payone plugin for plentymarkets 7
+# PAYONE plugin for plentymarkets 7
## Plugin description and requirements
@@ -9,7 +9,7 @@ See the [plugin description](./meta/documents/user_guide_de.md) for the plentyma
The plugin has been developed for the Ceres template. The plugins IO and Ceres
are required and have to be active.
-Also, please configure your payment portal in your BS PAYONE PMI for sha2-384 hashes. The TransactionStatus URL follows this template:
+Also, please configure your payment portal in your PAYONE PMI for sha2-384 hashes. The TransactionStatus URL follows this template:
https://www.example.com/payone/status/
@@ -85,4 +85,4 @@ See the [changelog](./CHANGELOG.md).
## Need help?
-Please contact our technical support team at +49 259 68-500 or tech.support[at]bspayone.com
\ No newline at end of file
+Please contact our technical support team at +49 259 68-500 or tech.support[at]bspayone.com
diff --git a/build.xml b/build.xml
deleted file mode 100644
index a5eb6ec4..00000000
--- a/build.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/composer.json b/composer.json
index e018a1b5..364ff757 100644
--- a/composer.json
+++ b/composer.json
@@ -16,8 +16,5 @@
"type": "git",
"url": "https://github.com/plentymarkets/plugin-interface.git"
}
- ],
- "require": {
- "arvatis/payone-php-api":"2.2.*"
- }
+ ]
}
diff --git a/config.json b/config.json
index 3ae6bb26..af155b1d 100644
--- a/config.json
+++ b/config.json
@@ -63,6 +63,12 @@
}
]
}
+ },
+ "userId": {
+ "type": "inputText",
+ "required": false,
+ "label": "Config.userId",
+ "options": {}
}
}
},
@@ -162,6 +168,18 @@
"label": "Config.PAYONEPAYONEINVOICESECUREDescriptionLabel",
"options": {}
},
+ "PAYONE_PAYONE_INVOICE_SECURE.portalid": {
+ "type": "inputText",
+ "required": false,
+ "label": "Config.portalidLabel",
+ "options": {}
+ },
+ "PAYONE_PAYONE_INVOICE_SECURE.key": {
+ "type": "inputText",
+ "required": false,
+ "label": "Config.keyLabel",
+ "options": {}
+ },
"PAYONE_PAYONE_INVOICE_SECURE.minCartAmount": {
"type": "inputText",
"required": false,
@@ -810,29 +828,6 @@
}
}
}
- },
- "Config.DebuggingTab": {
- "label": "Config.DebuggingTab",
- "formFields": {
- "debugging.active": {
- "type": "selectBox",
- "required": false,
- "label": "Config.debuggingActiveLabel",
- "options": {
- "defaultValue": "0",
- "selectBoxValues": [
- {
- "value": "0",
- "caption": "Config.debuggingActivePossibleValue0"
- },
- {
- "value": "1",
- "caption": "Config.debuggingActivePossibleValue1"
- }
- ]
- }
- }
- }
}
}
}
\ No newline at end of file
diff --git a/meta/documents/changelog_de.md b/meta/documents/changelog_de.md
index 7268c364..5b96077f 100644
--- a/meta/documents/changelog_de.md
+++ b/meta/documents/changelog_de.md
@@ -1,2 +1,167 @@
-Das Changelog wird zentralisiert in [github](https://github.com/PAYONE-GmbH/plentymarkets-7/blob/master/CHANGELOG.md)
-gepflegt, das es sich um ein Open Source Projekt handelt.
\ No newline at end of file
+# Release Notes für PAYONE
+
+## 1.1.14 (2020-07-08)
+
+### Hinzugefügt
+- Zahlungsart "Secure Invoice" hinzugefügt
+
+## 1.1.13 (2020-07-07)
+
+### Geändert
+- Icon für das Backend hinzugefügt
+- User Guide aktualisiert
+
+## 1.1.12 (2020-03-09)
+
+### Geändert
+- Logging des Datenaustausches zur Payone Schnittstelle optimiert.
+
+## 1.1.11 (2020-03-03)
+
+### Geändert
+- Logos und Bilder getauscht
+- Funktionalitäten hinzugefügt für Backend-Sichtbarkeiten und Backend-Name
+
+## 1.1.10 (2019-12-09)
+
+### Behoben
+- Auftragsnotizen bei Rückerstattungen werden nun wieder korrekt geschrieben.
+
+## 1.1.9 (2019-11-07)
+
+### Behoben
+- Teilrückerstattungen können nun auch mehrfach ausgeführt werden, dies führte unter bestimmten Konstelationen zu einem Fehler.
+
+## 1.1.8 (2019-10-25)
+
+### Behoben
+- Teilrückerstattungen werden nun über den korrekten Betrag ausgeführt.
+
+### Geändert
+- Rückerstattungen werden nun dem Auftrag zugeordnet von dem diese ausgeführt wurden.
+- Ladezeiten des Plugins wurden verbessert.
+
+## 1.1.7 (2019-09-26)
+
+### Hinzugefügt
+- Rückzahlungen werden nun per Notiz am Auftrag hinterlegt. Dazu muss in der Konfiguration eine UserID hinterlegt werden.
+
+## 1.1.6 (2019-08-23)
+
+### Behoben
+- Fehlerhafte Auftragsanlage behoben
+
+## 1.1.5 (2019-08-23)
+
+### Behoben
+- Aufträge die von externe Importiert werden und eine Zahlungsart von Payone nutzen werden nun korrekt angelegt und nicht durch das Plugin abgefangen.
+
+## 1.1.4 (2019-08-15)
+
+### Geändert
+- Das Payone SDK wurde umgezogen.
+
+### Hinzugefügt
+- Die Zahlungsart Amazon Pay wurde für das Backend hinzugefügt.
+
+### Behoben
+- Einige Meldungen im Log
+
+## 1.1.3 (2019-06-13)
+
+### Geändert
+- Optimierungen für die Eingabe des Geburtsdatums im Bestellprozess.
+- User Guide aktualisiert.
+
+## 1.1.2 (2019-05-10)
+
+### Geändert
+- Die Eingabe des Geburtsdatums ist nun im Bestellprozess ein Pflichtfeld. Dieses Feld muss in den Einstellungen von Ceres für den Bestellprozess aktiviert werden.
+
+### Hinzugefügt
+- Netto Bestellungen können nun durchgeführt werden.
+
+## 1.1.1 (2019-04-02)
+
+### Behoben
+- Ein Fehler, der während der Zahlungsabwicklung zur Anlage von Auftragsduplikaten geführt hatte, wurde behoben
+- Ein Fehler bei der Kreditkartentypauswahl wurde behoben
+
+## 1.1.0 (2019-03-27)
+
+### Geändert
+- Supportübernahme durch plentysystems
+- Icons getauscht und Beschreibungen aktualisiert
+- Updates an den User Guides in deutscher und englischer Sprache
+
+## 1.0.9 (2018-04-10)
+
+### Geändert
+- Hinweistext im User Guide ergänzt
+
+## 1.0.8 (2018-25-09)
+
+### Geändert
+- Informationen im Support-Tab aktualisiert
+- Changelog aktualisiert
+
+## 1.0.7 (2018-20-09)
+
+### Geändert
+- Aktualisierung der config.json Datei zur Bereitstellung des neuen Plugin-Formats
+
+### Hinzugefügt
+- Übersetzungen hinzugefügt
+
+### Geändert
+- User Guide aktualisiert
+- guzzle/httpguzzle Version hinzugefügt, um Kompatibilität mit PayPal zu erreichen
+
+## 1.0.6 (2018-05-15)
+
+### Hinzugefügt
+- Die Zahlungsart Sofort wird jetzt im Frontend angezeigt
+- Die Zahlungsart Paydirekt wird jetzt im Frontend angezeigt
+- Die Zahlungsart Gesicherte Rechnung wird jetzt im Frontend angezeigt
+- Die Zahlungsart PayPal wird jetzt im Frontend angezeigt
+
+### Geändert
+- Verbesserte Darstellung der Popup-Meldung bei fehlerhaften Zahlungen
+
+## 1.0.5 (2018-04-06)
+
+### Geändert
+- Logos und Name des Plugins aktualisiert
+
+## 1.0.4 (2018-03-27)
+
+### Geändert
+- Dokumentation aktualisiert
+
+## 1.0.3 (2018-03-26)
+
+### Hinzugefügt
+- Dokumentation in englischer Sprache hinzugefügt
+
+### Geändert
+- Die aktuelle Payone PHP API wird nun genutzt
+
+## 1.0.2 (2018-03-21)
+
+### Geändert
+- Scriptloader wird nun genutzt, um Payone Skripte in Templates einzubinden
+
+## 1.0.1 (2018-03-01)
+
+### Geändert
+- Plugin-Dokumentation aktualisiert
+
+## 1.0.1 (2018-03-01)
+Veröffentlichung des Plugins inklusive Unterstützung der folgenden Zahlungsarten:
+
+- Rechnung
+- Vorkasse
+- Nachnahme
+- Lastschrift
+- Kreditkarte
+- Kreditkarte 3DS
diff --git a/meta/documents/changelog_en.md b/meta/documents/changelog_en.md
index f37abed3..017faac6 100644
--- a/meta/documents/changelog_en.md
+++ b/meta/documents/changelog_en.md
@@ -1 +1,167 @@
-The changelog will be maintained at [github](https://github.com/PAYONE-GmbH/plentymarkets-7/blob/master/CHANGELOG.md).
\ No newline at end of file
+# Release Notes for PAYONE
+
+## 1.1.14 (2020-07-08)
+
+### Added
+- Payment method "Secure Invoice" added
+
+## 1.1.13 (2020-07-07)
+
+### Changed
+- Added Icon for the backend
+- Updated user guide
+
+## 1.1.12 (2020-03-09)
+
+### Changed
+- Optimized logging of the data transfer with the Payone Api.
+
+## 1.1.11 (2020-03-03)
+
+### Changed
+- New logos and images
+- Added methods for the backend visibility and backend name
+
+## 1.1.10 (2019-12-09)
+
+### Fixed
+- Writing Order notes during a refund works properly again.
+
+## 1.1.9 (2019-11-07)
+
+### Fixed
+- Partial refunds can now be executed more than once. Under certain constellations an error came up.
+
+## 1.1.8 (2019-10-25)
+
+### Fixed
+- Partial refunds will use the correct amount from the credit note or return.
+
+### Changed
+- Refund payments will added to the credit note or return from where they were executed.
+- The loading times of the plugin have been improved.
+
+## 1.1.7 (2019-09-26)
+
+### Added
+- An order note will added for refunds. Please add an user ID in the plugin configurations.
+
+## 1.1.6 (2019-08-23)
+
+### Fixed
+- Fix wrong order creation
+
+## 1.1.5 (2019-08-23)
+
+### Fixed
+- External orders will be created correct without skipping by the plugin.
+
+## 1.1.4 (2019-08-15)
+
+### Changed
+- The Payone SDK was relocated
+
+### Added
+- The payment method Amazon Pay was added for the backend.
+
+### Fixed
+- Some log messages
+
+## 1.1.3 (2019-06-13)
+
+### Changed
+- Optimisation for Entering the date of birth in the checkout process.
+- Updated user guide
+
+## 1.1.2 (2019-05-10)
+
+### Changed
+- Entering the date of birth is now mandatory in the checkout process. The field for the date of birth must be activated in the Ceres settings for the checkout process.
+
+### Added
+- Net orders can now be executed.
+
+## 1.1.1 (2019-04-02)
+
+### Fixed
+- An error causing the creation of duplicate orders during payment processing has been fixed
+- An error with the credit card type selection was fixed
+
+## 1.1.0 (2019-03-27)
+
+### Changed
+- Support is now within the responsibility of plentysystems
+- Added new icons and customised descriptions
+- Updated German and English user guides
+
+## 1.0.9 (2018-04-10)
+
+### Changed
+- Added alert text to user guide
+
+## 1.0.8 (2018-25-09)
+
+### Changed
+- Updated information in the support tab
+- Updated changelog
+
+## 1.0.7 (2018-20-09)
+
+### Updated
+- Updated the config.json file to implement new plugin format
+
+### Added
+- Added translations
+
+### Changed
+- Updated user guide
+- Implemented guzzle/httpguzzle version in dependency for PayPal compatibility
+
+## 1.0.6 (2018-05-15)
+
+### Added
+- Sofort is now displayed in the front end
+- Paydirekt is now displayed in the front end
+- Secure invoice is now displayed in the front end
+- PayPal is now displayed in the front end
+
+### Changed
+- Improved rendering of payment error message
+
+## 1.0.5 (2018-04-06)
+
+### Changed
+- Updated logos and plugin name
+
+## 1.0.4 (2018-03-27)
+
+### Changed
+- Updated documentation
+
+## 1.0.3 (2018-03-26)
+
+### Added
+- Added English documentation
+
+### Changed
+- The current Payone PHP API is now used
+
+## 1.0.2 (2018-03-21)
+
+### Changed
+- Scriptloader is now used to include Payone scripts in templates
+
+## 1.0.1 (2018-03-01)
+
+### Changed
+- Update plugin documentation
+
+## 1.0.1 (2018-03-01)
+Plugin release supporting the following payment methods:
+
+- Invoice
+- Prepayment
+- Cash on delivery
+- Debit payment
+- Credit card
+- Credit card 3DS
diff --git a/meta/documents/icon_plugin_md.png b/meta/documents/icon_plugin_md.png
deleted file mode 100644
index 1b7f03f6..00000000
Binary files a/meta/documents/icon_plugin_md.png and /dev/null differ
diff --git a/meta/documents/support_contact_de.md b/meta/documents/support_contact_de.md
index 3d344521..638557f3 100644
--- a/meta/documents/support_contact_de.md
+++ b/meta/documents/support_contact_de.md
@@ -1,5 +1,3 @@
-## Support
+## Webseite
-Zwischen arvatis media und Payone besteht für dieses Plugin keine Support- und Wartungsvereinbarung.
-Bitte wenden Sie sich bei Fragem oder Problemen direkt an [Payone](https://www.bspayone.com/DE/de/contact-germany),
-über E-Mail [tech.support@bspayone.com](mailto:tech.support@bspayone.com) oder Telefon [+49 431 25968-500](tel:+49 431 25968-500).
\ No newline at end of file
+[https://www.plentymarkets.eu/](https://www.plentymarkets.eu/)
\ No newline at end of file
diff --git a/meta/documents/support_contact_en.md b/meta/documents/support_contact_en.md
index 6f146ef0..00c81cc2 100644
--- a/meta/documents/support_contact_en.md
+++ b/meta/documents/support_contact_en.md
@@ -1,5 +1,3 @@
-## Support
+## Web page
-arvatis media and Payone have no Support- and Maintenancecontract.
-Please contact [Payone](https://www.bspayone.com/DE/en/contact-germany) if you experience any Problems or have a Question.
-Or contact Payone via E-Mail [tech.support@bspayone.com](mailto:tech.support@bspayone.com) or Phone: [+49 431 25968-500](tel:+49 431 25968-500).
\ No newline at end of file
+[https://www.plentymarkets.co.uk/](https://www.plentymarkets.co.uk/)
\ No newline at end of file
diff --git a/meta/documents/user_guide_de.md b/meta/documents/user_guide_de.md
index a67bd89f..bb90bdc7 100644
--- a/meta/documents/user_guide_de.md
+++ b/meta/documents/user_guide_de.md
@@ -1,34 +1,433 @@
-# BS PAYONE Payment für plentymarkets 7
+
+ Das PAYONE Plugin ist für die Nutzung mit dem Webshop Ceres entwickelt und funktioniert nur mit dessen Logikstruktur oder anderen Template-Plugins. Zur Nutzung des PAYONE Plugins müssen die Plugins IO und Ceres aktiviert sein.
+
-**Hinweis: Für den Alleinvertrieb, innerhalb Plentymarkets System, ist die PSG Projektmanagement GmbH zuständig. [Hier geht’s zum Anmeldeformular](https://www.psg-projektmanagement.de/bs-payone/)**
+# PAYONE Payment für plentymarkets
-Payment mit BS PAYONE überzeugt
+Das plentymarkets PAYONE Plugin bietet Zugang zu internationalen und lokalen Zahlungsarten. Gleichzeitig hast du Zugriff auf ein integriertes Risikomanagement, automatisierte Gutschriften und schnelle Retourenabwicklung.
-Eine Lösung, ein Partner, ein Vertrag: Einfach & effizient. Technische Abwicklung und Finanzdienstleistungen aus einer Hand.
+Aktuell beinhaltet das Plugin die folgenden Zahlungsarten:
-* Internationale Zahlungsabwicklung: Zugang zu internationalen und lokalen Zahlungsarten on demand.
+* Gesicherter Rechnungskauf
+* Visa & MasterCard (inkl. Maestro)
+* American Express - Anbindung Ihres bestehenden Akzeptanzvertrages
+* SEPA Lastschrift
+* giropay - Online-Überweisung Deutschland
+* Sofortüberweisung - Online-Überweisung international
+* Überweisung - Vorkasse & Rechnung & Nachnahme
+* PayPal - Anbindung Ihres PayPal-Accounts
+* Amazon Pay - Anbindung Ihres Amazon Pay-Accounts (In Kürze verfügbar!)
-* Integriertes Risikomanagement: Minimierung von Zahlungsausfällen und Betrug. Für mehr Profitabilität.
+## Erste Schritte
-* Automatisches Debitorenmanagement: Effektive Entlastung der Buchhaltung durch Transaktionszuordnung und Kontenabgleich.
+Für die Nutzung benötigst du einen PAYONE Account und die PAYONE Zugangsdaten. Wenn du noch kein PAYONE Kunde bist und demnach keinen PAYONE Account besitzt, wende dich bitte an:
-* Zahlungsartenübergreifende Gutschriften: Schnelles Retourenmanagement. Mit automatisierten Gutschriften.
+PSG Projektmanagement GmbH
+Meergässle 4
+89180 Berghülen
+Telefon: 07344-9592588
+E-Mail: plenty@psg-projektmanagement.de
+Internet: http://www.psg-projektmanagement.de
+Oder nutze folgendes Anmeldeformular
+https://www.psg-projektmanagement.de/payone-plentymarkets/
-* Beste Referenzen, langjährige Erfahrung: Ausgewiesene Experten. Persönlicher Kundenservice. Bei jedem E-Commerce-Projekt.
+
+ Einen PAYONE-Account erhältst du nur über den oben genannten Partner. Bitte wende dich nicht direkt an die PAYONE, um den reibungslosen Ablauf nicht zu gefährden.
+
-## Aktuell unterstützte Zahlarten
+Nach Erhalt der Zugangsdaten loggst du dich im PAYONE Merchant Interface ein und nimmst die folgenden Einstellungen vor.
-* Rechnung
-* Vorkasse
-* Nachnahme
-* Lastschrift
-* Kreditkarte
-* Kreditkarte 3DS
-* Gesicherte Rechnung
-* PayPal
-* Paydirekt
-* Sofortüberweisung
+##### Einstellungen im PAYONE Merchant Interface vornehmen:
-## Installationsanleitung
+1. Öffne das Menü **Konfiguration » Zahlungsportale**.
+2. Öffne das Tab **Erweitert** des Zahlungsportals deines Shops.
+3. Trage im Feld **TransactionStatusURL** eine URL nach dem Schema **DOMAIN/payment/payone/status** ein. Den Platzhalter **DOMAIN** durch die URL zu deinem Webshop ersetzen.
+4. Wähle als **Verfahren Hashwert-Prüfung** die Option **md5 oder sha2-384 (für Migration)**.
+5. **Speichere** die Einstellungen.
-[Hinweise zur Installation und Einrichtung](https://github.com/PAYONE-GmbH/plentymarkets-7/blob/master/README.md)
\ No newline at end of file
+Aktiviere die gewünschten PAYONE-Zahlungsarten in deinem plentymarkets Backend einmalig im Menü **Einrichtung » Aufträge » Zahlung » Zahlungsarten**. Weitere Informationen dazu findest du auf der Handbuchseite Zahlungsarten verwalten .
+
+Stelle zudem sicher, dass die Zahlungsart unter dem Punkt **Erlaubte Zahlungsarten** in den Kundenklassen vorhanden ist und nicht im Bereich **Gesperrte Zahlungsarten** in den Versandprofilen aufgeführt ist.
+
+## Einrichtung des Plugins
+
+Die folgenden Einrichtungsschritte für das plentymarkets PAYONE Plugin erfolgen direkt in der Plugin-Übersicht deines plentymarkets-Systems. Gehe dazu wie im Folgenden beschrieben vor.
+
+##### Grundeinstellungen vornehmen:
+
+1. Öffne das Menü **Plugins » Plugin-Übersicht**.
+2. Klicke in der Liste der Plugins auf den Namen des Plugins **PAYONE**.
+→ Die Detailansicht des Plugins öffnet sich.
+3. Öffne den Menüpunkt **Konfiguration**.
+4. Klicke auf **Grundeinstellungen**. Nimm die Einstellungen anhand der Informationen in Tabelle 1 vor.
+5. **Speichere** die Einstellungen.
+
+
+
Tab. 1: Grundeinstellungen vornehmen
+
+
+ Einstellung
+
+
+ Erläuterung
+
+
+
+
+
+ Merchant ID
+
+
+ Gib hier die Kundennummer ein, die du bei der Registrierung bei PAYONE erhalten hast.
+
+
+
+
+ Portal ID
+
+
+ Gib hier die ID des Zahlungsportals ein, die du bei der Registrierung bei PAYONE erhalten hast.
+
+
+
+
+ Account ID
+
+
+ Gib hier die Account-ID ein, die du bei der Registrierung bei PAYONE erhalten hast.
+
+
+
+
+ Schlüssel
+
+
+ Gib hier den Schlüssel ein, den du bei der Registrierung bei PAYONE erhalten hast.
+
+
+
+
+ Modus
+
+
+ Wähle zwischen den Optionen Test und Live. Wir empfehlen, während der Einrichtung des Plugins den Testmodus zu wählen. Währenddessen ist die Zahlungsart noch nicht in deinem Webshop verfügbar. Nach erfolgter Einrichtung wechsele in den Livemodus und mach somit die Zahlungsart in deinem Webshop sichtbar.
+
+
+
+
+ Art der Autorisierung
+
+
+ Vorautorisierung: Wähle diese Option, wenn der Zahlungseinzug beim Käufer nur vorgemerkt werden soll. Der Zahlungseinzug erfolgt dann durch eine Ereignisaktion, die beim Warenausgang ausgelöst werden muss (siehe Tabelle 5).
+ Autorisierung:: Wähle diese Option, wenn der Zahlungseinzug beim Käufer sofort stattfinden soll. Der Zahlungseingang wird somit direkt nach dem Kaufabschluss im Webshop in deinem plentymarkets-System gebucht.
+
+
+
+
+
+### Zahlungsarten einrichten
+
+Im Folgenden legst du fest, welche PAYONE-Zahlungsarten deinen Kunden im Webshop zur Verfügung stehen sollen. Außerdem nimmst du für die festgelegten Zahlungsarten genauere Einstellungen vor. Gehe dazu wie im Folgenden beschrieben vor.
+
+
+##### Zahlungsarten einrichten:
+
+1. Öffne den Menüpunkt **Konfiguration** in der Detailansicht des Plugins.
+2. Klicke auf den Menüpunkt der Zahlungsart. Nimm die Einstellungen anhand der Informationen in Tabelle 2 vor.
+5. **Speichere** die Einstellungen.
+
+
+
Tab. 2: Zahlungsarten einrichten
+
+
+ Einstellung
+
+
+ Erläuterung
+
+
+
+
+
+ Aktiv
+
+
+ Wähle die Option Ja, um die Zahlungsart zu aktivieren und somit im Webshop anzubieten. Wähle die Option Nein, wenn die Zahlungsart deaktiviert werden und damit nicht zur Verfügung stehen soll.
+
+
+
+
+ Name
+
+
+ Gib einen Namen für die Zahlungsart ein. Dieser Name ist für deine Kunden im Webshop sichtbar.
+
+
+
+
+ Beschreibung
+
+
+ Gib einen Beschreibungstext für die Zahlungsart ein. Dieser Text ist für deine Kunden im Webshop sichtbar.
+
+
+
+
+ Minimaler Bestellwert
+
+
+ Gib einen minimalen Bestellwert ein, ab dem die Zahlungsart im Webshop verfügbar sein soll.
+
+
+
+
+ Maximaler Bestellwert
+
+
+ Gib einen maximalen Bestellwert ein, bis zu dem die Zahlungsart im Webshop verfügbar sein soll. Wird dieser Wert überschritten, ist die Zahlungsart nicht mehr verfügbar.
+
+
+
+
+ Erlaubte Lieferländer
+
+
+ Gib kommasepariert die Lieferländer aus, für die die Zahlungsart verfügbar sein soll.
+
+
+
+
+
+**Hinweis**: Die Zahlungsart **Kreditkarte** stellt einen Sonderfall dar. Für diese Zahlungsart sind zusätzliche Einstellungen notwendig. Diese Einstellungen werden in Tabelle 3 beschrieben.
+
+
+
Tab. 3: Zahlungsart Kreditkarte einrichten
+
+
+ Einstellung
+
+
+ Erläuterung
+
+
+
+
+
+ Minimale Kartengültigkeit in Tagen
+
+
+ Gib die erforderliche minimale Kartengültigkeit an, über die eine Kreditkarte verfügen muss, um für die Zahlungsart akzeptiert zu werden.
+
+
+
+
+ Kreditkartenfelder Default Style
+
+
+ Standardmäßig ist hier voreingestellt, in welcher Farbe, Schriftgröße und Schriftart die Eingabefelder für die Kreditkartendaten für Kunden im Webshop angezeigt werden. Die Werte sind editierbar.
+
+
+
+
+ Kreditkartenfelder Höhe in px
+
+
+ Standardmäßig ist hier die Höhe der Eingabefelder in px voreingestellt. Der Wert ist editierbar.
+
+
+
+
+ Kreditkartenfelder Breite in px
+
+
+ Standardmäßig ist hier die Breite der Eingabefelder in px voreingestellt. Der Wert ist editierbar.
+
+
+
+
+ Erlaubte Kartentypen
+
+
+ Aktiviere die Kartentypen, die für die Zahlungsart akzeptiert werden sollen.
+
+
+
+
+
+**Hinweis**: Für die Zahlungsart **Gesicherter Rechnungskauf** sind eine eigene **Portal-ID** sowie ein eigener **Schlüssel** notwendig. Diese Portal-ID und dieser Schlüssel müssen im Plugin unter **Gesicherte Rechnung** bei der Konfiguration separat hinterlegt werden. Die Portal-ID und den Schlüssel erhältst du über das PAYONE Merchant Interface über das Menü **Konfiguration » Zahlungsportale**.
+
+## Ceres-Checkout anpassen
+
+Als Nächstes ist eine Anpassung im Ceres Checkout notwendig, damit deine Kunden bei Bezahlvorgängen mit PAYONE ihr Geburtsdatum (nur für den gesicherten Rechnungskauf) korrekt eingeben können.
+
+
+ Hinweis: Nimm die im Folgenden beschriebene Einstellung unbedingt sorgfältig vor, da deine Kunden andernfalls den Bezahlvorgang mit PAYONE nicht abschließen können!
+
+
+##### Ceres-Checkout anpassen für den gesicherten Rechnungskauf:
+
+1. Öffne das Menü **Plugins » Plugin-Übersicht**.
+→ Die Plugin-Übersicht wird geöffnet.
+2. Klicke auf **Ceres**.
+→ Das Plugin wird geöffnet.
+3. Klicke im Verzeichnisbaum auf **Konfiguration**.
+4. Wechsele in das Tab **Kaufabwicklung und Mein Konto.**
+5. Klappe den Bereich **Rechnungsadressfelder im Adressformular anzeigen (DE)** auf.
+6. Aktiviere über die Checkbox die Option **Geburtsdatum**.
+7. **Speichere** die Einstellungen. Im Checkout wird deinen Kunden nun ein Feld zur Eingabe des Geburtsdatums angezeigt.
+
+## Template-Container verknüpfen
+
+Für die Zahlungsart PAYONE stehen dir verschiedene Möglichkeiten zur Verfügung, um sie in deinem Webshop einzubinden.
+Hierfür sind in den Templates in plentymarkets an relevanten Stellen Container hinterlegt, mit denen zur Individualisierung Contents verknüpft werden.
+
+##### Container verknüpfen:
+
+1. Öffne das Menü **Plugins » Plugin-Set-Übersicht**.
+2. Öffne das Plugin-Set, das du bearbeiten möchtest.
+3. Öffne die **Einstellungen** des Payone-Plugins.
+4. Klicke auf **Container-Verknüpfungen**.
+5. Wähle aus der Dropdown-Liste den Datenanbieter aus, den du verknüpfen möchtest.
+6. Wähle den Container aus, mit dem du den Datenanbieter verknüpfen möchtest. Beachte dazu die Erläuterungen in Tabelle 4.
+7. Wiederhole Schritte 5 und 6 für alle Datenanbieter, die due verknüpfen möchtest.
+8. **Speichere** die Einstellungen.
+
+
+
Tab. 4: Container verknüpfen
+
+
+ Content
+
+
+ Erläuterung
+
+
+
+
+
+ Payone Order Confirmation Page Payment Data
+
+
+ Verknüpfe diesen Content mit dem Container Order confirmation: Additional payment information, um die PAYONE-Zahlungsarten auf der Bestellbestätigungsseite im Webshop anzuzeigen.
+
+
+
+
+ Payone Checkout JS
+
+
+ Verknüpfe diesen Content mit dem Container Script loader: After script loaded, um die PAYONE-Zahlungsarten während der Kaufabwicklung im Webshop anzuzeigen.
+
+
+
+
+
+## Automatische Versandbestätigung an PAYONE senden
+
+Richte eine Ereignisaktion ein, um eine automatische Versandbestätigung an PAYONE zu senden, sobald du den Auftrag versendet hast.
+
+**Hinweis:** Die Einrichtung dieser Ereignisaktion ist zwingend notwendig, wenn als **Art der Autorisierung** die Option **Vorautorisierung** gewählt wurde (siehe Tabelle 1). Hast du die Option **Autorisierung** gewählt, ist diese Ereignisaktion nicht nutzbar und nicht notwendig.
+
+##### Ereignisaktion einrichten:
+
+1. Öffne das Menü **System » Aufträge » Ereignisaktionen**.
+2. Klicke auf **Ereignisaktion hinzufügen**.
+→ Das Fenster **Neue Ereignisaktion erstellen** wird geöffnet.
+3. Gib einen Namen ein.
+4. Wähle das Ereignis gemäß Tabelle 5.
+5. **Speichere** die Einstellungen.
+→ Die Ereignisaktion wird angelegt.
+6. Nimm die weiteren Einstellungen gemäß Tabelle 5 vor.
+7. Setze ein Häkchen bei **Aktiv**.
+8. **Speichere** die Einstellungen.
+→ Die Ereignisaktion wird gespeichert.
+
+
+
+ Tab. 5: Ereignisaktion zum Senden einer automatischen Versandbestätigung an PAYONE
+
+
+
+
+ Einstellung
+
+
+ Option
+
+
+ Auswahl
+
+
+
+
+
+
Ereignis
+
Das Ereignis wählen, nach dem die Versandbestätigung automatisch versendet werden soll, beispielsweise Auftragsänderung > Warenausgang gebucht
+
+
+
+
Filter 1
+
Auftrag > Zahlungsart
+
Plugin: PAYONE
+
+
+
Aktion
+
Plugin > PAYONE | Versandbestätigung senden
+
+
+
+
+
+## PAYONE-Zahlung automatisch zurückzahlen
+
+Richte eine Ereignisaktion ein, um die Rückzahlung einer Zahlung über PAYONE zu automatisieren.
+
+##### Ereignisaktion einrichten:
+
+1. Öffne das Menü **System » Aufträge » Ereignisaktionen**.
+2. Klicke auf **Ereignisaktion hinzufügen**.
+→ Das Fenster **Neue Ereignisaktion erstellen** wird geöffnet.
+3. Gib einen Namen ein.
+4. Wähle das Ereignis gemäß Tabelle 6.
+5. **Speichere** die Einstellungen.
+→ Die Ereignisaktion wird angelegt.
+6. Nimm die weiteren Einstellungen gemäß Tabelle 6 vor.
+7. Setze ein Häkchen bei **Aktiv**.
+8. **Speichere** die Einstellungen.
+→ Die Ereignisaktion wird gespeichert.
+
+
+
+ Tab. 6: Ereignisaktion zur automatischen Rückzahlung der PAYONE-Zahlung
+
+
+
+
+ Einstellung
+
+
+ Option
+
+
+ Auswahl
+
+
+
+
+
+
Ereignis
+
Das Ereignis wählen, nach dem eine Rückzahlung erfolgen soll.
+ The PAYONE plugin has been developed for use with the online store Ceres and only works with its structure or other template plugins. The plugins Ceres and IO have to be activated so that the Payone plugin can be used.
+
-**Hinweis: The Distribution in Plentymarkets system is controlled by PSG Projektmanagement GmbH. [Click here for Registration](https://www.psg-projektmanagement.de/bs-payone/)**
+# PAYONE Payment for plentymarkets
-Payment with BS PAYONE convinces
+The plentymarkets PAYONE plugin offers you access to international as well as local payment methods. In addition, the plugin offers the advantages of an integrated risk management system, automated refunds and swift processing of returns.
-One solution, one partner, one contract: simple & efficient. Technical handling and financial services from a single
-source.
+The plugin currently offers the following payment methods:
-* International payment processing: access to international and local payment methods on demand.
+* Secure Invoice
+* Visa & MasterCard (incl. Maestro)
+* American Express - Integration of your existing acceptance contract
+* SEPA direct debit
+* giropay - online bank transfer Germany
+* Sofortüberweisung - Online bank transfer international
+* Transfer - Cash in advance & Invoice & Cash on Delivery
+* PayPal - Integration of your PayPal account
+* Amazon Pay - Integration of your Amazon Pay accounts (Available soon!)
-* Integrated risk management: minimizing defaults and fraud. For more profitability.
+## First steps
-* Automatic Debtor Management: Effectively relieving the bookkeeping through transaction assignment and account reconciliation.
+The use requires a PAYONE account as well as PAYONE access data. If you are not a PAYONE customer yet and thus do not have a PAYONE account, please contact:
-* Multi-payment refunds: Fast returns management. With automated refunds.
+PSG Projektmanagement GmbH
+Meergässle 4
+89180 Berghülen
+Phone: 07344-9592588
+E-mail: plenty@psg-projektmanagement.de
+Website: http://www.psg-projektmanagement.de
+Or use the following registration form:
+https://www.psg-projektmanagement.de/payone-plentymarkets/
-* Best references, many years of experience: proven experts. Personal customer service. For every e-commerce project.
+
+ You can only get a PAYONE account via the partner mentioned above. In order not to compromise a smooth process, please do not contact PAYONE directly.
+
-## Currently supported payment methods
+Upon receipt of your access data, log in to the PAYONE merchant interface and carry out the following settings.
-* invoice
-* pre payment
-* cash on delivery
-* debit payment
-* credit card
-* credit card 3DS
-* invoice secure
-* PayPal
-* Paydirekt
-* Sofortüberweisung
+##### Carrying out settings in the PAYONE merchant interface
-## Installation guide
+1. Go to **Configuration » Payment portals**.
+2. Open the **Extended Tab** of the payment portal belonging to your online store.
+3. In the field **TransactionStatusURL**, enter a URL following the pattern **DOMAIN/payment/payone/status**. Replace **DOMAIN** with the URL of your online store.
+4. For the option **Method hash calculation**, select the option **md5 or sha2-384 (during migration)**.
+5. **Save** the settings.
-[Information for installation and setup](https://github.com/PAYONE-GmbH/plentymarkets-7/blob/master/README.md)
\ No newline at end of file
+In your plentymarkets back end, activate the payment method once in the **Setup » Orders » Payment » Methods** menu. More information on carrying out this setting is available on the Managing payment methods page of the manual.
+
+In addition, make sure that the payment method is included among the Permitted payment methods in the customer classes and that it is not listed among the Blocked payment methods in the shipping profiles.
+
+## Setting up the plugin
+
+The following steps for setting up the plentymarkets PAYONE plugin are carried out in the plugin overview of your plentymarkets system. Proceed as described below to set up the plugin.
+
+##### Carrying out the basic settings
+
+1. Go to **Plugin » Plugin overview**.
+2. In the plugin list, click on the name of the plugin **PAYONE**.
+→ The detail view of the plugin opens.
+3. Open the menu entry **Configuration**.
+4. Click on **Basic settings**. Carry out the settings according to the information provided in table 1.
+5. **Save** the settings.
+
+
+
Tab. 1: Carrying out the basic settings
+
+
+ Setting
+
+
+ Explanation
+
+
+
+
+
+ Merchant ID
+
+
+ Enter the customer number as received after the registration process with PAYONE.
+
+
+
+
+ Portal ID
+
+
+ Enter the payment portal ID as received after the registration process with PAYONE.
+
+
+
+
+ Account ID
+
+
+ Enter the account ID as received after the registration process with PAYONE.
+
+
+
+
+ Key
+
+
+ Enter the key as received after the registration process with PAYONE.
+
+
+
+
+ Mode
+
+
+ Select one of the options Test and Live. We recommend using the test mode while setting up the plugin. The test mode ensures that the payment method is not available in your online store during the setup process. After completing the setup of the plugin, select the live mode so that the payment method becomes visible in your online store.
+
+
+
+
+ Authorisation method
+
+
+ Preauthorisation: Select this option if payment collection should only be prepared for the customer. The definite collection of payment has to be effected by an event procedure that should be triggered by booking outgoing items (see table 5).
+ Authorisation: Select this option if the payment should be collected from the customer immediately. Incoming payment is then booked directly after the customer has completed the checkout process in the online store.
+
+
+
+
+### Setting up payment methods
+
+In the following, you select the PAYONE payment methods that should be available for your customers in the online store. In addition, you carry out more detailed settings for the selected payment methods. Proceed as described below.
+
+
+##### Setting up payment methods:
+
+1. Open the menu entry **Configuration** in the detail view of the plugin.
+2. Click on the menu entry of the payment method. Carry out the settings according to the information provided in table 2.
+5. **Save** the settings.
+
+
+
Tab. 2: Setting up payment methods
+
+
+ Setting
+
+
+ Explanation
+
+
+
+
+
+ Active
+
+
+ Select the option Yes to activate the payment method and thus offer it in the online store. Select the option No if the payment method should be deactivated and thus not be available.
+
+
+
+
+ Name
+
+
+ Enter a name for the payment method. This name is visible for your customers in the online store.
+
+
+
+
+ Description
+
+
+ Enter a description for the payment method. This text is visible for your customers in the online store.
+
+
+
+
+ Minimum order value
+
+
+ Enter a minimum order value for which the payment method should be available in the online store.
+
+
+
+
+ Maximum order value
+
+
+ Enter a maximum order value for which the payment method should be available in the online store. The payment method is not available for orders exceeding this value.
+
+
+
+
+ Allowed countries of delivery
+
+
+ Enter the countries of delivery (separated by a comma) for which the payment method should be available.
+
+
+
+
+
+**Note:** The payment method **Credit card** requires particular attention. Additional settings are necessary for this payment method. The settings are described in table 3.
+
+
+
Tab. 3: Setting up the payment method Credit card
+
+
+ Setting
+
+
+ Explanation
+
+
+
+
+
+ Minimum card validity in days
+
+
+ Enter the required minimum card validity in days that a credit card must have to be accepted for the payment method.
+
+
+
+
+ Credit card fields default style
+
+
+ Default settings are saved for the colour, font size and font used for the data fields into which customers enter their credit card data in the online store. The values are editable.
+
+
+
+
+ Credit card fields height in px
+
+
+ The height of the data fields in px is set by default. The value is editable.
+
+
+
+
+ Credit card fields width in px
+
+
+ The width of the data fields in px is set by default. The value is editable.
+
+
+
+
+ Allowed card types
+
+
+ Activate the card types that should be accepted for the payment method.
+
+
+
+
+
+**Note**: You need a separate **Portal ID** and **Key** for the payment method **Secure Invoice**. This Portal-ID and this key have to be deposited in the plugin while configuring it. You get the Portal ID and the Key via the PAYONE Merchant Interface in the **Configuration » Payment portals** menu.
+
+## Adjusting the Ceres checkout
+
+In the next step, an adjustment to your Ceres checkout settings is necessary. These adjustments need to be made so that customers using PAYONE for payment processes can enter their date of birth (for secure invoice only) correctly.
+
+
+ Note: Make sure to carefully carry out the settings described below. Otherwise, your customers will not be able to complete the payment process using PAYONE in your online store!
+
+
+##### Adjusting the Ceres checkout for secure invoice:
+
+1. Go to **Plugins » Plugin overview**.
+→ The plugin overview opens.
+2. Click on **Ceres**.
+→ The plugin opens.
+3. Click on **Configuration** in the directory tree.
+4. Click on the **Checkout and My account** tab.
+5. Open the **Show invoice address fields in the address form (DE)** area.
+6. Use the check box to activate the option **Date of birth**.
+7. **Save** the settings. A field for entering the date of birth is now displayed for your customers in the checkout area.
+
+## Linking template containers
+
+You have multiple options to integrate the payment method PAYONE into your online store. For this purpose, the plentymarkets system offers containers at relevant places which can be filled with content to meet your needs.
+
+##### Linking template containers:
+
+1. Go to Plugins » Plugin set overview.
+2. Open the plugin set you want to edit.
+3. Open the Settings of the Payone plugin.
+4. Click on Container links.
+5. From the drop-down list, select the data provider you want to link.
+6. Select the container you want to link the data provider to. Pay attention to the information provided in table 4.
+7. Repeat steps 5 and 6 for all data providers you want to link.
+8. Save the settings.
+
+
+
Tab. 4: Linking template containers
+
+
+ Content
+
+
+ Explanation
+
+
+
+
+
+ Payone Order Confirmation Page Payment Data
+
+
+ Link this content to the container Order confirmation: Additional payment information to display the PAYONE payment methods on the order confirmation page in the online store.
+
+
+
+
+ Payone Checkout JS
+
+
+ Link this content to the container Script loader: After script loaded to display the PAYONE payment methods during the checkout process in the online store.
+
+
+
+
+
+## Sending an automatic shipping confirmation to PAYONE
+
+Set up an event procedure to send an automatic shipping confirmation to PAYONE as soon as you have shipped the order.
+
+**Note:** Sending up the following event procedure is mandatory if you have selected the option **Preauthorisation** as **Authorisation method** (see table 1). This event procedure is not necessary and cannot be used if you have selected the option **Authorisation**.
+
+##### Setting up an event procedure:
+
+1. Go to **System » Orders » Events**.
+2. Click on **Add event procedure**.
+→ The **Create new event procedure** window opens.
+3. Enter a name.
+4. Select the event according to table 5.
+5. **Save** the settings.
+→ The event procedure is created.
+6. Carry out the further settings according to table 5.
+7. Place a check mark next to the option **Active**.
+8. **Save** the settings.
+→ The event procedure is saved.
+
+
+
+ Tab. 5: Event procedure for sending an automatic shipping confirmation to PAYONE
+
+
+
+
+ Setting
+
+
+ Option
+
+
+ Selection
+
+
+
+
+
+
Event
+
Select the event after which an automatic shipping confirmation should be sent, e.g. Order change > Outgoing items booked
+
+
+
+
Filter 1
+
Order > Payment method
+
Plugin: PAYONE
+
+
+
Procedure
+
Plugins > Payone | Refund order
+
+
+
+
+
+## Automatically refunding PAYONE payments
+
+Set up an event procedure to automatically refund a PAYONE payment.
+
+##### Setting up an event procedure:
+
+1. Go to **System » Orders » Events**.
+2. Click on **Add event procedure**.
+→ The **Create new event procedure** window opens.
+3. Enter a name.
+4. Select the event according to table 6.
+5. **Save** the settings.
+→ The event procedure is created.
+6. Carry out the further settings according to table 6.
+7. Place a check mark next to the option **Active**.
+8. **Save** the settings.
+→ The event procedure is saved.
+
+