WooCommerce VIT Payment Method

in #vit2 years ago


I have recently finished developing the WooCommerce VIT Payment Method extension for WooCommerce. It is based off the WooCommerce WLS extension and the WooCommerce Steem Payment Method extension. In addition to the extension, I developed an exchange rate script to determine the current US dollar price of VIT based off the three markets where it is traded. I also developed a simple web API for the extension to query to get the latest transfers to the WooCommerce store owner's VIT account.

In addition to making payments through a VIT wallet such as on Touchit.Social, the plugin is integrated with the WhaleVault browser extension. This week I finished up final testing and today I'm releasing the extension. You can download the extension from Github. I am in the process of getting it listed in the Wordpress Plugin Directory.

I have included the README content below for more information. If you encounter any problems with the extension, please open an issue in the Github Repo.

WooCommerce VIT Payment Method

Accept VIT payments in your WooCommerce store via a VIT wallet or WhaleVault. Automatically converts from fiat (USD, EUR, etc) to VIT. No transaction fees.

Supported VIT Currencies

  • VIT (VIT)


  • There is no extra transaction fee. Payments are made directly between customer and store owner via the VIT Blockchain.
  • This plugin will automatically detect if payment was made once it is posted to the VIT Blockchain.
  • If payment is not completed within several minutes of submitting an order an automatic payment reminder email will be sent to the customer with instructions for submitting payment. This is a fallback for 1) the customer doesn't complete the transaction, and 2) the payment detection functionality in this plugin stops working for any reason.
  • Currency exchange rate between FIAT and VIT is automatically calculated at time of checkout.
  • Currency exchange rate between FIAT and VIT can be optionally displayed below the product price on the product page.

Currency Limitations

  • Currently supports different fiat currencies such as: AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, GBP, HKD, HRK, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, ZAR, EUR
  • If none of the fiat currency listed above, it will default 1:1 conversion rate.

How it Works Behind The Scenes

  • Exchange rates are updated once an hour
  • FIAT foreign exchange rates are gathered from the European Central Bank's free API
  • VIT exchange rates are determined by querying a VIT exchange rate data feed at isfor.me/rates. The rate is derived from taking the average of three exchange markets: IDAX VIT_BTC, IDAX VIT_ETH, and Steem Engine Dex VITP_STEEMP.
  • Your store's VIT wallet is scanned every 5 minutes for pending transactions (if there are any orders with pending payment)
  • If an order is Pending Payment for too long it will be automatically canceled by WooCommerce default settings. You can change the timing or disable this feature in WooCommerce -> Settings -> Products -> Inventory -> Hold Stock (Minutes)

Technical Requirements

WooCommerce plugin must be installed before you install this plugin.

This plugin requires WordPress CRON jobs to be enabled. If CRON jobs are not enabled, currency exchange rates will not be updated and this plugin will not be able to search for VIT payment records. If your exchange rates are not updating or if orders were paid for but still say "Payment Pending" or are automatically canceled, it is likely that CRON jobs are not enabled on your server or are not functioning properly.

Order payments should normally be reflected in the order automatically within 5 to 10 minutes. If the order is is still status Payment Pending or becomes cancelled after more than 10 to 15 minutes, it is likely that your CRON jobs are not enabled.

An alternative to using WordPress CRON jobs is setting up a real Crontab. A real Crontab is more efficient than using WordPress CRON jobs, and so you may prefer this approach. You can find instructions for setting up a real Crontab here: https://helloacm.com/setting-up-a-real-crontab-for-wordpress/

Security Note

You will NOT be required to enter any VIT private keys into this plugin. You only have to provide your VIT username so that the plugin knows where payments should be sent.









  • Special thanks to AnatoliyStrizhak for developing the WooCommerce WLS plugin, based on the plugins below.

  • Special thanks to @sagescrub for forking the original "WooCommerce Steem" and making the "WooCommerce Steem Payment Method" plugin. Thank you @sagescrub!

  • Special thanks to @ReCrypto for being the author and inventor of the original "WooCommerce Steem" plugin. Thank you @ReCrypto!


Authors claim no responsibility for missed transactions, loss of your funds, loss of customer funds, incorrect or delayed exchange rates or any other issue you may encounter as a result of using this plugin. Use this plugin at your own risk.

The WooCommerce VIT Payment Method is a free, open-source extension for WooCommerce software. WooCommerce name and trademark are used to indentify purpose of this plugin software. There is no official partnership or endorsement between WooCommerce and WooCommerce VIT Payment Method.


  1. Upload the plugin files to the /wp-content/plugins/woocommerce-vit-payment-method directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Turn on VIT as a payment method in WooCommerce->Settings->Payments. Turn on the "Enabled" switch.
  4. Update settings for this plugin in WooCommerce->Settings->Payments and clicking "Manage" next to "VIT"
  5. Make sure to put your VIT username in the "Payee" box so that you will receive payments.
  6. Make sure that WordPress CRON jobs are enabled. If you are not sure how, you should ask your web host to help.
  7. Recommended: Try some sample test transactions with small amounts to make sure payments are received and they are registered in the order.

If you'd like to support my efforts, consider voting for my witness on the VIT Blockchain, @mbs305.


This is pretty sweet stuff...it could help expand the VIT chain. Now i understand why it is called Vision Industry!

New era has just started for Vision Industry Token. #VIT to the MOON!

What a great initiative. Good to see something being developed for this token.

Excellent!.. Thanks for all of your hard work & dedication:)

Is this something you can use for your other websites to enable your fans to purchase your content with VIT? If so I would love to come and test it out.

Yes. That is exactly what it is. Content or anything Vit related. Not exactly sure yet how we might be able to possibly help people to integrate. But as soon as I know more about that, I will let you know. This is very exciting:)

Are you planning on adding other tribe tokens, or even Dporn tokens?
The more tokens the more volumn and business. @dporn folks should check this out!

Yes, I'm helping with the dporn tribe @out-there let us know if we can get added to this gateway as we have a few vendors would would love to do both VIT & Porn transactions. You can find us in our discord here.

Congratulations @out-there! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You distributed more than 200 upvotes. Your next target is to reach 300 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

SteemFest Meet The Stemians Contest - The mysterious rule revealed
SteemFest⁴ - Meet the Steemians Contest
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Awesome! So anyone out there who is already using the WooCommerce plugin and who can start testing the VIT payment method? Let me know and I may come to your shop to buy something with my VIT.

Hi @nakedyoga, yes anyone who is running WooCommerce site can install the plugin and test or use it to accept payments in VIT now. I'm working on getting the plugin into the official Wordpress plugin directory which will make it super easy for WooCommerce site owners to install and keep up to date.

I'm hoping to have a public site using the plugin real soon. Once it is up, it will be announced on VIT blog sites.


Sounds very good.
I need a T-shirt and hopefully soon there will be sweaters and jogging pants. Top Greetings from Germany

Congratulations @out-there! You received a personal award!

Happy Steem Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!