web-monetization-extension icon indicating copy to clipboard operation
web-monetization-extension copied to clipboard

[FEATURE REQUEST] Improve payment confirmation

Open RabebOthmani opened this issue 5 months ago • 2 comments

Describe the feature you would like to request

This request is based on tester's feedback

After sending a payment, the confirmation within the button happens quickly and then resets. There's a risk of the user not noticing the confirmation if they got slightly distracted away from that screen.

Describe the solution you would like

Stay in confirmed state until user takes an action (maybe an ok or return button )

Acceptance criteria

  • The extension should show an error message if not able to facilitate the payment with the text ' Something went wrong. Please try again'
  • The extension should show a confirmation message if able to facilitate the payment with the text ' Thanks for your support.'
  • Once a payment is facilitated, the amount is reset to 0 and the 'pay now' button is disabled.
  • The text above the amount should say ' Support [ website url]'
  • the 'pay now' button is enabled once the amount is > 0. ~~- The extension should say 'donate now' instead of 'pay now'~~

Screenshot is for prototyping purposes only and not a final design

RabebOthmani avatar Sep 02 '24 15:09 RabebOthmani