interledger / web-monetization-extension

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

[BUG] Payment failing #320

Closed RabebOthmani closed 3 months ago

RabebOthmani commented 3 months ago

Steps to reproduce

I'm testing out the extension. This is how my settings look like:

wallet

I tried to process a payment on https://alexlakatos.com/ then on https://www.radu.sh/

Expected result

I would expect my payment to succeed or at least in case of failure, I'd expect to see a clear message with the reason behind the failure.

Actual result

On Alex's website, the first error message I received was website not monetized then after retrial I got we can't facilitate the payment. On Radu's website, I got we can't facilitate the payment.

WM Extension error message

WM Extension correct error message

payment radu

I'm not sure if I'm doing something wrong on my side.

Screenshots or videos

No response

Additional context

No response

Operating system

Windows

Operating system version

No response

Browsers

Chrome

Browser version

No response

Extension version

Alpha

sidvishnoi commented 3 months ago

We pay from the initially granted balance only. In this case, grant was for 0.25 but payments are larger.

We can either:

In case of (1), it would be helpful to know the balance and show it to user.

RabebOthmani commented 3 months ago

My goal was to test and see what error messages we are providing users with thus the amount being larger. But even when I try to test with an amount that's available, the payment still fails. I'm wondering if there's a minimum amount. I purposely wanted to test with edge cases like tiny amounts etc

RabebOthmani commented 3 months ago

After further investigation, this issue is about:

RabebOthmani commented 3 months ago

Breaking this issue to smaller ones and closing this. https://github.com/interledger/web-monetization-extension/issues/329 https://github.com/interledger/web-monetization-extension/issues/331 https://github.com/interledger/web-monetization-extension/issues/332