Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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

CaseLogic, sent you a pm with the forum info.
Reply With Quote
  #53  
Old 01-12-2011, 03:38 PM
Tasking Mickey's Avatar
Tasking Mickey Tasking Mickey is offline
 
Join Date: Jun 2010
Location: United States
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CaseLogic View Post
Are you doing transactions in USD or another currency?
Just USD.
Reply With Quote
  #54  
Old 01-27-2011, 08:55 PM
CaseLogic CaseLogic is offline
 
Join Date: May 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #55  
Old 01-31-2013, 07:32 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when a user subscribes it gives the subscription to a random user.
Reply With Quote
  #56  
Old 04-20-2013, 11:11 PM
MahdyE23 MahdyE23 is offline
 
Join Date: Apr 2013
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #57  
Old 04-21-2013, 02:51 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
PHP Code:
plate name="subscription_payment_gcheckout" templatetype="template" date="1283011303" username="CaseLogic" version="1.01"><![CDATA[  <input type="hidden" name="item_name_1" value="<phrase 1="$subinfo[title]">$vbphrase[x_subscription]</phrase>"/> 
line 4734 of functions.php
PHP Code:
LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid user.userid AND userlist.type 'buddy' AND userlist.userid " . $vbulletin->userinfo['userid'] . "
try a fresh install see if that replaces the missing code
Reply With Quote
Благодарность от:
MahdyE23
  #58  
Old 04-21-2013, 07:54 PM
MahdyE23 MahdyE23 is offline
 
Join Date: Apr 2013
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
PHP Code:
plate name="subscription_payment_gcheckout" templatetype="template" date="1283011303" username="CaseLogic" version="1.01"><![CDATA[  <input type="hidden" name="item_name_1" value="<phrase 1="$subinfo[title]">$vbphrase[x_subscription]</phrase>"/> 
line 4734 of functions.php
PHP Code:
LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid user.userid AND userlist.type 'buddy' AND userlist.userid " . $vbulletin->userinfo['userid'] . "
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:

[
PHP Code:
trigger_error('fetch_template() calls should be replaced by the vB_Template class. Template name: ' htmlspecialchars($templatename), E_USER_WARNING); 
Replace it with what you gave me?
PHP Code:
LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid user.userid AND userlist.type 'buddy' AND userlist.userid " . $vbulletin->userinfo['userid'] . "
Thanks for the help!!!!
Reply With Quote
  #59  
Old 04-21-2013, 08:41 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All you needed to do was to replace the functions.php file as it seems to be messed up for you
Reply With Quote
  #60  
Old 04-22-2013, 12:02 AM
MahdyE23 MahdyE23 is offline
 
Join Date: Apr 2013
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #61  
Old 04-22-2013, 01:17 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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

Thread Tools

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:59 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.04957 seconds
  • Memory Usage 2,355KB
  • Queries Executed 28 (?)
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
  • (6)bbcode_php
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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