Zen Cart Logo
Forums / Addon Payment Modules / bitcoin payments

bitcoin payments

Views: 6,552

Results 1 to 12 of 12
14 Oct 2012, 12:34 AM
#1
fakedecoy avatar

fakedecoy

Zen Follower

Join Date:
Jul 2006
Posts:
309
Plugin Contributions:
0

bitcoin payments

Has anyone created a Bitcoin payment module?

I'm aware that Bitpay provides a module for zencart, but it involves a whole unnecessary process that uses Bitpay as a payment processor, who charges 3%. The beauty of Bitcoin is payments are free and you don't have to use any company like Bitpay as a payment processor. So I want to avoid that.

During checkout the module would pull and remove one address from a database you pre-fill, tell the customer to send to that address, set the order to Pending, poll the Bitcoin network in a cron job or something to confirm that the amount was paid, and when confirmed it sets the order status to Processing.

15 Oct 2012, 4:44 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: bitcoin payments

You could adapt the check/moneyorder module to do at least the first half of those requirements.
Then you could write your own cron job to handle automating the rest if that were critical.

18 Oct 2012, 1:57 AM
#3
fakedecoy avatar

fakedecoy

Zen Follower

Join Date:
Jul 2006
Posts:
309
Plugin Contributions:
0

Re: bitcoin payments

Got it, thanks. So I duplicated that payment module to create a bitcoin payment module. I'm doing the bitcoin payment stuff totally manually for now, similar to taking a check.

Now on the checkout_confirmation page I need to add a new to the totals, "Bitcoin Total". Would the proper way to do this be to create a new order total module that will create that extra line, display it, and save it to a session variable? It looks like the ot_total module is easiest to duplicate. I haven't even looked at the checkout_success page yet to see if I need to do more work there.

7 Mar 2013, 11:21 PM
#4
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: bitcoin payments

Does anybody have an information about Bitcoin?
Does this work with zencart?

8 Mar 2013, 7:52 AM
#5
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: bitcoin payments

adb34:

Does anybody have an information about Bitcoin?

You'll find all the info you want on the Bitcoin website.

adb34:

Does this work with zencart?

To the best of my knowledge there is currently no support for ZenCart.

Cheers
Rod

12 Mar 2013, 12:26 AM
#6
dscotese avatar

dscotese

New Zenner

Join Date:
Nov 2006
Posts:
3
Plugin Contributions:
0

Re: bitcoin payments

fakeDecoy:

Got it, thanks. So I duplicated that payment module to create a bitcoin payment module. I'm doing the bitcoin payment stuff totally manually for now, similar to taking a check.

Now on the checkout_confirmation page I need to add a new to the totals, "Bitcoin Total". Would the proper way to do this be to create a new order total module that will create that extra line, display it, and save it to a session variable? It looks like the ot_total module is easiest to duplicate. I haven't even looked at the checkout_success page yet to see if I need to do more work there.

Hi Fake,

Do you have a working bitcoin payment module? I'm thinking of writing one myself if I don't find one.

12 Mar 2013, 12:45 AM
#7
fakedecoy avatar

fakedecoy

Zen Follower

Join Date:
Jul 2006
Posts:
309
Plugin Contributions:
0

Re: bitcoin payments

I just made a copy of the check payment module, which generates the bitcoin total, and then I do it all manually. Or I would, if anybody ever paid in bitcoins. Nobody has yet. It seems I overestimated the demand for it.

9 Feb 2014, 4:37 PM
#8
split63 avatar

split63

Totally Zenned

Join Date:
May 2010
Location:
Texas
Posts:
513
Plugin Contributions:
0

Re: bitcoin payments

It appears that there are a few plugins for Zen available. I have found BIPS and Bitpay.
Has anyone used these?
What is your experience?

Are there any other solutions?

13 Mar 2014, 6:09 PM
#9
ride22 avatar

ride22

New Zenner

Join Date:
Aug 2010
Posts:
14
Plugin Contributions:
0

Re: bitcoin payments

I was curious if there would be any demand out there for it or not. I think that outside of buying more mining gear it doesn't look like people spend bitcoin on much else.

30 Oct 2017, 12:39 AM
#10
unckle_fester avatar

unckle_fester

New Zenner

Join Date:
Feb 2014
Location:
tucson
Posts:
27
Plugin Contributions:
0

Re: bitcoin payments

I know this is an old thread but Im also Interested In some kind of peer to peer Bitcoin module. The point of Bitcoin is to cut out the middle man and fees.

16 Nov 2017, 12:07 AM
#11
fjolsvith avatar

fjolsvith

New Zenner

Join Date:
Mar 2016
Location:
Norcatur, Kansas, USA
Posts:
88
Plugin Contributions:
2

Re: bitcoin payments

unckle fester:

I know this is an old thread but Im also Interested In some kind of peer to peer Bitcoin module. The point of Bitcoin is to cut out the middle man and fees.

I created a bitcoin payment module off the Check/Money Order module. It uses an API on one of the exchanges to calculate the bitcoin amount, and then uses Google's QR code generating API to make a scan-able block that most payment apps can use. You can see it in action at my website, https://ksshedbuilder.com/store.

I don't really like it though. Its a hack, and doesn't have any callbacks to the store to update it when the payment is completed, or even if it has been initiated. I've seen implementations on sites that have live payments that I wish I had for my site.

ALFAcoins has an API that I'm learning and hoping to use to make a payment module for ZenCart.

13 Dec 2017, 1:30 AM
#12
fjolsvith avatar

fjolsvith

New Zenner

Join Date:
Mar 2016
Location:
Norcatur, Kansas, USA
Posts:
88
Plugin Contributions:
2

Re: bitcoin payments

An update:

I found a cryptocurrency processor that has a Zencart plugin. The company is Coinpayments.net. As a bonus, they work with US based businesses.

I had to tweak their payment module to get it to work correctly for my store, and I've tested it successfully with 1.5.5e.

You can accept up to 80 different types of cryptocoin with this solution.