WooCommerce - Steem as Payment Method (ONGOING DEVELOPMENT)

in steem •  8 years ago  (edited)

Update #2 [June 2, 2017]

https://steemit.com/steem/@recrypto/woocommerce-steem-1-0-1-beta

Update #2 [May 30, 2017]

https://steemit.com/steem/@recrypto/woocommerce-steam-1-0-0-beta

Update #1 [May 30, 2017]

Here's the GitHub repository for the plugin: https://github.com/recrypto/woocommerce-steem
PLEASE DO NOT USE ON PRODUCTION. WE'RE CURRENTLY DOING MORE DEVELOPMENT TESTS.

Update [May 29, 2017]

I've already finished with the Steem blockchain transaction transfer confirmation so it is almost complete for testing. :)

Introduction

Hello guys! I'm a new adopter of Steem and I've just joined a couple of days. I know that there was one before but it was discontinued unfortunately. I decided to create a WooCommerce plugin that accepts Steem as one of the payment method.

Overview

I've been busy recently the past few days as I'm currently developing a payment method for WooCommerce that will accept Steem as payment for both Steem (STEEM) and Steem Dollar (SBD) currencies.

Progress

I'm still currently deciding on what available API to check against the "Transaction (Transfer)". I've also checked SteemSQL http://www.steemsql.com/ and its definitely impressive as I can just do a single statement query for a single transaction transfer with the given payee and memo details.

SELECT * FROM txTransfers WHERE "to" = '{STEEM_PAYEE}' AND "memo" = '{STEEM_MEMO}';

Unfortunately, it needs to have a Microsoft SQL server and I don't think its available for all WooCommerce shop owner's server.

One possible solution I have is to make an API wrapper with my own server and utilize SteemSQL so I can just call it. :)

Note

You will NOT require any Steem keys for this plugin to work. You just have to provide your Steem username and you're good to go.

Screenshots

Selecting Payment Method

Screenshot 1

Checking out and Awaiting Payment

Screenshot 2

Testing

Once I will have a stable version of the plugin, I will release a public repository on Github and update this post. I would like also to ask the community to help out test the plugin for bugs before publicly releasing this to the WordPress Plugin Repository. I would really appreciate the help. (With or without technical skills you can help out test the plugin)

Payment Method Settings

You have the ability to choose what currencies to accept such as STEEM and/or SBD.
Screenshot 1

Stay Tune!

I will keep you guys posted with my progress and the link for the GitHub public repository.

License

I will release the plugin as GNU General Public License version 2 as compatible with WordPress license and FREE to use by anyone who has a WooCommerce shop. ;)

Thanks

@arcange for SteemSQL

Just keep steeming! :)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

made any progress on this?

This a great addition. We want steem to be accepted at more places

have followed you too

Cool, thanks. :)

Step into the right direction that deserves support. Upvoted & followed.

Thanks, greatly appreciate it. :)

  ·  8 years ago (edited)

Unfortunately, it needs to have a Microsoft SQL server and I don't think its available for all WooCommerce shop owner's server.

You do not need any MS SQL Server install on your site or shop owner's site. Any client able to issue a SQL query to a server can be used. You just have to integrate MSSQL compatible libraries.

Thanks for mention =)

Oh, cool. Thanks for that. I'll be checking your recommendation. Anyways, would it be cool for you if I would use SteemSQL as primary for checking transactions for this plugin? :)

No problem. :D

I'm still currently looking for those libraries so I could issue SQL query even without the need of MSSQL database driver. Anyways, can you please recommend any if you know one for PHP? Thanks. I'd greatly appreciate it and if not, that's okay. Thanks. :D

Just an update, I've went with wrapping your API with my own server with ODBC module for my PHP server to serve the WordPress plugin.

I did made some digging last night and that ODBC module is not available on other shared hosting providers for PHP servers and that might be an issue for this plugin.

Thanks so much for that insight! :)

That is great.

Thanks! :)

  ·  8 years ago (edited)

Please don't forget to include “MEMO”

Just disable transaction if “MEMO” field is empty. Upvoted & followed

Sorry, what do you mean by that?

As for how I would implement the payment method, the user would manually send the payments using any wallet application they utilize with the "Payee" and "Memo" to keep track of the Steem transaction transfer.

Sorry, I thought that is a box that should be filled before transfer. My mistake.

Oh, no problem about that. "Memo" should be automatically generated and stored on the WooCommerce Order to keep track of the Steem Transaction Transfer on Steem Blockchain when they decided to checkout and make a payment.

Anyways, I might have missed something how Steem transactions work. Can you please enlighten me with what you meant with your comment above? Thanks. Greatly appreciate it. :)

I´ll betatest with you when code has been peer reviewed. You can find me here: https://discord.gg/sqxV63P almost anytime. Got a couple of woo shops

That would be cool. Thanks for that and I'll definitely keep you posted with it soon! :)

I've finally finished a working prototype.
https://steemit.com/steem/@recrypto/woocommerce-steam-1-0-0-beta

Cool. Will keep an eye on this and probably add it as the first crypto to my store

Hello,

Please check the official release of this at: https://steemit.com/steemdev/@recrypto/woocommerce-steem-1-0-2-is-now-officially-listed-on-wordpress-plugins-repository

You can now download the plugin on the WordPress Plugins Repository. :)