From 71c525c20e6270f49ad117cacc8648c03fe3988c Mon Sep 17 00:00:00 2001 From: Fernando Date: Fri, 9 Aug 2024 17:09:01 -0400 Subject: [PATCH] feat: update const for transaction status --- plugin/src/Models/Transaction.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/src/Models/Transaction.php b/plugin/src/Models/Transaction.php index 58e7a250..32114df3 100644 --- a/plugin/src/Models/Transaction.php +++ b/plugin/src/Models/Transaction.php @@ -10,9 +10,10 @@ class Transaction extends BaseModel const STATUS_PREPARED = 'prepared'; const STATUS_INITIALIZED = 'initialized'; - const STATUS_FAILED = 'failed'; - const STATUS_ABORTED_BY_USER = 'aborted_by_user'; const STATUS_APPROVED = 'approved'; + const STATUS_TIMEOUT = 'timeout'; + const STATUS_ABORTED_BY_USER = 'aborted_by_user'; + const STATUS_FAILED = 'failed'; const PRODUCT_WEBPAY_PLUS = 'webpay_plus'; const PRODUCT_WEBPAY_ONECLICK = 'webpay_oneclick';