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.
  #46  
Old 10 Jan 2011, 16:27
Tasking Mickey's Avatar
Tasking Mickey Tasking Mickey is offline
 
Join Date: Jun 2010
As far as I know, I setup the mod right.

I also see the transaction in the log, with this error:

API
vb_error_code invalid_payment_amount
Reply With Quote
  #47  
Old 10 Jan 2011, 16:38
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Originally Posted by desi5257 View Post
As far as I know, I setup the mod right.

I also see the transaction in the log, with this error:

API
vb_error_code invalid_payment_amount
Are you doing transactions in USD or another currency?
Reply With Quote
  #48  
Old 11 Jan 2011, 15:57
jayhawk785 jayhawk785 is offline
 
Join Date: Feb 2005
I'm seeing the same error 'One of the times you entered is too far in the past' - I'll recheck merchant keys & such, but i copied and pasted so I doubt they are wrong. I've also setup a .50cent subscription for testing, and I do not see anything coming back (yet) in the transaction logs. USD is the currency.
Reply With Quote
  #49  
Old 11 Jan 2011, 20:03
jayhawk785 jayhawk785 is offline
 
Join Date: Feb 2005
This shows in the google log, as the other error (if you wan to ignore the time one for testing communication):

xml we received:

_type=notification-history-request&serial-number=


xml we sent:

_type=error&error-message=Invalid+serial+number%3A+&serial-number=f31af266-de3e-42c2-ab82-a58654b56cc9
Reply With Quote
  #50  
Old 12 Jan 2011, 14:08
CaseLogic CaseLogic is offline
 
Join Date: May 2008
From my memory the "time you entered too far in the past" is simply because I used an old timestamp when doing the "Test communication" function. It shouldn't have any real impact other than annoyance for triggering an error.

As for the serial # error, what kind of system are you running? Can you link me to your forum? I should be able to see if the form information is being sent properly to Google's API
Reply With Quote
  #51  
Old 12 Jan 2011, 16:40
jayhawk785 jayhawk785 is offline
 
Join Date: Feb 2005
CaseLogic, sent you a pm with the forum info.
Reply With Quote
  #52  
Old 12 Jan 2011, 17:38
Tasking Mickey's Avatar
Tasking Mickey Tasking Mickey is offline
 
Join Date: Jun 2010
Originally Posted by CaseLogic View Post
Are you doing transactions in USD or another currency?
Just USD.
Reply With Quote
  #53  
Old 27 Jan 2011, 22:55
CaseLogic CaseLogic is offline
 
Join Date: May 2008
I'm really sorry I haven't been able to address this. I've been incredibly busy at work and I simply haven't had time!

If anyone else wants to try and help out, feel free!
Reply With Quote
  #54  
Old 31 Jan 2013, 20:32
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
when a user subscribes it gives the subscription to a random user.
Reply With Quote
  #55  
Old 21 Apr 2013, 01:11
MahdyE23 MahdyE23 is offline
 
Join Date: Apr 2013
I'm getting this error:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 4734

But there is no line 4734. Can someone please help me? Please PM me how to fix this error, I really need this!
Reply With Quote
  #56  
Old 21 Apr 2013, 04:51
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by MahdyE23 View Post
I'm getting this error:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 4734

But there is no line 4734. Can someone please help me? Please PM me how to fix this error, I really need this!
it goes to line 8557 so i dont know what functions.php you are looking at

line 23 of product-gcheckout-1.01.xml

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

line 4734 of functions.php

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

try a fresh install see if that replaces the missing code
Reply With Quote
  #57  
Old 21 Apr 2013, 21:54
MahdyE23 MahdyE23 is offline
 
Join Date: Apr 2013
Originally Posted by ForceHSS View Post
it goes to line 8557 so i dont know what functions.php you are looking at

line 23 of product-gcheckout-1.01.xml

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

line 4734 of functions.php

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

try a fresh install see if that replaces the missing code
I replace the codes with what you have given me, correct? I currently replaced line 23 with the code you gave me, now on line 4734, it says:

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

Replace it with what you gave me?

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

Thanks for the help!!!!
Reply With Quote
  #58  
Old 21 Apr 2013, 22:41
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
All you needed to do was to replace the functions.php file as it seems to be messed up for you
Reply With Quote
  #59  
Old 22 Apr 2013, 02:02
MahdyE23 MahdyE23 is offline
 
Join Date: Apr 2013
Originally Posted by ForceHSS View Post
All you needed to do was to replace the functions.php file as it seems to be messed up for you
So, once I edit this, it will work? Or, it should work?

Going to test now, thanks boss.
Reply With Quote
  #60  
Old 22 Apr 2013, 03:17
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by MahdyE23 View Post
So, once I edit this, it will work? Or, it should work?

Going to test now, thanks boss.
Don't edit functions.php file you need to upload the default one redown load it from the members area and take out the functions.php file from the zipped pack
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 07:33.

Layout Options | Width: Wide Color: