Skip to content

bug: a repaid spark invoice shows the new amount on success after restart #2122

Backlog

Description

@ovitrif

After a restart, repeating an amountless invoice already paid over Spark at another amount shows the new amount on Success.

Steps

  1. Pay an amountless invoice over Spark and wait until it is paid.
  2. Restart the app, then pay the same invoice again at another amount.

Expected

Success shows the amount that was paid.

Actual

SparkRepo.payInvoice returns the paid payment without sending again, but AppViewModel reads the earlier amount only for a payment this view model has already processed, so Success shows the new amount.

Predates #2071. Found in @pwltr's review of it (#2071 (review)).

Activity

  1. added this to the 3.3.0 milestone on Nov 26, 2026
  2. added theissue type on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions