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

Test the GET request when sending a transaction request with the UI #31

Open
mcintyre94 opened this issue Apr 21, 2023 · 0 comments
Open

Comments

@mcintyre94
Copy link
Collaborator

We can test/debug the POST request using this component: https://github.com/solana-labs/solana-pay-scaffold/blob/main/src/components/SendTransactionRequest.tsx

It sends the POST request with the connected wallet, decodes the returned transaction, logs debug information and then sends the transaction.

We should have it also send the GET request and show a helpful error if it doesn't work, since this is also required by Solana Pay and mobile wallets will error if it doesn't work correctly.

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

1 participant