View Full Version : Integration with vBulletin - Coinbase (API v2) Payment Gateway
DivisionByZero
07-31-2016, 09:00 PM
This mod integrates the Coinbase payment gateway using API version 2.
You must have an active merchant account with Coinbase. Once you have your merchant account activated, login to coinbase.com, click on Settings --> API Access and create a NEW api key and make sure that, at a minimum, the settings match the ones in the attached image. Also, you'll have to enter your callback URL (yourvb.com/payment_gateway.php?method=coinbase).
This may work with older vBulletin versions down to v4.0.x, but it has not been tested.
Enjoy, and donations are always welcomed! :)
DivisionByZero
07-31-2016, 10:51 PM
December 16, 2016:
Update to v1.1.0:
Updated to address the discontinuation of the Coinbase sandbox.
Added a smarter duplicate transaction handler because CB seems to enjoy sending duplicate and unique notifications for the same transaction.
Rewrote the TEST COMMUNICATION feature to perform an actual API call in addition to verifying the configuration settings.
Rewrote the callback authentication feature to include the proper signature/body verification and CIDR check against Coinbase's notification servers IPs.
ACNET
08-21-2016, 06:27 PM
Really nice that you updated it but when ordering it redirect me to 404 not found (https://www.coinbase.com/checkouts/?)
DivisionByZero
08-21-2016, 06:29 PM
Is the live or sandbox mode doing this?
ACNET
08-21-2016, 06:41 PM
Is the live or sandbox mode doing this?
It was on live, but i got it working something with api was wrong sorry for that :S
DivisionByZero
08-21-2016, 06:43 PM
ok... glad its working for you now.
DivisionByZero
12-14-2016, 07:57 AM
For some crazy reason, coinbase axed their sandbox and encourage the use of "small amounts" on the LIVE api for testing purposes. I'll update this today or tomorrow accordingly.
All done
angemon
12-19-2016, 01:24 AM
Hi and thanks @DivisionByZero for the plugin,
But I got this issue when I tried to import your product:
This product is not compatible with version 5.4.36 of PHP. (Compatible starting with 5.6)
DivisionByZero
12-19-2016, 01:25 AM
try it if you want, let me know the outcome and i'll update the next release
angemon
12-19-2016, 10:21 AM
try it if you want, let me know the outcome and i'll update the next release
thanks
DivisionByZero
12-19-2016, 10:22 AM
you can edit the XML before you import it. and my plugin returns TRUE upon receiving a successful callback payment. vBulletin thus changes the usergroups.
angemon
12-19-2016, 03:58 PM
you can edit the XML before you import it. and my plugin returns TRUE upon receiving a successful callback payment. vBulletin thus changes the usergroups.
Thanks for your reply ,
DivisionByZero
12-19-2016, 07:27 PM
then it wont work with that version...i cant recall which function would require 5.6 or higher
DivisionByZero
12-23-2016, 08:39 PM
my script makes no call to the the MySQL extensions. You have a problem somewhere else.
KevinL
12-23-2016, 10:10 PM
I have upgraded my php version to PHP 5.6 in Centos 6.6
and now I'm getting this database error
Database error in vBulletin 4.2.2:
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
/home/admin/web/*****/public_html/includes/class_core.php on line 317
MySQL Error :
Error Number : 0
Request Date : Friday, December 23rd 2016 @ 10:20:50 PM
Error Date : Friday, December 23rd 2016 @ 10:20:50 PM
Script : http://********
Referrer :
IP Address : **********
Username : *****
Classname : vB_Database_MySQLi
MySQL Version : 5.5.41
after searching here it said vbulletin 4.2.2 doesn't work with PHP 5.6
but your plugin mention that it's working with 4.2.x
I really don't understand and I don't even know how to downgrade the php version and make my website works again :(
Upgrade your forum to 4.2.3pl2 and you should be good.
angemon
12-23-2016, 11:32 PM
Upgrade your forum to 4.2.3pl2 and you should be good.
thank you
DivisionByZero
12-23-2016, 11:33 PM
let me know how the upgrade goes.
RichieBoy67
12-27-2016, 08:31 PM
What are the proper permissions needed in the api at coinbase?
DivisionByZero
12-27-2016, 08:33 PM
Please see the screenshot in my OP
RichieBoy67
12-27-2016, 08:35 PM
Perfect, thanks.
martin1
05-06-2017, 09:11 PM
I paid lot for this coinbase hack to coder DivisionByZero .It worked successfully last time in February 2017, it looks like it stopped recently;
error I get from coinbase site, when I try to click on button 'order using coinbase ' from user payment subscription panel is :
PAGE NOT FOUND
Am I the only with this error? Can someone confirm this hack still works???
tanzeelniazi
09-20-2017, 10:58 AM
is this working in 4.2.0 ???
KyuubtiK
11-07-2017, 09:50 AM
got the same problem like martin1
PAGE NOT FOUND
tested the other coinbase version before
error is the same
ACNET
12-02-2017, 12:17 AM
I paid lot for this coinbase hack to coder DivisionByZero .It worked successfully last time in February 2017, it looks like it stopped recently;
error I get from coinbase site, when I try to click on button 'order using coinbase ' from user payment subscription panel is :
PAGE NOT FOUND
Am I the only with this error? Can someone confirm this hack still works???
have a look in class_coinbase.php
try changing the 'CB-VERSION: 2016-12-09' to 2016-08-10
Ganchev
03-04-2018, 04:52 PM
have a look in class_coinbase.php
try changing the 'CB-VERSION: 2016-12-09' to 2016-08-10
This is also outdated, what is the latest fix? Tried with: 2017-12-12
but it's still broken.
dany_danay
07-16-2018, 05:25 PM
someone fix this?
ACNET
10-15-2018, 09:22 PM
Coinbase is now deprecated, i updated this pluggin to run on the new https://commerce.coinbase.com/
Tempritscher
01-03-2021, 01:53 PM
did someone has an alternative for VB5?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.