vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Coinbase (API v2) Payment Gateway (https://vborg.vbsupport.ru/showthread.php?t=323143)

DivisionByZero 07-31-2016 09:00 PM

Coinbase (API v2) Payment Gateway
 
1 Attachment(s)
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:
  1. Updated to address the discontinuation of the Coinbase sandbox.
  2. Added a smarter duplicate transaction handler because CB seems to enjoy sending duplicate and unique notifications for the same transaction.
  3. Rewrote the TEST COMMUNICATION feature to perform an actual API call in addition to verifying the configuration settings.
  4. 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

Quote:

Originally Posted by DivisionByZero (Post 2575074)
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.

ryhe 09-29-2016 06:04 PM

3.8 ?

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

Quote:

Originally Posted by DivisionByZero (Post 2579609)
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

Quote:

Originally Posted by DivisionByZero (Post 2579621)
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

Quote:

Originally Posted by angemon (Post 2579804)
I have upgraded my php version to PHP 5.6 in Centos 6.6
and now I'm getting this database error

PHP Code:


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  
FridayDecember 23rd 2016 10:20:50 PM
Error Date    
FridayDecember 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

Quote:

Originally Posted by KevinL (Post 2579808)
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

Quote:

Originally Posted by martin1 (Post 2586255)
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

Quote:

Originally Posted by ACNET (Post 2591375)
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?


All times are GMT. The time now is 07:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01324 seconds
  • Memory Usage 1,777KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete