• v1.1.0 d3b28258e2

    btcbob released this 2026-11-06 14:18:25 +00:00 | 2 commits to master since this release

    Refund and late-payment fixes. Upgrade recommended for every v1.0.0 store: these change how money owed back to buyers is tracked.

    What's fixed

    • Return addresses are kept while a refund is owed. The nightly privacy purge used to blank the buyer's XMR return address on underpaid, overpaid or cancelled-after-payment orders, leaving nowhere to send the refund.
    • Late payments are caught. Expired and cancelled orders are watched for late_watch_days (default 30). Coin that arrives after an order closed is recorded and you get a REFUND DUE email.
    • Overpayments after payment are caught. Paid and shipped orders are watched for the same window. Extra coin raises the received total and you get an OVERPAID email.
    • Mark refunded. A button beside "Refund due" in the console. It records the amount the page showed, so coin landing after the page loaded stays due.
    • Underpaid orders expire safely. They wait for the scan to reach the tip plus expiry_grace_minutes, like unpaid ones, so a last-minute top-up isn't missed.
    • Time-locked outputs on a closed order count toward what is owed.
    • Self-healing alerts. Refund totals and alerts are reconciled every poll, so an alert lost to a crash goes out on the next run. The alert latch is atomic.
    • Sturdier worker. One broken order no longer stops the poll run. The late watch is time-budgeted (late_scan_budget_seconds, default 25).
    • Console input. Price fields reject ambiguous input (1,2, abc) instead of 1,234.50 silently becoming 1.00, and round to cents. Stock edits apply as a change from what the form showed, with a one-shot token, so a checkout made while the form was open, or a double-click, can't corrupt stock.
    • status.php honours refunds already marked.

    Upgrade from 1.0.0

    Keep your config.php and data/, replace everything else. New database columns are added automatically on the first request. No config changes needed; late_watch_days and late_scan_budget_seconds are optional.

    R=https://git.subgenius.finance/SubGeniusFinance/xmr-cart/releases/download/v1.1.0
    curl -LO $R/xmr-cart-1.1.0.tar.gz -LO $R/xmr-cart-1.1.0.tar.gz.sha256
    sha256sum -c xmr-cart-1.1.0.tar.gz.sha256
    tar xzf xmr-cart-1.1.0.tar.gz
    sudo rsync -a --exclude=config.php --exclude=data/ xmr-cart-1.1.0/ /var/www/xmr-cart/
    

    Back up data/store.sqlite first. Fresh installs: same steps as 1.0.0, with 1.1.0 in the URLs.

    Downloads