Incorrect fiat-to-msat conversion causes wrong Lightning invoice amounts in manual and auto-pay billing #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Billing converts Stripe invoice amount_due directly to Lightning msats using amount_due * 1000, which treats fiat minor units as if they were sats-derived units. This makes paid amounts market-dependent and generally wrong, because no FX quote is applied.
Business impact
Why this is definitely wrong