From 2413233b096e401220787c0c7a5f48f71c58f18e Mon Sep 17 00:00:00 2001 From: Thibault Buathier Date: Fri, 12 Nov 2021 15:29:52 +0100 Subject: [PATCH] fix: transaction info status --- Model/TransactionInfo.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Model/TransactionInfo.php b/Model/TransactionInfo.php index 09b2575..8d56885 100644 --- a/Model/TransactionInfo.php +++ b/Model/TransactionInfo.php @@ -7,12 +7,17 @@ class TransactionInfo public const STATE_SUCCESS = 'SUCCESS'; public const STATE_ERROR = 'ERROR'; - public const STATUS_AWAITING_CERTIFICATION = 'awaiting_certification'; + public const STATUS_WAITING = 'waiting'; + public const STATUS_READY = 'ready'; + public const STATUS_ACCESSED = 'accessed'; + public const STATUS_CODE_SENT = 'code-sent'; + public const STATUS_SIGNED = 'signed'; + public const STATUS_PENDING_ID_DOCS = 'pending-id-docs'; + public const STATUS_PENDING_VALIDATION = 'pending-validation'; public const STATUS_CANCELED = 'canceled'; + public const STATUS_FAILED = 'failed'; public const STATUS_COMPLETED = 'completed'; public const STATUS_EXPIRED = 'expired'; - public const STATUS_FAILED = 'failed'; - public const STATUS_READY = 'ready'; /** * @var string