Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace current iframe solution with OP #10

Open
lengyel-arpad85 opened this issue Oct 18, 2024 · 0 comments
Open

Replace current iframe solution with OP #10

lengyel-arpad85 opened this issue Oct 18, 2024 · 0 comments
Assignees

Comments

@lengyel-arpad85
Copy link
Collaborator

Since iframes present a problem when using session cookies and we do not control every wallet provider and how they have their sameSite cookie property setup we need a solution not using iframes.
Open Payments should be implemented, mostly copying the existing solution used by interledgerpay.com:

  • initialise connection with a default wallet address, key id and private key ( we need these created on the new https://wallet.interledger-test.dev/ )
  • require user wallet address and sum to pay
  • generate a quote and display it for the user
  • create a grant and have the user confirm / reject
  • handle grant / create payment
  • finalise / show success message
  • reset / return user to first screen

the entire solution should be it's separate component so it can be reused in both widget and button implementation

@adrianboros adrianboros self-assigned this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants