Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Google Checkout to Paid Subscriptions Details »»
Add Google Checkout to Paid Subscriptions
Version: 1.01, by CaseLogic CaseLogic is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 08-30-2010 Last Update: 09-04-2010 Installs: 26
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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

File Type: zip product-gcheckout-1.01.zip (4.1 KB, 202 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
PHILIPS-08

Comments
  #42  
Old 12-17-2010, 12:33 PM
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

-FTP access or someone to upload an updated PHP file for me
-Template modification access

The only thing that needs to change between the two versions is the template-related code (the template itself and the code fetching the template).
Reply With Quote
  #43  
Old 01-05-2011, 01:16 AM
Tasking Mickey's Avatar
Tasking Mickey Tasking Mickey is offline
 
Join Date: Jun 2010
Location: United States
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With my test transaction, the Integration Console showed these errors:
One of the times you entered is too far in the past.
Quote:
XML Recieved: _type=notification-history-request&start-time=2007-01-01T05:00:00Z&end-time=2010-01-01T05:00:00Z
XML Sent: _type=error&error-message=One+of+the+times+you+entered+is+too+far+in +the+past&serial-number=241005a8-7749-4c68-a756-259b85e4278a
Invalid Serial Number
Quote:
XML we sent: _type=error&error-message=Invalid+serial+number%3A+&serial-number=4fd97cf1-33dd-40f3-8f0f-556f3f18c289
XML we recieved: _type=notification-history-request&serial-number=
Reply With Quote
  #44  
Old 01-05-2011, 11:30 AM
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by desi5257 View Post
With my test transaction, the Integration Console showed these errors:
One of the times you entered is too far in the past.

Invalid Serial Number
by test transaction, are you referring to when you do "test communications" via vB admin panel? Or are you running an actual transaction?

The notification history request start/end time stuff is part of the test communications function. All it's trying to do is verify that we can communicate with Google. The error can be ignored. I'm not positive on the serial # part though. The dashes look suspect though.

Please let me know what steps you took to produce this error.
Reply With Quote
  #45  
Old 01-05-2011, 10:42 PM
Tasking Mickey's Avatar
Tasking Mickey Tasking Mickey is offline
 
Join Date: Jun 2010
Location: United States
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By test transaction, I mean an actual transaction. It never showed up in vB.

I made a test subscription (only $0.50).
I purchased the test subscription.
Entered credit card info.
Submitted the order, success.
Went back to vB, saw no record of the order being completed.
Reply With Quote
  #46  
Old 01-10-2011, 12:28 PM
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by desi5257 View Post
By test transaction, I mean an actual transaction. It never showed up in vB.

I made a test subscription (only $0.50).
I purchased the test subscription.
Entered credit card info.
Submitted the order, success.
Went back to vB, saw no record of the order being completed.
Sorry for the slow response, I've been busy the past week.

Did you by chance get any transactions working in this time, or are you still encountering this issue?

Verify that your Google Merchant account is setup properly (see mod details above), and verify your google ID/key.
Reply With Quote
  #47  
Old 01-10-2011, 02:27 PM
Tasking Mickey's Avatar
Tasking Mickey Tasking Mickey is offline
 
Join Date: Jun 2010
Location: United States
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #48  
Old 01-10-2011, 02:38 PM
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #49  
Old 01-11-2011, 01:57 PM
jayhawk785 jayhawk785 is offline
 
Join Date: Feb 2005
Location: Orlando
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #50  
Old 01-11-2011, 06:03 PM
jayhawk785 jayhawk785 is offline
 
Join Date: Feb 2005
Location: Orlando
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #51  
Old 01-12-2011, 12:08 PM
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply


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

Forum Jump


All times are GMT. The time now is 05:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07112 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete