- 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. |
||
|---|---|---|
| .. | ||
| crypto-payments-state-machine.md | ||
| CRYPTO.rst | ||
| CRYPTO_PROBLEMS.rst | ||
| CRYPTO_WATCHER_FLOW.md | ||
| DOGECOIN.md | ||
| MONERO.rst | ||
| MONERO_DEFECTS.rst | ||
| MONERO_DOOM.rst | ||