Good progession

This commit is contained in:
2025-09-18 13:01:58 -04:00
parent 630584512e
commit 4bdfb4238d
4 changed files with 102 additions and 40 deletions

View File

@@ -90,7 +90,7 @@ def update_transaction_for_capture(db: Session, auth_net_transaction_id: str, ch
return None
transaction.charge_amount = charge_amount if status == 0 else Decimal("0.0")
transaction.transaction_type = 3
transaction.transaction_type = 2
transaction.status = status
if rejection_reason:
transaction.rejection_reason = rejection_reason