Verification of payment and enrolment

Want create site? Find Free WordPress Themes and plugins.
  1. Get a list of transactions with the command:listtransactions «account»
    where «account» — filter (if you want to see only transactions for a given account)
  2. In response, check the type of transaction (incoming); the amount; the number of confirmations in the network required to accept the payment in your system (For example, if there are more than 3 confirmations, then we accept the payment):
  3. Do check the database to see if there is already a given transaction (txid). And if not — increase the balance of the client (the payment is credited).
    If you accept payments in a different currency in your system, then after checking txid in the database, you should request an exchange rate and record the amount in required currency.Then, write data to a log, and you are done.
Did you find apk for android? You can find new Free Android Games and apps.