Post
Topic
Board Altcoin Discussion
Wordpress payment gateway for ERC20 token
by
cdtbtc
on 04/11/2017, 03:48:47 UTC
Does anyone know of a one-size-fits-all plugin that would provide a payment gateway for a WordPress site to accept ERC20 tokens?

If not, I'm thinking a low-tech solution might go something like this:

   1.   Create several/many ETH addresses
   2.   When user clicks ‘Generate Address’, it chooses one of these addresses as that person’s dedicated payment address
   3.   When user clicks ‘Check receipt of payment’, check to see if the token balance has increased by the given amount
         a. If it has, credit the user’s account and release the dedicated payment address
         b. If not, tell the user about receiving a smaller amount than expected
             i.   If user has not funded the address is 24 hours, release the address.

Thoughts or advice?