From 2d5c2543c97dd96dbec708684ddfcdbefcd7fcb0 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Tue, 23 Sep 2025 18:07:48 -0400 Subject: [PATCH] Use dashes instead of underscores in crypto payment status enums MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change status values from underscore_separated to dash-separated format: - confirmed_overpaid → confirmed-overpaid - expired_refunded → expired-refunded - underpaid_refunded → underpaid-refunded - out_of_stock_refunded → out-of-stock-refunded This provides better consistency with web standards and URL-friendly values. --- make_post_sell/models/crypto_payment.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make_post_sell/models/crypto_payment.py b/make_post_sell/models/crypto_payment.py index ca39028..f1e3624 100644 --- a/make_post_sell/models/crypto_payment.py +++ b/make_post_sell/models/crypto_payment.py @@ -25,12 +25,12 @@ class CryptoPayment(RBase, Base): STATUS_PENDING = "pending" STATUS_RECEIVED = "received" STATUS_CONFIRMED = "confirmed" - STATUS_CONFIRMED_OVERPAID = "confirmed_overpaid" + STATUS_CONFIRMED_OVERPAID = "confirmed-overpaid" STATUS_EXPIRED = "expired" - STATUS_EXPIRED_REFUNDED = "expired_refunded" - STATUS_UNDERPAID_REFUNDED = "underpaid_refunded" + STATUS_EXPIRED_REFUNDED = "expired-refunded" + STATUS_UNDERPAID_REFUNDED = "underpaid-refunded" STATUS_CANCELLED = "cancelled" - STATUS_OUT_OF_STOCK_REFUNDED = "out_of_stock_refunded" + STATUS_OUT_OF_STOCK_REFUNDED = "out-of-stock-refunded" # Active statuses that should be processed by the watcher ACTIVE_STATUSES = [