Author

Topic: Zen Cart Bit-Pay integration Updated as of 11:22pm (Read 1492 times)

newbie
Activity: 9
Merit: 0
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);
newbie
Activity: 9
Merit: 0
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.
hero member
Activity: 868
Merit: 1008
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?
newbie
Activity: 42
Merit: 0
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
hero member
Activity: 683
Merit: 500
Same problem here.  Undecided

[17-Apr-2012 02:50:02] PHP Warning:  array_search() [function.array-search]: 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
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
sent an email to stephen. we'll see what he says.
newbie
Activity: 16
Merit: 0
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.
hero member
Activity: 784
Merit: 1010
Bitcoin Mayor of Las Vegas
Try adding this package to your system: php-pecl-http
newbie
Activity: 16
Merit: 0
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?
newbie
Activity: 16
Merit: 0
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
Jump to: