web-monetization-extension
web-monetization-extension copied to clipboard
[BUG] delayed balance update & failed 1-time payment
Steps to reproduce
- Navigated to a monetized web page (https://sidvishnoi.com/test/wm/).
- Conditions: testing with a
ilp.interledger-testUSD payment pointer connected to the extension, with continuous payments enabled, the hourly rate set to $1, and monthly renewal enabled. - Started with the extension showing a $0.41 available balance.
- 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. - Navigated to Settings > Budget to check the available balance, now at $0.39
- 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
To be discussed in next Open Payments/Rafiki call so we can have balance available without making a new outgoing payment.
Minor note: the next Open Payments call is scheduled for tomorrow, 4 Dec.
Open payment issue tracked here: https://github.com/interledger/open-payments/issues/535