make_post_sell/make_post_sell
Russell Ballestrini 73bbf04fd4 Fix payment priority order and refund processing
- Fix payment_priority() to include ALL refund statuses (EXPIRED_REFUNDED, UNDERPAID_REFUNDED, OUT_OF_STOCK_REFUNDED) not just DOUBLEPAY_REFUND
- Auto-sweep operations (CONFIRMED, CONFIRMED_OVERPAID, NO_REFUND) now have lowest priority (3)
- Refactor to use match/case statements for better readability
- Add comprehensive docstring explaining priority system
- Ensure refunds processed before auto-sweep for customer service priority

Priority order: 0=refunds, 1=incoming, 2=other (pending/terminals), 3=auto-sweep
2025-09-30 08:05:08 -04:00
..
lib Fix payment priority order and refund processing 2025-09-30 08:05:08 -04:00
models Fix payment priority order and refund processing 2025-09-30 08:05:08 -04:00
scripts Improve code formatting and email notification system 2025-09-27 14:16:27 -04:00
static Add crypto logos to checkout UI and clean up sweep scripts 2025-09-29 08:22:49 -04:00
templates Add crypto logos to checkout UI and clean up sweep scripts 2025-09-29 08:22:49 -04:00
tests Fix double spend protection tests and precision handling 2025-09-29 19:53:46 -04:00
views Fix payment priority order and refund processing 2025-09-30 08:05:08 -04:00
__init__.py Add Monero (XMR) payment support 2025-09-22 01:45:54 +00:00
config_jinja2.py Time to open the sauce : ) 2021-12-31 21:39:40 -05:00
request_methods.py modified: .gitignore 2025-09-26 06:53:07 -04:00
routes.py Add temporary read-only debug route for crypto wallet scanning issue 2025-09-28 15:53:35 -04:00