interledger / web-monetization-extension

An open-source browser extension that enables Web Monetization.
Apache License 2.0
50 stars 3 forks source link

[BUG] Tipping Error "could not facilitate payment for current website" on Web Monetized Sites #387

Closed EricaHargreave closed 2 months ago

EricaHargreave commented 3 months ago

Steps to reproduce

Issue

Getting a "could not facilitate payment for current website" message when trying to tip Web Monetized Sites with the Web Monetization extension.

Sites Tested On

Screenshot 2024-07-02 at 11 46 22 AM Screenshot 2024-07-02 at 11 46 55 AM Screenshot 2024-07-02 at 11 37 11 AM Screenshot 2024-07-02 at 11 36 40 AM

Expected result

It was expected that each site would receive the tip that they were sent via their payment pointer.

Actual result

The message "could not facilitate payment for current website" was displayed on the Web Monetization browser extension, and presently, one hour after attempting to tip the accounts, no funds have left the sending wallets or been received by the receiving payment pointers for Roamancing or StoryToGo.

Screenshots or videos

No response

Additional context

No response

Operating system

macOS

Operating system version

No response

Browsers

Chrome

Browser version

No response

Extension version

alpha 1 (the ext shows v1.0.1)

sidvishnoi commented 3 months ago

I could reproduce this consistently when remaining balance is closer to (or lower than) amount being sent. @EricaHargreave Can you confirm if this is the case above? If not we'd need to investigate more.

EricaHargreave commented 3 months ago

I think I just identified the cause of this issue, @sidvishnoi, being that the sender's 'grant' was out of funds, but rather than receiving a message of "insufficient funds, please top up your grant to send this tip", I received a "could not facilitate payment for current website" message, which makes one think there is either an issue with the WM site or the WM extension.

sidvishnoi commented 3 months ago

Thanks for confirming @EricaHargreave. We'll be handling this as a part of https://github.com/interledger/web-monetization-extension/issues/144 and https://github.com/interledger/web-monetization-extension/issues/147.

EricaHargreave commented 3 months ago

Thanks @sidvishnoi.