Example
Receive test payments
Use the Interledger’s Web Monetization browser extension and Playground to receive payments without using real money.
This tutorial takes you through using one funded test wallet to send and receive payments. In other words, the wallet you’ll send payments from is the same wallet that will receive payments.
Web Monetization Playground
The Web Monetization Playground lets you monetize the page by entering a wallet address or payment pointer.
Your browser extension will send payments to the address you enter if your wallet provider and the address’s wallet provider can transact with one another.
If your browser extension is connected to a wallet that uses real money and you enter an address that your wallet provider can transact with, you will be making real payments. For the tutorials on this page, we are using fake money.
Receive continuous payments
- Enable continuous payments within the extension if they aren’t already. Check your settings by selecting the cog icon, then the Rate tab.
- Go to the Web Monetization Playground.
- Enter your wallet account’s payment pointer into the field and select Add monetization link.
- Remain on the Playground page, with the window active, long enough for a few events to appear on the page. The amount of time it takes for events to appear depends on the rate you have set up in the extension.If your rate is €0.60 EUR an hour, then it will take 5-6 minutes for three events to appear.
- Select Disable to stop the payments.
- Sign in to your Interledger test wallet and select Transactions from the left menu. A completed outgoing payment appears for each event, as well as a single pending incoming payment with a zero amount.
Outgoing payment amounts
To mimic how a real wallet provider could act, the Interledger test network deducts a 0.01 fee from each outgoing payment. If your rate is €0.60 EUR an hour, each Playground event will show 0.01 EUR while each outgoing payment in your transaction list will show -€0.02. - Wait 10 minutes, then refresh the page. The pending incoming transaction will show as completed and reflect the amount deposited into your wallet.
Example
If your rate is €0.60 EUR an hour and you waited for three Playground events, your incoming payment will be €0.03.
Receive a one-time payment
- Go to the Web Monetization Playground.
- Enter your wallet account’s payment pointer into the field and select Add monetization link.
- Open the extension, enter a one-time payment amount, then click Send now. A new event will appear in the Playground almost immediately.
- Sign in to your Interledger test wallet and select Transactions from the left menu. A completed outgoing and incoming payment will appear.
Incoming payment amount
To mimic how a real wallet provider could act, the Interledger test network deducts a 0.01 fee from each outgoing payment. If you made a one-time payment of €1.00 EUR, the completed incoming payment will be for €0.99.