Bitcoin Forum

Economy => Marketplace => Topic started by: cande on April 04, 2011, 09:27:50 PM



Title: OpenCart integration
Post by: cande on April 04, 2011, 09:27:50 PM
Hi everybitcoin & opensource lovers!

Right now i'm developing an extension to the opensource webshop OpenCart to accept bitcoins as a payment gateway.
I will release it as opensource of course and i might need some help also.. my first plugin and stuff :)

are there many here interested in this? will post more when i have something to show, just started today!

~ Chriss


Title: Re: OpenCart integration
Post by: Cryptoman on April 08, 2011, 07:20:25 PM
Good luck with this, and keep us updated on the progress.  I'm still trying to decide on a shopping cart system.  Do you have any reasons for choosing OpenCart over Magento, PrestaShop, TomatoCart, etc.?


Title: Re: OpenCart integration
Post by: graingert on April 08, 2011, 09:41:13 PM
I am a bitcoin & opensource lover :)

Will this project be hosted on somewhere like github?


Title: Re: OpenCart integration
Post by: MoonShadow on April 08, 2011, 10:37:11 PM
I am most interested.


Title: Re: OpenCart integration
Post by: Cryptoman on April 09, 2011, 03:43:53 PM
I created a project in the Project Development section for this: http://bitcointalk.org/index.php?topic=5625.0.


Title: Re: OpenCart integration
Post by: Jered Kenna (TradeHill) on April 09, 2011, 04:01:07 PM
I use cubecart but would prefer opencart.
I hope you're able to pull it off, I could see a lot of people really appreciating it.
Going to follow this.


Title: Re: OpenCart integration
Post by: tabsa on April 26, 2011, 12:56:00 AM
Bitcoin payment module for opencart 1.4.9.4.
All payments are processed by mybitcoin.com

PM me if you found bugs or need help setting it up. Or find me on IRC 'tabsa'.

Download here:
https://github.com/tabsa/opencart-bitcoin-payment-module/zipball/master (https://github.com/tabsa/opencart-bitcoin-payment-module/zipball/master)

Readme here:
https://github.com/tabsa/opencart-bitcoin-payment-module/blob/master/README (https://github.com/tabsa/opencart-bitcoin-payment-module/blob/master/README)

Donate here if you find this usefull: 1PLDpSpTtMnmoSYPfZFEBhuhHPEUSBkSQj


Title: Re: OpenCart integration
Post by: wobber on April 26, 2011, 12:34:34 PM
Would it work on the Prestashop 1.4?


Title: Re: OpenCart integration
Post by: cande on April 29, 2011, 02:48:08 PM
Lookes like tabsa beat me to it!

So i will co-develop it instead :)


Title: Re: OpenCart integration
Post by: tabsa on May 18, 2011, 02:36:24 AM
Uploaded small bugfix allowing to use BTC as currency in opencart without conversions.

Please update!


Title: Re: OpenCart integration
Post by: Gabriel Beal on May 18, 2011, 04:38:32 AM
The bugfix worked for me.  The errors are gone and the bitcoin symbol renders correctly.  However, I don't know if opencart can auto update BTC.  Has anyone else played with this?  As far as I can tell the auto update function uses some third party website to lookup money exchange rates.  I don't think BTC is part of that website.  Has anyone else solved this problem?  It's an issue because it means that people will be paying two slightly different prices depending on if they are checking out in USD or BTC.


Title: Re: OpenCart integration
Post by: justusranvier on June 08, 2011, 12:10:14 PM
Bitcoin payment module for opencart 1.4.9.4.
All payments are processed by mybitcoin.com

PM me if you found bugs or need help setting it up. Or find me on IRC 'tabsa'.

Download here:
https://github.com/tabsa/opencart-bitcoin-payment-module/zipball/master (https://github.com/tabsa/opencart-bitcoin-payment-module/zipball/master)

Readme here:
https://github.com/tabsa/opencart-bitcoin-payment-module/blob/master/README (https://github.com/tabsa/opencart-bitcoin-payment-module/blob/master/README)

Donate here if you find this usefull: 1PLDpSpTtMnmoSYPfZFEBhuhHPEUSBkSQj
Is the module compatible with OpenCart 1.5?


Title: Re: OpenCart integration
Post by: Gabriel Beal on June 08, 2011, 12:18:27 PM
I haven't tested my store with it yet.  I'm still running 1.4.9 something on SquareWear.


Title: Re: OpenCart integration
Post by: Nesetalis on June 08, 2011, 12:20:38 PM
ohhh..  when i set up shop, i'll certainly look in to this :D


Title: Re: OpenCart integration
Post by: Gabriel Beal on June 09, 2011, 03:56:04 AM
We found we were getting some weird problems on SquareWear when people were checking out.  They were seeing one total, then a different total at the bottom of the screen, then a different total that mybitcoin was actually asking them to pay.  I think we've sorted all that out.  I've emailed the new code to tabsa so he can incorporate it into his build.  PM me if you want the code before he posts it.


Title: Re: OpenCart integration
Post by: kagespiser on June 11, 2011, 07:19:17 PM
i have encountered a proplem when i was trying to install the module i get

Parse error: syntax error, unexpected T_VARIABLE in /home/content/74/7989274/html/admin/language/english/payment/btc_mybitcoin.php on line 1

when i open exstensions -->payments in the admin panel

have anyone seen this before?


Title: Re: OpenCart integration
Post by: Gabriel Beal on June 11, 2011, 07:34:40 PM
Yes, I think I did have that error.  When I checked, all the code was on a single line without line breaks.  I just had to separate it into different lines like is shown on the github page. PM me if you have any trouble.


Title: Re: OpenCart integration
Post by: kagespiser on June 11, 2011, 07:53:23 PM
Thanks, it worked perfectly  :D



Title: Re: OpenCart integration
Post by: btc4beer on June 12, 2011, 02:21:56 AM
I'm running into a problem on OC1.5 and I'm wondering if it's my own stupidity or if the extension just isn't compatible with 1.5 yet.

Code:
Fatal error: Cannot access private property Document::$title in /blah/blah/blah/admin/controller/payment/btc_mybitcoin.php on line 35

That line reads:
Code:
$this->document->title = $this->language->get('heading_title');


Title: Re: OpenCart integration
Post by: awozny on June 19, 2011, 12:00:18 PM
I am running into the same situation of getting error:

Fatal error: Cannot access private property Document::$title in /home/bitcoinz/public_html/shop/admin/controller/payment/btc_mybitcoin.php on line 35

Any news on this? Any advise would be appreciated... Thank You


Title: Re: OpenCart integration
Post by: Gabriel Beal on June 19, 2011, 12:09:26 PM
Are you running opencart 1.5?  I haven't upgraded to that yet.


Title: Re: OpenCart integration
Post by: justusranvier on August 01, 2011, 05:10:03 PM
Is there an alternative plugin for OpenCart that doesn't use mybitcoin.com?


Title: Re: OpenCart integration
Post by: Gabriel Beal on August 01, 2011, 09:17:22 PM
Is there an alternative plugin for OpenCart that doesn't use mybitcoin.com?
I'm not familiar with one.  However, we may be creating one soon.  I'll post it if we do.


Title: Re: OpenCart integration
Post by: awozny on August 02, 2011, 06:37:38 AM
Yes please develop a BTC gateway for OpenCart that does not use mybitcoin... Mybitcoin is gone probably forever... Thank You.


Title: Re: OpenCart integration
Post by: logansryche on August 02, 2011, 06:44:09 AM
If anyone hasn't been paying attention to my threads as of late, I've been in constant contact with Tabsa(the origional creator of the opencart bitcoin module). As soon as Mt. Gox releases their merchant tools this week, he's going to convert his module over so instead of using mybitcoins.com, it'll be using MT Gox. I tried to convince him to use bit-bank.org but he didn't seem to trust it enough. If the module uses api key, token and bitcoin address, it shouldn't be too hard to convert it over to other sites besides Mt. Gox since I know that the module requires an sci username, key, and the bitcoin address(something only mybitcoin.com had).


Title: Re: OpenCart integration
Post by: druid on September 16, 2011, 06:42:03 PM
Forgive my noobness , but I have a question.
Wouldn't it be possible to create module that will not have to deal with intermediaries?
For example: when user opens an account with an opencart based site he is assigned unique BTC address, by which seller can indentify him.
When purchase is made buyer has a time frame for making BTC deposit to that address, which will be more or less instantly visible in sellers wallet.

Maybe this is more complicated to implement then it seems to me at the moment, but it would be for sure good thing for the Bitcoin