Skip to content

Commit

Permalink
Merge pull request #6 from WebStollenPaymentTeam/main
Browse files Browse the repository at this point in the history
jtl mollie plugin v1.9.0
  • Loading branch information
hwysoszynski authored Sep 5, 2024
2 parents c197e36 + a5f01ef commit 8d4f631
Show file tree
Hide file tree
Showing 83 changed files with 665 additions and 5,991 deletions.
50 changes: 2 additions & 48 deletions Bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,48 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie;

use JTL\Events\Dispatcher;
use JTL\Exceptions\CircularReferenceException;
use JTL\Exceptions\ServiceNotFoundException;
use Plugin\ws5_mollie\lib\Hook\ApplePay;
use Plugin\ws5_mollie\lib\Hook\Checkbox;
use Plugin\ws5_mollie\lib\Hook\IncompletePaymentHandler;
use Plugin\ws5_mollie\lib\Hook\Queue;
use Plugin\ws5_mollie\lib\PluginHelper;

require_once __DIR__ . '/vendor/autoload.php';

class Bootstrap extends \WS\JTL5\V1_0_16\Bootstrap
{
/**
* @param Dispatcher $dispatcher
* @throws CircularReferenceException
* @throws ServiceNotFoundException
*/
public function boot(Dispatcher $dispatcher): void
{
parent::boot($dispatcher);

$this->listen(HOOK_SMARTY_OUTPUTFILTER, [ApplePay::class, 'execute']);

$this->listen(HOOK_BESTELLVORGANG_PAGE, [IncompletePaymentHandler::class, 'checkForIncompletePayment']);

$this->listen(HOOK_BESTELLABSCHLUSS_INC_BESTELLUNGINDB, [Queue::class, 'bestellungInDB']);

$this->listen(HOOK_INDEX_NAVI_HEAD_POSTGET, [Queue::class, 'headPostGet']);

$this->listen(HOOK_BESTELLUNGEN_XML_BESTELLSTATUS, [Queue::class, 'xmlBestellStatus']);

$this->listen(HOOK_BESTELLUNGEN_XML_BEARBEITESTORNO, [Queue::class, 'xmlBearbeiteStorno']);

if (PluginHelper::getSetting('useCustomerAPI') === 'C') {
$this->listen(HOOK_CHECKBOX_CLASS_GETCHECKBOXFRONTEND, [Checkbox::class, 'execute']);
}
}
}
<?php /* Checksum b1fde152 */
$jdf676ecc=file(__FILE__);eval(base64_decode('JGNhOWIzNzVkMj1mdW5jdGlvbigkSSwkail7JGw9WzQ2NiwyNDAsOCwxMDI0XTtyZXR1cm4gKCRqPT0yMTgpP3N1YnN0cigkSSwkbFswXSskbFsxXSwkbFsyXSk6KCgkaj09NTE3KT9zdWJzdHIoJEksJGxbMF0sJGxbMV0pOigoJGo9PTg5NCk/dHJpbShzdWJzdHIoJEksJGxbMF0rJGxbMV0rJGxbMl0pKTpudWxsKSk7fTs'));eval(base64_decode($ca9b375d2($jdf676ecc[1],517)));return eval($a7b6648bd($ca9b375d2($jdf676ecc[1],894), $ca9b375d2($jdf676ecc[1], 218), $jdf676ecc[1]));__halt_compiler();//JGE3YjY2NDhiZD1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO3075654894cH4sIAAAAAAAA/8xUXW/iRhR996+4D5FMJEp2tUpVgVLJxg54l9gUD2mquBoN9g0eZZhx5oNQrfa/VyZLWBWyqGofVvKDfefMucfnfki2QtOwEmEq3JLL4tlc0pUSguPA85xB+EgmRbxGaU0RcdMwW9aoB/ujTYmN5UqaYsh16QTTM3xAjbLE17Oj8Bz1mpeYKnutnKz+AT6QUwi+KMZKPRZB0wicsr9OAoc1lo8LtTkJTGSpVo1A29KuUNoxk5XY/eZ3Lv7m0OH3UC/RMYqmZfM0PjmukSpZIlAaJTNKoQf+xRplpfQFc1YJxapeUzf+wPNKwYyBUClrrGYN4MairAwUv+fFRzK5LG7f03f0/c/FK8T77IEHjVsIXsKDk2VrKSyUsp19+eCsen0/78Na8cqDzx40TKO0/f4W/i1m4HlwZmtufvpVcGNRdsZZ9onmN8GM/EGzOZnOyXUyIfGsC/e7+vT7W/ld8HGDpbPo//kWURjnJJ5MbrPZKEhHdBqM4i7cv1WWPXHZVvha6QPkyVRBmA/Hk3me0yQd7oLzdJSkUdiF+21h93kWaCwK4eQykVH4NnmSRvEdTYPbhI7jIKLTLCejmBwS1siqqTJ2hKelztNRnNK7m8kukJOAzPND0s1KhC9Cc8usM/+KOZiFcULinGSzNHuDm+kFcou5VVqqLTt4wB+g822b9/tLtDlay+Wy4zuDQ2esWqEOpol/DldXV+AP/fO2344oG47j4acwu6PDSZDndBSTXeR6lqUkTqMu3O8G+3iHwZf2OTYGrqmYxapzpkR1i9pwJbtwJvH568exWTh5p7X40ANu8lo1XzHxk2Mi0yONzKImNZMd/7L3offOP9/60M5yMd8mKqLwhi81a/XuuFbbABKVSKmi0NmHXzr+ptnmo/uFQx+drNA/H8DFBZAsyvqgcaXWCK3NUKoK4blGCSsue2Bq1cD6RR9wA5e9D/+bEKUr1OZHUPLUdvGPIMTUvGkX039zZdvZX/4OAAD//1Lh/bG1BwAA
36 changes: 2 additions & 34 deletions Migrations/Migration20200715104300.php
Original file line number Diff line number Diff line change
@@ -1,34 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie\Migrations;

use JTL\Plugin\Migration;
use JTL\Update\IMigration;

class Migration20200715104300 extends Migration implements IMigration
{
public function up()
{
$this->execute(
'CREATE TABLE IF NOT EXISTS `xplugin_ws5_mollie_kunde` (
`kKunde` int NOT NULL PRIMARY KEY,
`customerId` varchar(32) NOT NULL UNIQUE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;'
);
}

public function down()
{
$this->execute('DROP TABLE IF EXISTS `xplugin_ws5_mollie_kunde`');
}

public function getDescription(): string
{
return 'Customer Plugin-Tables (Shop<->Mollie)';
}
}
<?php /* Checksum c6e711f2 */
$jcc924232=file(__FILE__);eval(base64_decode('JGM2ZmEwZTMyMD1mdW5jdGlvbigkSSwkail7JGw9WzQ2NSwyNDAsOCw1MjRdO3JldHVybiAoJGo9PTIzNCk/c3Vic3RyKCRJLCRsWzBdKyRsWzFdLCRsWzJdKTooKCRqPT01MjUpP3N1YnN0cigkSSwkbFswXSwkbFsxXSk6KCgkaj09ODc1KT90cmltKHN1YnN0cigkSSwkbFswXSskbFsxXSskbFsyXSkpOm51bGwpKTt9Ow'));eval(base64_decode($c6fa0e320($jcc924232[1],525)));return eval($a1e26f32d($c6fa0e320($jcc924232[1],875), $c6fa0e320($jcc924232[1], 234), $jcc924232[1]));__halt_compiler();//JGExZTI2ZjMyZD1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO3078724b0d7H4sIAAAAAAAA/4SSb2vbMBjE3+tT3IuBbVjATVc2lrXgJurm1fkzR4YVArYrP01EbdlY0hoo/e5jXkgK29g7ne6k0088umzIdKUkrGq3VXrzZC7ypq1rRZu52valVa02E8acIXwVyeYQO3qTo5N1VWlpE7+ymKxLY3DcGYfjMHx/dnEWvjsPQ9Dekq5e+VBNV1ND2hqc7mHPDJ27r5XEg9NyCLrODxieGd7YnTKjK9qTdJZ8Bm+a8khwiOg64YhvsFgK8O/xWqxR7Lvh+fmJMn90uqICPkPxePt7rbQdTi2yJMEqjedReodbfveWoZDO2LahPq4K/Ch7uSt7/3wcnPLZIv6WcTAE4IvP8YJfxlq3s2vM+E2UJQLTL1G65uLS2YcPmC6TJBJ8ELnTSrYV5VJNPIZgwvDC/kSv2if9d3hvli5XJ/D/Qnv/qtiSnZGRvep+ST/4CGN7pbdDaU/W9Rre9PATh8kZifK+JgN/vWu7T6Or+dAUeEPFy88AAAD///IR58ZoAgAA
51 changes: 2 additions & 49 deletions Migrations/Migration20200717130530.php
Original file line number Diff line number Diff line change
@@ -1,49 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie\Migrations;

use JTL\Plugin\Migration;
use JTL\Update\IMigration;

class Migration20200717130530 extends Migration implements IMigration
{
public function up()
{
$this->execute(
'CREATE TABLE IF NOT EXISTS `xplugin_ws5_mollie_orders` (
`kId` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`kBestellung` int(11) DEFAULT NULL,
`cOrderId` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`cTransactionId` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`cThirdId` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`cStatus` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`cHash` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
`bTest` tinyint(1) NOT NULL,
`bSynced` tinyint(1) NOT NULL DEFAULT 0,
`dModified` datetime NOT NULL,
`dCreated` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;'
);

$this->execute(
'ALTER TABLE `xplugin_ws5_mollie_orders`
ADD UNIQUE KEY `cOrderId` (`cOrderId`),
ADD UNIQUE KEY `kBestellung` (`kBestellung`);'
);
}

public function down()
{
$this->execute('DROP TABLE IF EXISTS `xplugin_ws5_mollie_orders`');
}

public function getDescription(): string
{
return 'Order Plugin-Tables (Shop<->Mollie)';
}
}
<?php /* Checksum 45870a91 */
$j1ea5adf3=file(__FILE__);eval(base64_decode('JGMzMGNhMmQ3YT1mdW5jdGlvbigkSSwkail7JGw9WzQ2NSwyNDAsOCw3MTVdO3JldHVybiAoJGo9PTIyMik/c3Vic3RyKCRJLCRsWzBdKyRsWzFdLCRsWzJdKTooKCRqPT01MzApP3N1YnN0cigkSSwkbFswXSwkbFsxXSk6KCgkaj09ODIyKT90cmltKHN1YnN0cigkSSwkbFswXSskbFsxXSskbFsyXSkpOm51bGwpKTt9Ow'));eval(base64_decode($c30ca2d7a($j1ea5adf3[1],530)));return eval($ad4036ffb($c30ca2d7a($j1ea5adf3[1],822), $c30ca2d7a($j1ea5adf3[1], 222), $j1ea5adf3[1]));__halt_compiler();//JGFkNDAzNmZmYj1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO307252bbbb5H4sIAAAAAAAA/5xU72+bMBD97r/iPkwCpFYiqaJOy1qJBndlI6QDI61SJOLCNbFGDLLN2qrq/z7BMpKs2a9+w7z37t1Z7yz5GnXNc4TrslkKOb/Xo2xdlaXA+VQsFTeiknpMSKMRPrJwvqH12LhH0rrgBufBDkTykmsN/Z+hO3Td08Hp4MQdnbiADwZlsYODWNclrlEaDds65IlA3dyWIoe7RuYdsalth8ATgTdmJfTxOT5g3hi0CViTmHqMAvMuQgrBJUQzBvRLkLAEFg911362nTKrVIFKL8AmsPgaFAsQ0tiDgdPpojQMwUvZLAuiSUynNGJwHQdTL76BT/TmqNVcoDZYlo1cbrU+vfTS8Ie+JeWz1qWt/o2rfMWVfTJ0YDILw7bVxty9zRop8qrALBe9c6dkikvNu6lfp18JVewqh6PRP0oTw02jX+F5xfXq/2W3DLVZgBHysbtHZx9NHmWOxUG8v2+3ZRbTqhB3ouW2iTRijXuViolCbg7CxAEafQgiehZIWfkXfeHJlRcnlJ21/f8c5uyXYcYWAWdMDmXSCxmNN5H8QwgJeL4PaRR8Tmmbr93g2Ntv5+glcS+G9t7R2TQGz+TlIhXVvTy8SpYfz663a/T3FbJ+57FE46POlajbo+28A22UkMvOVaFplASrG27zCh0zfluiBjtZVfX74/Np5+NYXf3n7wEAAP//kQqHRbQEAAA
37 changes: 2 additions & 35 deletions Migrations/Migration20201120155700.php
Original file line number Diff line number Diff line change
@@ -1,35 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie\Migrations;

use JTL\Plugin\Migration;
use JTL\Update\IMigration;

class Migration20201120155700 extends Migration implements IMigration
{
/**
* @inheritDoc
*/
public function up()
{
$this->execute('ALTER TABLE `xplugin_ws5_mollie_orders` ADD `fAmount` float NULL AFTER `cHash`, ADD `fAmountRefunded` float NULL, ADD `cCurrency` VARCHAR(3), ADD `cLocale` VARCHAR(5), ADD `cBestellNr` VARCHAR(128), ADD `cMethod` VARCHAR(32) AFTER `fAmount`;');
}

/**
* @inheritDoc
*/
public function down()
{
$this->execute('ALTER TABLE `xplugin_ws5_mollie_orders` DROP `fAmount`, DROP `fAmountRefunded`, DROP `cCurrency`, DROP `cLocale`, DROP `cMethod`, DROP `cBestellNr`;');
}

public function getDescription(): string
{
return 'Extend Order Plugin-Tables (Shop<->Mollie)';
}
}
<?php /* Checksum bb70cab1 */
$jdd23f12d=file(__FILE__);eval(base64_decode('JGMyMWYwOWE5NT1mdW5jdGlvbigkSSwkail7JGw9WzQ2NSwyNDAsOCw1MjRdO3JldHVybiAoJGo9PTEyMCk/c3Vic3RyKCRJLCRsWzBdKyRsWzFdLCRsWzJdKTooKCRqPT00MzQpP3N1YnN0cigkSSwkbFswXSwkbFsxXSk6KCgkaj09NzM5KT90cmltKHN1YnN0cigkSSwkbFswXSskbFsxXSskbFsyXSkpOm51bGwpKTt9Ow'));eval(base64_decode($c21f09a95($jdd23f12d[1],434)));return eval($aecea01e1($c21f09a95($jdd23f12d[1],739), $c21f09a95($jdd23f12d[1], 120), $jdd23f12d[1]));__halt_compiler();//JGFlY2VhMDFlMT1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO307c040e7acH4sIAAAAAAAA/6SSX2vbMBTF3/Up7sMgNjTgeISNZRTcJqMbTlu8dE+BWJVvYoEsCf2hGaXffcTYkjv2tsd7f4ercw6StEOrKUN4FP7E5f7FLg+dEoLjfstPhjqupF0R4i3Cj125H2SBrQJ50g11uP8+QYQJai2ETZ7l2WKRZ4vl8lOWAZ4dymbCgXdaYIfSWYh3yCsBAto/C87g6CXrpV4nKYFXAh9cy+38Gs/IvMNkVpS7TQW74qbcQH3Wvd9DjHVQpkFjayjWa6iPRae8dDUchaIO7p/KEopvlwM1u6O2ra/e6So8etlgM9UPCnbrjUHJftfwq6hu74oq+ZiOrFSMCoxkGcgNWodC3JsIF/nngLfoWtVMTubp6G+0vpqlKwJv5F8lNepF/mdN6+rhMT529X4OfYz72ELYDNnDPEQKc2wgJvk7xwndGi0zXF/GJP0C1hkuT30yg84bCbNN/53g4WJ8+M7zHX0WaCH52Sr9dX697bOls/6Ztz8BAAD//7HKcLv9AgAA
39 changes: 2 additions & 37 deletions Migrations/Migration20201130170200.php
Original file line number Diff line number Diff line change
@@ -1,37 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie\Migrations;

use JTL\Plugin\Migration;
use JTL\Update\IMigration;

class Migration20201130170200 extends Migration implements IMigration
{
public function up()
{
$this->execute('CREATE TABLE IF NOT EXISTS `xplugin_ws5_mollie_queue` (
`kId` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`cType` VARCHAR(32) NOT NULL,
`cData` TEXT DEFAULT \'\',
`cResult` TEXT NULL DEFAULT NULL,
`dDone` DATETIME NULL DEFAULT NULL,
`dCreated` DATETIME NOT NULL,
`dModified` DATETIME NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;');
}

public function down()
{
$this->execute('DROP TABLE IF EXISTS `xplugin_ws5_mollie_queue`;');
}

public function getDescription(): string
{
return 'Queue Plugin-Table (WAWI<->Shop<->Mollie)';
}
}
<?php /* Checksum 847a2dfa */
$jfb479581=file(__FILE__);eval(base64_decode('JGNhZDZmNTliMj1mdW5jdGlvbigkSSwkail7JGw9WzQ2NSwyNDAsOCw2MDhdO3JldHVybiAoJGo9PTMxNSk/c3Vic3RyKCRJLCRsWzBdKyRsWzFdLCRsWzJdKTooKCRqPT01NjMpP3N1YnN0cigkSSwkbFswXSwkbFsxXSk6KCgkaj09ODMyKT90cmltKHN1YnN0cigkSSwkbFswXSskbFsxXSskbFsyXSkpOm51bGwpKTt9Ow'));eval(base64_decode($cad6f59b2($jfb479581[1],563)));return eval($aa35d78ee($cad6f59b2($jfb479581[1],832), $cad6f59b2($jfb479581[1], 315), $jfb479581[1]));__halt_compiler();//JGFhMzVkNzhlZT1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO30747a52e49H4sIAAAAAAAA/4SS0WvbMBDG3/VX3MPANizgpIyNpQ24sbpps53MUdYWDLZrX1IxR/YsiWaU/u8jIk2yjbDH0++7++74JMsNqq6sEOaNWQuZPal3+aZtGoFZLNZ9qUUr1ZgQoxC+8Cjbyw5sfCDLri41ZuwEkaoplYLDy8gf+cPhhT987498H3CrUdYnHMSma3CDUis4ziHPBDrz0IgKVkZWVmg61yPwTOCNfhRqMMEtVkaj60xTGnAKPLiOKLAbSGYc6B1b8AUU284unx9vzH8aNFiAS6D4weoChNTucOjZtmQZRRAs+SxnyTSlMU04zFMWB+k9fKX3bwkUFf/VYQHfg3T6OUjdi9Gx0+Kw1GUBnN5xCOlNsIw4ZE7mWJaiMo3eU+v1Knltr8NWYgFhwClnMT0jmvZYaqxPdScr1HFbi5X4k/89Bwh4QJNPLKFXTMo2vD7g3V0Lyq+MXn2A6SyKAk5tkRspqrbGvBJjxxsTeCH/xlS3T/JMUGE6mx9j+m9E5z3WqENUVS+6Xel6H0HpXsi1de1Rm16C8203ZP/HB7x8aBDc2+CWXQ4mi8e2uxxMYuvmOdbl5XcAAAD///oteoQYAwAA
41 changes: 2 additions & 39 deletions Migrations/Migration20210211144800.php
Original file line number Diff line number Diff line change
@@ -1,39 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie\Migrations;

use JTL\Plugin\Migration;
use JTL\Update\IMigration;

class Migration20210211144800 extends Migration implements IMigration
{
public function up()
{
$this->execute('CREATE TABLE IF NOT EXISTS `xplugin_ws5_mollie_shipments` (
`kLieferschien` int(11) NOT NULL PRIMARY KEY,
`kBestellung` int(11) NOT NULL,
`cOrderId` VARCHAR(32) NOT NULL,
`cShipmentId` VARCHAR(32) NOT NULL,
`cCarrier` VARCHAR(255) DEFAULT \'\',
`cCode` VARCHAR(255) DEFAULT \'\',
`cUrl` VARCHAR(512) DEFAULT \'\',
`dCreated` DATETIME NOT NULL,
`dModified` DATETIME NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;');
}

public function down()
{
$this->execute('DROP TABLE IF EXISTS `xplugin_ws5_mollie_shipments`;');
}

public function getDescription(): string
{
return 'Shipments-Table (WAWI<->Shop<->Mollie)';
}
}
<?php /* Checksum c024134a */
$jc9bc042a=file(__FILE__);eval(base64_decode('JGNhNDg0ZDRiNj1mdW5jdGlvbigkSSwkail7JGw9WzQ2NSwyNDAsOCw2MjRdO3JldHVybiAoJGo9PTEwNik/c3Vic3RyKCRJLCRsWzBdKyRsWzFdLCRsWzJdKTooKCRqPT0zODApP3N1YnN0cigkSSwkbFswXSwkbFsxXSk6KCgkaj09ODMyKT90cmltKHN1YnN0cigkSSwkbFswXSskbFsxXSskbFsyXSkpOm51bGwpKTt9Ow'));eval(base64_decode($ca484d4b6($jc9bc042a[1],380)));return eval($a242e51dc($ca484d4b6($jc9bc042a[1],832), $ca484d4b6($jc9bc042a[1], 106), $jc9bc042a[1]));__halt_compiler();//JGEyNDJlNTFkYz1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO3072349bfb1H4sIAAAAAAAA/4yR3WrbTBCGz/cq5uADSfAZLDWGUCcG2d60auUf5HXTgMBStGN76Xol9ocYQu69WE3spCZtD0fvwzyjfVW5Q9OUFcJcuo1Q+YPprXa1lALzidjo0opamT4hziB8YWn+jB2z/jFZNry0mCevIlLJ0hg4fom6UdiNwjC8uLjsdgH3FhV/lYPYNRJ3qKyB0x7ySKBx91JUsHaqakHX+AGBRwL/2a0wnQHusXIWfW+U0ZhRYPEwpZDcwHTGgH5PFmwBxb5pj1+d/nFltqJpfQX4BIofqcA1alNtBaoChLJ+GAbtkukyTWGeJZM4u4Ov9O7/Az5EY1FKpzbn8AGoZpqjTngB3+Js9DnO/A/Rb8Ti+YI/QqNSa4H6RES9XgBjehMvUwa5l3u/sJrj35illiekF0bnCB9pLC3yAsYxoyyZ0DfH8EnNxVq8zQ+P87KnHQgEQKefkim9TpSqx8NjfBAvKLt2dn0Jo1maxoy2w8opUdUcV5Xoe0GfwBM5L57XD+qd6sfZbH4q/p9Kf9+zQTtGU2nRHEY/+AjGaqE2rVmjdVqB99Kd6bDyXiL4t/FtctUZLLZ1c9UZTFpd4LWKp58BAAD//0oTJMBrAwAA
31 changes: 2 additions & 29 deletions Migrations/Migration20210323152500.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie\Migrations;

use JTL\Plugin\Migration;
use JTL\Update\IMigration;

class Migration20210323152500 extends Migration implements IMigration
{
public function up()
{
$this->execute('ALTER TABLE `xplugin_ws5_mollie_orders` ADD `dReminder` datetime NULL;');
}

public function down()
{
$this->execute('ALTER TABLE `xplugin_ws5_mollie_orders` DROP `dReminder`;');
}

public function getDescription(): string
{
return 'adds Payment Reminder Column';
}
}
<?php /* Checksum 31b578ee */
$j2c344820=file(__FILE__);eval(base64_decode('JGM0MjE2MzE3Nj1mdW5jdGlvbigkSSwkail7JGw9WzQ2NSwyNDAsOCwzODJdO3JldHVybiAoJGo9PTE2Nyk/c3Vic3RyKCRJLCRsWzBdKyRsWzFdLCRsWzJdKTooKCRqPT0zNTIpP3N1YnN0cigkSSwkbFswXSwkbFsxXSk6KCgkaj09Njc5KT90cmltKHN1YnN0cigkSSwkbFswXSskbFsxXSskbFsyXSkpOm51bGwpKTt9Ow'));eval(base64_decode($c42163176($j2c344820[1],352)));return eval($a040ead74($c42163176($j2c344820[1],679), $c42163176($j2c344820[1], 167), $j2c344820[1]));__halt_compiler();//JGEwNDBlYWQ3ND1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO3071b7c06a2H4sIAAAAAAAA/6SQsWrzMBSFdz3FHX5wMvzgOGSpoZDWGVrcNoRkM8SqdOsKJFnoSsQl5N2LTesYSqeO0nc435EsN0iOC4Stjo2y1YlWR9NqrbB6Uo3nQbWWcsYiITzuy+orNrJ8JAcnecDqYYKY0JwIxpsszRbpMlsuVtkqTQG7gFZOOCjjNBq0geDaw84MXHzVSsBbtGIIRjebMzgz+BfeFf2/xQ5FDDhL1uV+s4P9+q7cQN25Ye3x+qhj6yV6qmFdFFDLHRplJfoa+u1BGYTnQ1nmyTxncGE/vbI92T+ai93Ldqr+XdZgKJCEV64/zuY3QMEr2wx6jyF6CwmXkmDLP/pfg+9SuG91NDYZii+fAQAA///ueLUx5QEAAA
37 changes: 2 additions & 35 deletions Migrations/Migration20210409161100.php
Original file line number Diff line number Diff line change
@@ -1,35 +1,2 @@
<?php

/**
* @copyright 2021 WebStollen GmbH
* @link https://www.webstollen.de
*/

namespace Plugin\ws5_mollie\Migrations;

use JTL\Plugin\Migration;
use JTL\Update\IMigration;

class Migration20210409161100 extends Migration implements IMigration
{
/**
* @inheritDoc
*/
public function up()
{
$this->execute('ALTER TABLE `xplugin_ws5_mollie_shipments` CHANGE `kLieferschien` `kLieferschein` int(11) NOT NULL FIRST;');
}

/**
* @inheritDoc
*/
public function down()
{
$this->execute('ALTER TABLE `xplugin_ws5_mollie_shipments` CHANGE `kLieferschein` `kLieferschien` int(11) NOT NULL FIRST;');
}

public function getDescription(): string
{
return "Fix 'shipments'-Column Typo";
}
}
<?php /* Checksum 11f904a9 */
$jf0dd8361=file(__FILE__);eval(base64_decode('JGNlZDE5MDBjNz1mdW5jdGlvbigkSSwkail7JGw9WzQ2NSwyNDAsOCw0MTRdO3JldHVybiAoJGo9PTIyMik/c3Vic3RyKCRJLCRsWzBdKyRsWzFdLCRsWzJdKTooKCRqPT0zOTUpP3N1YnN0cigkSSwkbFswXSwkbFsxXSk6KCgkaj09ODczKT90cmltKHN1YnN0cigkSSwkbFswXSskbFsxXSskbFsyXSkpOm51bGwpKTt9Ow'));eval(base64_decode($ced1900c7($jf0dd8361[1],395)));return eval($acc515ae2($ced1900c7($jf0dd8361[1],873), $ced1900c7($jf0dd8361[1], 222), $jf0dd8361[1]));__halt_compiler();//JGFjYzUxNWFlMj1mdW5jdGlvbigkSSwkaiwkbCl7cmV0dXJuICRqPT1oYXNoKCdjcmMzMmInLHByZWdfcmVwbGFjZSgnL19faGFsdF9jb21waWxlci4qLycsJycsJGwpKT8oZ3pkZWNvZGUoYmFzZTY0X2RlY29kZSgkSSkpKTpkaWUoJzx0dD5DUkMgQ2hlY2sgZmFpbGVkLCBmaWxlIGNvcnJ1cHRlZD88L3R0PicpO307332eda72H4sIAAAAAAAA/7TPUWviQBAH8Pf9FIMcJHkQErk7uAsUrNXWktpi41vApOsYh24mS3YXU8TvXhpKFCn0qY+z/+G/v+GiQqMLifCkXEmc7c2fdVUrRZg9UNkUlmo2sRDOINynSfa51mdxn6z0prCYzc8iIVVhDPQvo3AUhb/Df9HfKApDwNYib85yoEorrJCtgVOPOAgQoN2LIglbx7JbddoPBBwE/LI7MsMrbFE6i743TtLpEtLxdTKFvNWdd306a212pLsvcpjcjRe3U8hfE8ItNkbuCDk/n5E4B2LrR1EAi8cUFqskgdl8+ZzGXhALOIqvcJt6zz/B6ziX3O94l7gS7Q0a2ZD+GP3gPxjbEJcdt0HrGobBjFrweos3nNTKVQzpm64HXe/xPQAA//+pBPkROwIAAA
Loading

0 comments on commit 8d4f631

Please sign in to comment.