Skip to content

[FEATURE REQUEST] Widget validation for incompatible wallet provider payment attemps #498

@DarianM

Description

@DarianM

Describe the feature you would like to request

Add error handling and user-friendly messages when users attempt payments between incompatible wallet providers in the payment widget tool.

Describe the solution you would like

When a user clicks the "Submit" button with an incompatible wallet address:

  • Display a clear, actionable error message explaining why the payment cannot proceed
    • like in the wm extension "This page cannot receive payments from your wallet at this time. Please check back later"
  • Suggest alternative actions (e.g., use a compatible wallet provider)
  • Prevent confusing network errors from reaching the user

Additional context

Problem

Currently, when a user attempts to pay from an incompatible wallet provider, the error handling is unclear or non-existent. This can happen in several scenarios:

  1. Testnet to Production: Attempting to pay from a testnet wallet (e.g., test.wallet.example) to a production wallet (e.g., Interledger App wallet)
  2. Unpeered Providers: Attempting to pay between wallet providers that haven't established peering (e.g., GateHub wallet → Interledger App wallet)

Implementation Considerations

  • potentially new route for wallet provider validation; potentially verification possible by successfully creating a payment quote

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion: ideaIdeas of potential featurestriageWaiting to be assigned labels

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions