#788 Pay With SmartCash: Payment Gateway Plugin for Woocommerce to accept SmartCash

By sahilnanda


This proposal aims to create a Payment Gateway Plugin for Merchants on WooCommerce to accept SmartCash. BuiltWith reports that in January 2019, a total of 2,906,789 websites use WooCommerce. The integration will help to bring the network effects of WooCommerce merchants and customers to SMARTCash.


The current 2019 market share for WooCommerce is 22% of the top 1 million sites using eCommerce technologies.

As we can see from this link https://imgur.com/a/utlEtf2, WooCommerce leads as the most popular choice among the top eCommerce sites, ahead of both Magento and Shopify.


Already there are a lot of payment gateway plugins available for cryptocurrencies. But most of those Plugins simply display Merchant’s wallet Public addresses to transact a payment which makes it difficult for the Merchants to uniquely identify different transactions. 

Therefore we are creating a completely decentralized way for Merchants on WooCommerce to accept SmartCash on a newly generated unused address for each transaction with the help of Master Extended Public Key(xPub).

How will it work?

Flow chart of the entire workflow: https://imgur.com/a/TlnnUxu

  • The plugin will be hosted on the WordPress Free Plugin Repository and installation will be simply search, install and activate.
  • The plugin backend will allow the Merchant to simply enter Master Extended Public Key(xPub) from their Electrum Wallets and the Discount they would like to offer on the backend and enable the Payment gateway.


  • Possible Flow for a transaction:
    • The consumer selects Pay with SmartCash and clicks PROCEED/NEXT.
    • The Merchant server/plugin requests for the real-time price.
    • Gets real-time price.
    • Checks for the unused address index.
    • Gets the unused address index and generates the new address with the help of the Master Extended Public Key(xPub) key.
    • Display the payment page to transfer the exact amount to the newly generated address and wait for confirmation.
    • Wait for the callback request for confirmation of the transaction on the generated address for the exact same amount.
    • Update the status of the address.
    • If the transaction is confirmed successful display Thank You Page.
    • Because of the technology behind SMART, confirmation time should be really, really fast.



A plugin hosted on the WordPress Free Plugin Repository with the following features:

  • Generation of new unused receiving address for each transaction. 
  • Real-time price conversion.
  • Counter for the validity of a transaction.
  • Setup: Server for price conversion and confirmation callbacks.
  • Address log for merchants: An address logger that will list the time and date an address was handed out, orderID, status, and the address itself. Merchants would be able to see the Address Log in WordPress admin > Settings > SmartCash Address Log.
  • Installation documentation for the plugin for merchants will be provided and it will be hosted on WordPress plugin repository as well as on Github.


All code will be open source under MIT license. 

Maintenance & Upkeep

  • Maintaining the system actively for the next 3 months. That means bug fixes if any with the specs mentioned in the current proposal.
  • For 1 year: support if the system goes down.



4 weeks

Total hours expected for the project to complete:

120 hours

Proposal Amount:

3600 USD


Future Iterations

Based on the lessons learnt while developing this proposal and the impact of the plugin after we ship, we plan to ship integrations for the next biggest e-commerce platforms like Spotify & Magneto. 


Who are we? 

Sahil, a software developer @ The Vantage Project will be developing the project full time. 

Github: https://github.com/sahilnanda1995


Prastut, currently a partner @ The Vantage Project, comes from a UX, product management & full stack background.
Github: https://github.com/prastut 



Proof of work in other communities: 

  • Polkaviz:
    1. Project Link: http://polkavizproject.surge.sh/ 
    2. Community which funded the project: PolkaDAO
    3. Description: a data visualization project of the Polkadot ecosystem. It will start to educate people about the ecosystem and it’s actors. 
    4. Developers: Developed by Sahil, supervised by Prastut. 







Research link: https://docs.google.com/document/d/1Y7AzElBIwHaPx0OBUdBfHVW1Bj1Yj12FoNrjQogSDWY/edit?usp=sharing




Date Amount (US$) Amount (Σ) Description Status
September 17, 2019 600.00 1,129,390.51 * For the research done before submitting the proposal + kickstarting the project. -
October 16, 2019 3,000.00 5,646,952.53 * After completion of the Project. -
* Estimated

Requested Amount

  • Total USD: 3,600.00
  • Estimated SMART: 6,776,343.03
  • Estimated BTC: 0.17789933


  • Created Date: Monday, September 2, 2019
  • Voting Deadline: Tuesday, September 17, 2019 15:03:00 UTC
  • Payment Date: Payments will be made in accordance with the delivered milestones


  • Not Funded


Yes (11,732,839.94)
No (20,320,288.27)
Abstain (266,822.82)

Voting Audit

Address Voting Power Vote Is Valid

Proposal Audit

Date Description Yes No
2019-09-02 15:47:34 Proposal created. Waiting for approval. -
2019-09-03 15:02:57 Open voting. Deadline up to 2019-09-17 15:02:57. (Discord Andrew) -
2019-09-16 15:05:38 Last 24 hours of the vote. Σ 11452777.10120 Σ 20329111.37059
2019-09-17 15:05:38 Voting closed. Status: Not Funded. -


  • prastut 09/04/2019 05:23

    Hello to everyone who voted! Thank you for taking out your time and considering us. To the people who are voting no/abstaining, if you can take out 2 minutes of your time to give us feedback on which area should we improve, that would be wonderful. Feedback will help us understand where do we have to improve. Onwards and upwards SMARTCash community :)