Author Topic: First ecommerce bitshares cart plugin dev cycle complete  (Read 52282 times)

0 Members and 1 Guest are viewing this topic.

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
@jsidhu
I am a bit confused, so what is the tl;dr of your work progress so far?
Payment gateway first.. was scope creep that I did on my own because I saw the need. Ecwid is integrated did u test it?
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline bubble789

  • Full Member
  • ***
  • Posts: 91
    • View Profile
@jsidhu
I am a bit confused, so what is the tl;dr of your work progress so far?

Offline CLains

  • Hero Member
  • *****
  • Posts: 2606
    • View Profile
  • BitShares: clains
Hey guys,

I have reworked everything and made a bitshares payment gateway (called it Bitshares Checkout)... I implemented the ecwid cart implementation but the checkout system will be standalone so anyone can integrate with it.. they just have to follow the "API" and implement the 4 or 5 php files I put in the integration folder. I will reuse it to do the rest of the carts, so look and feel will be the same on all implementations.

here is the source again for the ecwid: https://github.com/sidhujag/bitshares-ecwid

here is the demo: http://bitshares.ecwid.com

Go ahead and create a fake order then it will take you to the checkout for bitshares... you can pay via BTS and will be credited for BitUSD orders for testing. I will send all coins back anyways.

Works great!!! I'm a wordpress user, so waiting for a wordpress bitshares cart plugin ;) Are you making one?
Soon!

Really impressive jsidhu!!  :o  +5%

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
maybe in the future interesting?

http://challengepost.com/software/zero-click-bitcoin-micropayments

Need a browser extension? What about other browsers and/or platforms? Its cool for small payment amounts I guess.. something to look into.
Hired by blockchain | Developer
delegate: dev.sidhujag


Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Hey guys,

I have reworked everything and made a bitshares payment gateway (called it Bitshares Checkout)... I implemented the ecwid cart implementation but the checkout system will be standalone so anyone can integrate with it.. they just have to follow the "API" and implement the 4 or 5 php files I put in the integration folder. I will reuse it to do the rest of the carts, so look and feel will be the same on all implementations.

here is the source again for the ecwid: https://github.com/sidhujag/bitshares-ecwid

here is the demo: http://bitshares.ecwid.com

Go ahead and create a fake order then it will take you to the checkout for bitshares... you can pay via BTS and will be credited for BitUSD orders for testing. I will send all coins back anyways.

Works great!!! I'm a wordpress user, so waiting for a wordpress bitshares cart plugin ;) Are you making one?
Soon!
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline bluebit

  • Sr. Member
  • ****
  • Posts: 271
    • View Profile
Hey guys,

I have reworked everything and made a bitshares payment gateway (called it Bitshares Checkout)... I implemented the ecwid cart implementation but the checkout system will be standalone so anyone can integrate with it.. they just have to follow the "API" and implement the 4 or 5 php files I put in the integration folder. I will reuse it to do the rest of the carts, so look and feel will be the same on all implementations.

here is the source again for the ecwid: https://github.com/sidhujag/bitshares-ecwid

here is the demo: http://bitshares.ecwid.com

Go ahead and create a fake order then it will take you to the checkout for bitshares... you can pay via BTS and will be credited for BitUSD orders for testing. I will send all coins back anyways.

Works great!!! I'm a wordpress user, so waiting for a wordpress bitshares cart plugin ;) Are you making one?
BTSX TipMe: bluebit

Offline jamesc





Hey guys,

I have reworked everything and made a bitshares payment gateway (called it Bitshares Checkout)... I implemented the ecwid cart implementation but the checkout system will be standalone so anyone can integrate with it.. they just have to follow the "API" and implement the 4 or 5 php files I put in the integration folder. I will reuse it to do the rest of the carts, so look and feel will be the same on all implementations.

here is the source again for the ecwid: https://github.com/sidhujag/bitshares-ecwid

here is the demo: http://bitshares.ecwid.com

Go ahead and create a fake order then it will take you to the checkout for bitshares... you can pay via BTS and will be credited for BitUSD orders for testing. I will send all coins back anyways.

Eventually, it would be nice to have a seed list of public bitshares api clients the same way the native clients do it.  I planning to implement this in JavaScript.  We will need everyone to consider a new bitshares_client configuration parameter to enable CORS.  I think this will greatly simplify your plugins.
Ive expressed this to bm about cors already on the http port.  CORS would allow us to load the wallet via the web... can we do everything safely in jslib? You have other usecases in mind?
The plugin must run on the client computer because it will access their wallet to poll for transactions.. did you try the demo?

Maybe by the new year we can take your URL on a hosted web wallet, let them pay then come back to the commerce site.   

Is the fruit organic?  I would like to buy some with DevShares.
Heh its a demo shopping cart.

So a hosted web wallet would be backed by rpc node? Or fully emulated?

I was thinking to host it and make a call thru jslib to get the url of the account which I assume isthe merchant website url.. this way merchant would setup their account thru their wallet and then use a hosted gateway.. And loading the gateway I only meed to pass in orderid/hash and accountname to lookup url via rpc (jslib) since we prob wont support php

Yes...  Public calls like blockchain_get_account can go directly to a full node.  Jslib does not manage node lists right now.  I am implementing some calls that start with wallet_....

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile


Hey guys,

I have reworked everything and made a bitshares payment gateway (called it Bitshares Checkout)... I implemented the ecwid cart implementation but the checkout system will be standalone so anyone can integrate with it.. they just have to follow the "API" and implement the 4 or 5 php files I put in the integration folder. I will reuse it to do the rest of the carts, so look and feel will be the same on all implementations.

here is the source again for the ecwid: https://github.com/sidhujag/bitshares-ecwid

here is the demo: http://bitshares.ecwid.com

Go ahead and create a fake order then it will take you to the checkout for bitshares... you can pay via BTS and will be credited for BitUSD orders for testing. I will send all coins back anyways.

Eventually, it would be nice to have a seed list of public bitshares api clients the same way the native clients do it.  I planning to implement this in JavaScript.  We will need everyone to consider a new bitshares_client configuration parameter to enable CORS.  I think this will greatly simplify your plugins.
Ive expressed this to bm about cors already on the http port.  CORS would allow us to load the wallet via the web... can we do everything safely in jslib? You have other usecases in mind?
The plugin must run on the client computer because it will access their wallet to poll for transactions.. did you try the demo?

Maybe by the new year we can take your URL on a hosted web wallet, let them pay then come back to the commerce site.   

Is the fruit organic?  I would like to buy some with DevShares.
Heh its a demo shopping cart.

So a hosted web wallet would be backed by rpc node? Or fully emulated?

I was thinking to host it and make a call thru jslib to get the url of the account which I assume isthe merchant website url.. this way merchant would setup their account thru their wallet and then use a hosted gateway.. And loading the gateway I only meed to pass in orderid/hash and accountname to lookup url via rpc (jslib) since we prob wont support php
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline jamesc

Thinking about this more... We can do the following:

Merchant would copy bitshares php lib and php integration files in cart folder

The gateway can be hosted anywhere and doesnt depend on rpc.. it will call the php integration callbacks.

The url of the merchant must be specified when accessing thr gateway.

Eliminating the rpc requirement would be a big win, but I suspect it's not eliminated but rather is used within the php lib.
Maybe using js lib... not sure if its a full node port or it needs rpc itself
The plan is that jslib will need only public RPC calls.   And as you have probably guessed it has to manage private keys so having a source code audit trail it's very important.

After I get all the pieces put together I have more time to research our options.

Offline jamesc



Hey guys,

I have reworked everything and made a bitshares payment gateway (called it Bitshares Checkout)... I implemented the ecwid cart implementation but the checkout system will be standalone so anyone can integrate with it.. they just have to follow the "API" and implement the 4 or 5 php files I put in the integration folder. I will reuse it to do the rest of the carts, so look and feel will be the same on all implementations.

here is the source again for the ecwid: https://github.com/sidhujag/bitshares-ecwid

here is the demo: http://bitshares.ecwid.com

Go ahead and create a fake order then it will take you to the checkout for bitshares... you can pay via BTS and will be credited for BitUSD orders for testing. I will send all coins back anyways.

Eventually, it would be nice to have a seed list of public bitshares api clients the same way the native clients do it.  I planning to implement this in JavaScript.  We will need everyone to consider a new bitshares_client configuration parameter to enable CORS.  I think this will greatly simplify your plugins.
Ive expressed this to bm about cors already on the http port.  CORS would allow us to load the wallet via the web... can we do everything safely in jslib? You have other usecases in mind?
The plugin must run on the client computer because it will access their wallet to poll for transactions.. did you try the demo?

Maybe by the new year we can take your URL on a hosted web wallet, let them pay then come back to the commerce site.   

Is the fruit organic?  I would like to buy some with DevShares.


Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
Thinking about this more... We can do the following:

Merchant would copy bitshares php lib and php integration files in cart folder

The gateway can be hosted anywhere and doesnt depend on rpc.. it will call the php integration callbacks.

The url of the merchant must be specified when accessing thr gateway.

Eliminating the rpc requirement would be a big win, but I suspect it's not eliminated but rather is used within the php lib.
Maybe using js lib... not sure if its a full node port or it needs rpc itself
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline Thom

Thinking about this more... We can do the following:

Merchant would copy bitshares php lib and php integration files in cart folder

The gateway can be hosted anywhere and doesnt depend on rpc.. it will call the php integration callbacks.

The url of the merchant must be specified when accessing thr gateway.

Eliminating the rpc requirement would be a big win, but I suspect it's not eliminated but rather is used within the php lib.
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline jsidhu

  • Hero Member
  • *****
  • Posts: 1335
    • View Profile
I think this web shopping cart is great for Bitshares! :)

I'm curious if these developments could lead to a Wordpress ecommerce plugin too?




Sent from my iPad using Tapatalk
Yup thats the plan we got 11 of them on deck first.. we have to decide if we want the gateway to be part of the client or not though
Hired by blockchain | Developer
delegate: dev.sidhujag

Offline Average Guy on Street

  • Jr. Member
  • **
  • Posts: 47
    • View Profile
I think this web shopping cart is great for Bitshares! :)

I'm curious if these developments could lead to a Wordpress ecommerce plugin too?




Sent from my iPad using Tapatalk