Bitcoin Forum

Other => Beginners & Help => Topic started by: card25.com on April 14, 2012, 04:47:14 AM



Title: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: card25.com on April 14, 2012, 04:47:14 AM
Is anyone familiar with how to setup bit-pay in zencart?  I am trying to connect the payment module with little success?
OK so I can select the bit-pay option then choose check out and nothing!  blank page!

I should add that it does however email me and say the order is successful (zen cart)  but not on the bit-pay side!

Anyone have good advice for a novice?

TAGS: bit-pay.com, zencart.com, shopping cart, bitcoin


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: card25.com on April 14, 2012, 01:53:57 PM
OK so I was able to view the logs and found the following...

[14-Apr-2012 08:24:42] PHP Fatal error:  Call to undefined function  http_redirect() in /home/www/bitcoin.card25.com/includes/modules/payment/bitpay.php on line 146

So I am not sure where the http_redirect() function is.  Any idea's how to resolve this?


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: Tuxavant on April 14, 2012, 04:15:30 PM
Try adding this package to your system: php-pecl-http


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: card25.com on April 14, 2012, 05:24:56 PM
I tried a slew of other modules and they all work.  All roads lead back to bitpay.php line 146!

Any idea as to why or what it needs?  The bitpay log on zen cart seems to work, but in reality it gives a blank page.
I know it is connecting with their server as the log will convert $ to BTC.


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: Tuxavant on April 14, 2012, 05:27:07 PM
sent an email to stephen. we'll see what he says.


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: skull88 on April 17, 2012, 12:58:27 AM
Same problem here.  :-\

[17-Apr-2012 02:50:02] PHP Warning:  array_search() [<a href='function.array-search'>function.array-search</a>]: Wrong datatype for second argument in domains/majoni-bijoux.nl/public_html/includes/modules/payment/bitpay.php on line 137
[17-Apr-2012 02:50:02] PHP Fatal error:  Call to undefined function  http_redirect() in /domains/majoni-bijoux.nl/public_html/includes/modules/payment/bitpay.php on line 146


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: Aahz on August 11, 2012, 01:20:43 AM
I realize this thread is 4 months old, but I was wondering if anyone ever found a solution.

I just built a zencart siet and am having the exact same problem mentioned above - blank page, but order goes through as if paid.  Having the same problem with both bit-pay and paysius zen cart plugins.

-Aahz


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: Steve on August 11, 2012, 03:10:26 AM
I realize this thread is 4 months old, but I was wondering if anyone ever found a solution.

I just built a zencart siet and am having the exact same problem mentioned above - blank page, but order goes through as if paid.  Having the same problem with both bit-pay and paysius zen cart plugins.

-Aahz
The problem above was fixed in the bitpay plugin.  In fact, the lines of code involved in the error have since changed.  The problem you describe could be many things.  Do you have any other details about the problem?  Log messages or anything?


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: danbits on August 03, 2013, 09:54:16 PM
I do realize I'm necroposting here but I am having this exact same issue.  I originally attempted this several months ago using zencart 1.5.0 but gave up troubleshooting and used the (working and seemingly similar) walletbit plugin instead.  Now that walletbit is no more, I need a new solution.  I have since upgraded to zencart 1.5.1 and I am certain I have the most recent plugin version.

I am running IIS 8.0 on server 2012 but was having the exact same issue on Server 2008/IIS 7.5.  I was not able to find anything relevant in the IIS or PHP log.  Is there a separate zencart or bitpay plugin log I should look for?

NOTE: I am also messaging Steve of Bitpay referring him to this post in hopes of finding a sharable resolution to this issue.


Title: Re: Zen Cart Bit-Pay integration Updated as of 11:22pm
Post by: danbits on August 03, 2013, 10:14:12 PM
As an additional note I looked at the bitpay.php file referred to by previous posters and line 146 is empty.

EDIT:  I found the log and the error I am getting is different.

[03-Aug-2013 14:19:01] PHP Fatal error:  Call to undefined function zen_remove_order() in C:\inetpub\public_html\zencart.mydomain.net\includes\modules\payment\bitpay.php on line 137

Line 137 reads:
         zen_remove_order($insert_id, $restock = true);