Добавлена обработка неизвестных методов оплаты. Добавлен новый метод оплаты sber_loan

This commit is contained in:
Антон Н. Николаев
2023-06-30 14:16:46 +03:00
parent 04389851e3
commit a7570b5e42
386 changed files with 3221 additions and 851 deletions
@@ -35,7 +35,7 @@ use InvalidArgumentException;
*/
class NotificationFactory
{
private $typeClassMap = [
private array $typeClassMap = [
NotificationEventType::PAYMENT_CANCELED => 'NotificationCanceled',
NotificationEventType::REFUND_SUCCEEDED => 'NotificationRefundSucceeded',
NotificationEventType::PAYMENT_SUCCEEDED => 'NotificationSucceeded',