I am planning to write a site that receive payments in Bitcoin.
The client add products to the cart, then during check out I will create a Bitcoin address to let him pay for it (each cart gets a unique address). I found the code to create multiple address here. I plan to use the NBitcoin
library.
How do I verify the Bitcoin address has been paid? I'm planning to use a service like blockchain.info, but I only have the following information
- destination Bitcoin address (my generated address)
- the amount it should receive
Is there an easy way to use blockchain.info to query that my address was really paid using C#? I read the API but it is confusing.