testnet
testnet copied to clipboard
Check header for url - PP in url to show payment UI
Context
Payment pointer urls on the live wallet should show a payment UI. User has a payment pointer they want to send money to, so we need to check the urls header and Accept key values. If they contain application/json or application/spsp4+json, then return normal OP details for wallet address. If the above are not present redirect to interledgerpay.com with the recepients PP in the url.
Example fynbos - https://fynbos.me/radu
Todos
- implement redirect url as described above
EDIT: When the user inputs the WA they want to send money to (EX. https://ilp.interledger-test.dev/boutique) , redirect to: https://interledgerpay.com/payment-choice?receiver=https://ilp.interledger-test.dev/boutique