make_post_sell/docs
Russell Ballestrini 5c67b9ca4c Fix all crypto payment test failures and status constant issues
- Fix duplicate detection logic to prevent amount accumulation when new transactions arrive to already-processed payments
- Fix status constant naming errors: STATUS_CONFIRMED_OVERPAID → STATUS_CONFIRMED_OVERPAY, STATUS_EXPIRED_REFUNDED → STATUS_LATEPAY_REFUNDED
- Fix SweepRestockingFeeTests mock setup: add missing refund_confirmations, get_coin_config patches, and proper XMR client mocks
- Correct overpayment test expectations: restocking fee sweep happens later after refund confirmation, not immediately
- Update test assertions to match actual implementation behavior (transfer vs sweep_all for XMR)
- Add comprehensive mock configurations for DOGE/XMR atomic units and balance methods

All 108 crypto payment tests now pass. Fixes critical duplicate payment processing bug and aligns test expectations with production behavior.
2025-09-30 13:56:42 -04:00
..
crypto-payments-state-machine.md Fix all crypto payment test failures and status constant issues 2025-09-30 13:56:42 -04:00
CRYPTO.rst Move crypto documentation to docs directory 2025-09-23 13:21:15 -04:00
CRYPTO_PROBLEMS.rst Remove pooled sweep behavior and implement individual payment sweeping 2025-09-24 16:03:50 -04:00
CRYPTO_WATCHER_FLOW.md deleted: debug_auth_headers.py 2025-09-28 15:26:42 -04:00
DOGECOIN.md Dogecoin payment support 2025-09-23 11:17:05 +00:00
MONERO.rst Improve crypto payment handling and out-of-stock refunds 2025-09-24 09:35:07 -04:00
MONERO_DEFECTS.rst Document Monero RPC get_transfers unlocked field defect 2025-09-24 15:03:31 -04:00
MONERO_DOOM.rst Add comprehensive crypto payment state transition validation 2025-09-30 11:26:44 -04:00