d3c994083e
lock_user_for_pricing with populate_existing=True was overwriting the pending is_daily_paused mutation before db.commit(), silently discarding the pause toggle. Fix moves lock before state reads, uses commit=False for subtract_user_balance and create_transaction to ensure single atomic commit, and re-applies is_daily_paused after any populate_existing reload.