8
0
Fork 1

enable Link Mobility php client v2 as dependency variant

Dieser Commit ist enthalten in:
Daniel Seifert 2022-07-20 11:57:58 +02:00
Ursprung e159aaa3b0
Commit 224057b807
Signiert von: DanielS
GPG-Schlüssel-ID: 8A7C4C6ED1915C6F
4 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -20,7 +20,7 @@
"require": {
"php": "^7.0 || ^8.0",
"oxid-esales/oxideshop-ce": "6.7 - 6.10",
"d3/linkmobility-php-client": "^1.2.0"
"d3/linkmobility-php-client": "^1.2.0 || ^2.0.0"
},
"extra": {
"oxideshop": {

Datei anzeigen

@ -57,7 +57,9 @@ class OrderRecipients
}
}
throw oxNew(noRecipientFoundException::class);
/** @var noRecipientFoundException $exc */
$exc = oxNew(noRecipientFoundException::class);
throw $exc;
}
/**

Datei anzeigen

@ -57,7 +57,9 @@ class UserRecipients
}
}
throw oxNew(noRecipientFoundException::class);
/** @var noRecipientFoundException $exc */
$exc = oxNew(noRecipientFoundException::class);
throw $exc;
}
/**

Datei anzeigen

@ -15,6 +15,7 @@ declare(strict_types=1);
namespace D3\Linkmobility4OXID\Modules\Application\Model;
use D3\Linkmobility4OXID\Modules\Core\EmailCore;
use OxidEsales\Eshop\Core\Email;
class OrderModel extends OrderModel_parent
@ -24,6 +25,7 @@ class OrderModel extends OrderModel_parent
parent::cancelOrder();
if ($this->getFieldData('oxstorno') === 1) {
/** @var EmailCore $Email */
$Email = oxNew(Email::class);
$Email->d3SendCancelMessage($this);
}