Bitcoin Forum

Economy => Marketplace => Topic started by: breandan81 on November 29, 2010, 08:26:45 PM



Title: Prestashop Module
Post by: breandan81 on November 29, 2010, 08:26:45 PM
I'm beginning work on a module for prestashop to accept bitcoins using mybitcoin's sci toolkit.  Is there anyone else interested in this project?  even better would be someone with PHP experience because I'm kinda working blind, I think  i can figure it out but it's gonna take a while.  If/when it is working I'll post a link somewhere here.  I think it would be really helpful for the whole bitcoin economy if an easy to use FOSS shopping cart had a ready to use payment module.  Cheers



Title: Re: Prestashop Module
Post by: fabianhjr on December 14, 2010, 12:00:54 AM
I am interested. So, whats the progress?
Is it going to be opensource?


Title: Re: Prestashop Module
Post by: fabianhjr on December 14, 2010, 10:34:19 PM
Pledge cancelled, no interest shown. ):


Title: Re: Prestashop Module
Post by: breandan81 on December 25, 2010, 08:08:22 AM
Whoa, been busy lately just saw that there was actually interest in this.  It would be open source, I was actually thinking of using mybitcoin to do it, I guess I can look into a way to do it without an intermediary.  Not sure how that would work.  I'm going to try to do a bunch of stuff over the holidays, hopefully I can something working.  I'll post it here when I have something.


Title: Re: Prestashop Module
Post by: fabianhjr on December 25, 2010, 03:29:45 PM
Hey, thanks. Yeah. I will keep mining and maybe increase the pledge if I got the moneyz. :-)


Title: Re: Prestashop Module
Post by: breandan81 on December 29, 2010, 05:49:35 AM
When it actually works I'll prolly just ask for small voluntary donations by paypal or bitcoin.  I've been working on another (more urgent) prestashop module this week, and I've learned a lot, so I think I'll be able to have it up soon.  If there is anyone else working on something similar though, I'd appreciate a message or an email so we can avoid duplicating effort.


Title: Re: Prestashop Module
Post by: skull88 on December 29, 2010, 01:15:48 PM
I would donate some coins for this module :)


Title: Re: Prestashop Module
Post by: fabianhjr on January 01, 2011, 02:01:16 AM
Me too! Cmon Ubercart already has a module!(At least I think it does) I am mining and currently offer(Of what I already got): 6 BTC. Going to offer more as they come!


Title: Re: Prestashop Module
Post by: breandan81 on January 02, 2011, 01:04:57 AM
I wasn't aware of the ubercart module, I'll have to look at how they did that.


Title: Re: Prestashop Module
Post by: idev on January 17, 2011, 04:19:01 PM
is this available?


Title: Re: Prestashop Module
Post by: breandan81 on January 17, 2011, 06:26:13 PM
Actually I was working on it yesterday, sorry it's been kinda slow.  At first I was just generating a payment string for mybitcoin, but I realized that it was going to be too easy to spoof the receipt script so now I'm using the SCI toolkit.  It'll be ready soon, like I say, sorry it's taking me so long.



Title: Re: Prestashop Module
Post by: idev on January 17, 2011, 06:39:46 PM
Actually I was working on it yesterday, sorry it's been kinda slow.  At first I was just generating a payment string for mybitcoin, but I realized that it was going to be too easy to spoof the receipt script so now I'm using the SCI toolkit.  It'll be ready soon, like I say, sorry it's taking me so long.


No problem, thank you for creating it,
when its ready i will donate you a few BTC, as i really need this.

Thanks


Title: Re: Prestashop Module
Post by: skull88 on January 17, 2011, 07:31:32 PM
Actually I was working on it yesterday, sorry it's been kinda slow.  At first I was just generating a payment string for mybitcoin, but I realized that it was going to be too easy to spoof the receipt script so now I'm using the SCI toolkit.  It'll be ready soon, like I say, sorry it's taking me so long.


You don't have to apologize, I'm glad you're still busy with it and it's better to wait for a good secure mod than have an instant buggy mod.
Take your time and let us know when it's done, I've put some coins aside for this one.  :)


Title: Re: Prestashop Module
Post by: Babylon on February 01, 2011, 07:13:50 PM
I was looking for something like this.  I don't know what prestashop and ubercart are, but I would like more information if possible.


Title: Re: Prestashop Module
Post by: fabianhjr on February 01, 2011, 07:50:40 PM
Does anyone know what are the fees for a merchant at MtGox and if it supports sending bitcoins to an BTC address instead of a MtGox address during checkout?


Title: Re: Prestashop Module
Post by: wobber on February 03, 2011, 05:58:53 PM
How do you integrate a bitcoin payment into a Prestashop shop?

I'm in for this pledge with 15 BTC


Title: Re: Prestashop Module
Post by: Mahkul on February 03, 2011, 06:27:05 PM
I would pledge 25 BTC for such a module.


Title: Re: Prestashop Module
Post by: grondilu on February 03, 2011, 07:25:51 PM

I don't really need this but I pledge 1 BTC.


Title: Re: Prestashop Module
Post by: breandan81 on February 06, 2011, 07:23:35 AM
basically what you would do is add the modules to your modules directory in your prestashop install, then go in through the backend site of your shop and click install, then set your mybitcoin info from the merchant tools part of that site.  You don't have to leave your bitcoins on mybitcoin, you can set it to forward to any address from there.  Mybitcoin will translate your dollar prices using their latest exchange rates, and then the purchase will go through when it verifies the transaction took place.  Apologies again, I'll find some time to work on it tomorrow again, it's doing ok, but I just haven't had much time to spend on it, and even though it's not much code the prestashop module thing was pretty new to me.


Title: Re: Prestashop Module
Post by: breandan81 on February 15, 2011, 08:14:05 PM
OK, sorry it took me forever, now that I see how everything fits together the whole thing is actually very simple.  


Title: Re: Prestashop Module
Post by: grondilu on February 15, 2011, 08:24:02 PM


I really suck at PHP and I need to check out how Apache works exactly on my web provider, so it's gonna take some time for me to test that, but I've just sent 1 BTC already, as I promessed.

Thanks.


Title: Re: Prestashop Module
Post by: breandan81 on February 15, 2011, 08:30:59 PM
Thanks!  I'll be adding the module to my electronics shop at avrthing.com in a few minutes, I'll post that in the list of stuff that accepts bitcoins too.  You shouldn't need to modify anything other than the config file, and that's just plugging in name, address, key, etc.  prestashop installs more or less without having to look at the code at all, one of the nice things about it over, for example, zencart.  Just make sure you have a mysql database you can point it to, and follow there browser based install process.  As far as whether your server is set up appropriately, I can't help you with that but one would hope that any decent hosting service would be able to offer PHP and mysql.  I'm on a VPS on dreamhost, I've had my gripes with them, but it's still a bargain for 15 dollars a month.  I may make a second module that uses JSON-RPC and a bitcoin client running on the server, I'm not sure yet. 


Title: Re: Prestashop Module
Post by: grondilu on February 15, 2011, 08:34:42 PM

For what it's worth, here is the phpinfo() output of the server I intend to use:

http://grondilu.freeshell.org/infos.php


Please let me know if you see anything that would prevent me from using prestashop or your prestashop module.


Title: Re: Prestashop Module
Post by: breandan81 on February 15, 2011, 08:39:01 PM
Nothing that I see right away, just install prestashop and see if it runs, it shouldn't take you too long.  Oh, one more thing though, my module just passes the 3 letter code for the currency that is selected to mybitcoin.  So any currencies enabled in your shop should be on the list of ones they have exchange rates for too.  That shouldn't cause too much trouble though I expect, but I don't know where you are.  If that is no good let me know, I could add a function that translates the total to USD and sends that to mybitcoin or something.



Title: Re: Prestashop Module
Post by: breandan81 on February 17, 2011, 11:50:05 PM
I found a bug that was causing my module to list currency wrong in the invoices in the back office (the correct amount was being charged though, don't worry).  It's been fixed.  If you got it right away when I posted it go back and download it again for the fix.



Title: Re: Prestashop Module
Post by: praxeologist on February 25, 2011, 05:36:45 AM
After looking at a bunch of ways to set up my shop, I am trying Prestashop for now and I will do the same with your module. Right now I am just having problems with my theme and some of the modules appearing random places below the main area, I guess because they aren't designed for the theme.


Title: Re: Prestashop Module
Post by: wobber on April 11, 2011, 11:00:44 AM
30 BTC bounty for whoever makes this work on PS 1.4. It won't save the orders, but procesesse payments correctly.


Title: Re: Prestashop Module
Post by: wobber on April 12, 2011, 09:39:27 AM
nobody?


Title: Re: Prestashop Module
Post by: fabianhjr on April 12, 2011, 01:40:20 PM
You would have to wait. Maybe someone is already working on it. ;)