Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] delayed balance update & failed 1-time payment #737

Open
tselit opened this issue Nov 26, 2024 · 2 comments
Open

[BUG] delayed balance update & failed 1-time payment #737

tselit opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
area: background Improvements or additions to extension background script bug Something isn't working
Milestone

Comments

@tselit
Copy link
Contributor

tselit commented Nov 26, 2024

Steps to reproduce

  1. Navigated to a monetized web page (https://sidvishnoi.com/test/wm/).
  2. Conditions: testing with a ilp.interledger-test USD payment pointer connected to the extension, with continuous payments enabled, the hourly rate set to $1, and monthly renewal enabled.
  3. Started with the extension showing a $0.41 available balance.
  4. Tried a few unsuccessful one-time payments for $0.38, $0.34 & $0.30. Each attempt failed, with the extension showing the message Insufficient funds to complete payment.
  5. Navigated to Settings > Budget to check the available balance, now at $0.39
  6. Returned to the landing page and paid $0.20, which was successful but the extension's remaining balance didn't take the successful one-time payment into account (now showing as $0.37).

Expected result

After the extension shows a message that a payment succeeded, I expected for the extension's balance to decrease (more-or-less immediately).

Actual result

There was a fairly long delay (a few minutes, and few actions later) before the extension showed the lower balance.

Screenshots or videos

https://www.loom.com/share/e03c96b43ad24143936f8aa1713c1689?sid=b2616454-6383-420e-bed1-2ad03052b448

Additional context

No response

Operating system

Windows

Operating system version

10

Browsers

Chrome

Browser version

Vivaldi 7.0.3495.18 (Stable channel) (64-bit)

Extension version

Nightly 2024.11.26

@tselit tselit added bug Something isn't working triage Waiting to be assigned labels labels Nov 26, 2024
@sidvishnoi sidvishnoi self-assigned this Nov 26, 2024
@sidvishnoi
Copy link
Member

To be discussed in next Open Payments/Rafiki call so we can have balance available without making a new outgoing payment.

@tselit tselit added area: background Improvements or additions to extension background script and removed triage Waiting to be assigned labels labels Nov 29, 2024
@tselit tselit changed the title [BUG] extension balance inconsistency & unable to pay one-time [BUG] delayed balance update Dec 3, 2024
@tselit tselit changed the title [BUG] delayed balance update [BUG] delayed balance update & failed 1-time payment Dec 3, 2024
@tselit tselit moved this from Backlog to Blocked in Web Monetization Extension Dec 3, 2024
@tselit
Copy link
Contributor Author

tselit commented Dec 3, 2024

Minor note: the next Open Payments call is scheduled for tomorrow, 4 Dec.

@RabebOthmani RabebOthmani added this to the V0.5 milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: background Improvements or additions to extension background script bug Something isn't working
Projects
Status: Blocked
Development

No branches or pull requests

4 participants