Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add Google Checkout to Paid Subscriptions Details »
Add Google Checkout to Paid Subscriptions
Mod Version: 1.01, by CaseLogic (Member) CaseLogic is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (9 votes - 4.44 average) Installs: 24
Released: 31 Aug 2010 Last Update: 05 Sep 2010 Downloads: 184
Not Supported DB Changes Uses Plugins Auto-Template Additional Files  

This is my first released mod, so please rate!

This modification will allow you to use Google Checkout as a payment processor for paid subscriptions.

Google Checkout Steps
-Under Settings->Preferences, select the option to automatically authorize and charge
-Under Settings->Integration, uncheck the digitally signed cart box
-For the API Callback URL, enter in the following:
http://path to your forum/payment_gateway.php?method=gcheckout
-Select the Notification Serial # method
-Select API version 2.5 (do NOT check the notification filtering checkbox!)
-Note your Merchant ID and Merchant Key on the right-hand side (will need for below)

vBulletin Steps
-Upload class_gcheckout.php to <forum base>/includes/paymentapi
-Install product
-Under Paid Subscriptions->Payment API Manager->Google Checkout, enter in the merchant ID and key found under your Settings.
-Activate Google Checkout payment API
-Optionally run "Test Communication" under Paid Subscriptions to ensure successful setup and integration

Known Issues
-Incorrect operation on 32bit systems! (found 12/14/2010)
-Only works with curl installed
-Chargeback handling not implemented yet

Release notes
1.01
-Replaced mysql_ function in install code with vB SQL wrapper
1.0
- Original version

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 31 Aug 2010, 04:09
CaseLogic CaseLogic is offline
 
Join Date: May 2008
I'm willing to bet this will work in vb4 with little to no modifications, but I can't say for sure! Let me know if anyone tries...

edit: I forgot templates are different, so see this post

Last edited by CaseLogic; 10 Sep 2010 at 15:53.
Reply With Quote
  #3  
Old 31 Aug 2010, 06:02
Stifler Stifler is offline
 
Join Date: Jan 2005
Quite awesome mate. Very useful feature (should've been built in).. Gonna test this out on vb4.. crossing my fingers.
Reply With Quote
  #4  
Old 31 Aug 2010, 06:51
Xtrigit's Avatar
Xtrigit Xtrigit is offline
 
Join Date: Jan 2010
Thanks!
__________________
Have been very sick...
Reply With Quote
  #5  
Old 31 Aug 2010, 14:21
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
How could 3 people have installed this with only 1 download so far?

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 3
Released: Today Last Update: Never Downloads: 1
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #6  
Old 02 Sep 2010, 13:17
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Originally Posted by Stifler View Post
Quite awesome mate. Very useful feature (should've been built in).. Gonna test this out on vb4.. crossing my fingers.
Any luck with vB4? Please let me know!
Reply With Quote
  #7  
Old 03 Sep 2010, 20:34
schlottkej schlottkej is offline
 
Join Date: Apr 2007
Originally Posted by BirdOPrey5 View Post
How could 3 people have installed this with only 1 download so far?
People clicking install to keep track of the progress of the addon.
__________________
Wrestling Gear | Torrent Search
Reply With Quote
  #8  
Old 04 Sep 2010, 11:54
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Real name: Michael Dance
i followed everything but all i get is;
Oops!
We were unable to process your request.


Time when the error happened: 2010-09-04T11:53:58 (UTC) (48f6db3d54788)
Reply With Quote
  #9  
Old 05 Sep 2010, 14:27
CaseLogic CaseLogic is offline
 
Join Date: May 2008
is that when you are going to the google checkout cart? at what stage in the process is it giving you this error?
Reply With Quote
  #10  
Old 05 Sep 2010, 18:27
whitey06 whitey06 is offline
 
Join Date: Sep 2006
Nice mod, have been looking for this but when installing it in VB4 get these msgs in the attached screenshot. Then when the page has reloaded, after going into the google checkout options, it doesnt give me the option to input the merchant ID or merchant key
Attached Images
File Type: jpg google checkout prob.jpg (15.5 KB, 54 views)
Reply With Quote
  #11  
Old 05 Sep 2010, 18:36
CaseLogic CaseLogic is offline
 
Join Date: May 2008
yeah the code that it is trying to execute is inserting google checkout into the vB API. The error is coming from mysql_real_escape_strings, which is throwing an access denied error (commonly because there isn't a valid mysql connection).

First thing I would is uninstall (assuming it installed the product despite the error), then reinstall. It's possible it was a fluke with mysql, although not really likely.

I will look into replacing that function with the appropriate vB wrapper
Reply With Quote
  #12  
Old 05 Sep 2010, 18:53
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Originally Posted by whitey06 View Post
Nice mod, have been looking for this but when installing it in VB4 get these msgs in the attached screenshot. Then when the page has reloaded, after going into the google checkout options, it doesnt give me the option to input the merchant ID or merchant key
I just updated to version 1.01 which replaced that mysql call with vB's version. See how that works for you and then get back to me
Reply With Quote
  #13  
Old 06 Sep 2010, 18:39
whitey06 whitey06 is offline
 
Join Date: Sep 2006
Ok installed and all working now, that did the trick, dont see any issues, did communication test and all was good

Forgot to mention in my last post that for VB4, the template fetch command in the php file needs changing to the correct format or an error message comes up on the subscriptions page, I replaced it with the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also for anyone that uses it, only use it for the currency that your checkout account allows, i.e. USD for US & GBP for UK.

But all in all, great mod and much needed in VB
Reply With Quote
  #14  
Old 06 Sep 2010, 20:42
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Originally Posted by whitey06 View Post
Ok installed and all working now, that did the trick, dont see any issues, did communication test and all was good

Forgot to mention in my last post that for VB4, the template fetch command in the php file needs changing to the correct format or an error message comes up on the subscriptions page, I replaced it with the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also for anyone that uses it, only use it for the currency that your checkout account allows, i.e. USD for US & GBP for UK.

But all in all, great mod and much needed in VB
good call, I forgot that vB4 changed their template formats

thanks for the code, I'll have to add it into a vb4 version for the future (I don't have a vb4 forum to test it on right now unfortunately)
Reply With Quote
  #15  
Old 07 Sep 2010, 15:24
whitey06 whitey06 is offline
 
Join Date: Sep 2006
Ive actually now encountered a problem. I was originally using the Buy Now Buttons and had the product as a digital product and was adding my users manually to the paid subscriptions but now when they are purchasing, its completing the order but then telling me I have to ship the order when the order is Digital so no shipping is required, also it is not changing the usergroup of the customer upon completion of the order.
Its showing up in the transaction stats but not for an individual subscription.

Hope that makes sense and you can help me out with this.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:01.

Layout Options | Width: Wide Color: