Bitcoin Forum
November 23, 2017, 03:43:21 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Wordpress payment gateway for ERC20 token  (Read 69 times)
cdtbtc
Newbie
*
Offline Offline

Activity: 21


View Profile
November 04, 2017, 03:48:47 AM
 #1

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?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!