vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - Add Google Checkout to Paid Subscriptions (https://vborg.vbsupport.ru/showthread.php?t=249656)

CaseLogic 11-22-2010 09:05 PM

Great I'm glad that it's working for you now.

I will keep your changes in mind. I've been meaning to update with a bit more functionality such as the bits you've included, but I've been too busy lately.

Thanks again

OldSchoolDSL 12-10-2010 11:33 PM

Quote:

Originally Posted by CaseLogic (Post 2124790)
Great I'm glad that it's working for you now.

I will keep your changes in mind. I've been meaning to update with a bit more functionality such as the bits you've included, but I've been too busy lately.

Thanks again

Before vBulletin.com ends support for vBulletin 3. Can you please be so kind as to update this mod and release this for vBulletin 4?

CaseLogic 12-10-2010 11:42 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2132157)
Before vBulletin.com ends support for vBulletin 3. Can you please be so kind as to update this mod and release this for vBulletin 4?

Yeah I plan to. In the mean time, someone else has posted some edits you can make to make this compatible with vb4

BirdOPrey5 12-11-2010 02:49 AM

I heard somewhere on vbulletin.com native support for Google Checkout was coming soon for VB4. Might want to double check before you put in too much time.

CaseLogic 12-15-2010 12:30 AM

I figured out the issue that some (or at least 1) person reported in this thread. There is a problematic intval() call in the form generation function. Merchant ID's are generally very large numbers. intval() is either a 32 bit or a 64 bit function, depending on the host. If it's a 32 bit system, it will max out and cap at the wrong value.

For those running into the "oops!" error, please fix the following line by removing intval:

Code:

$form['action'] = 'https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/' . intval($settings['gmerchantid']);
to this:

Code:

$form['action'] = 'https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/' . $settings['gmerchantid'];

CaseLogic 12-15-2010 12:32 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2132221)
I heard somewhere on vbulletin.com native support for Google Checkout was coming soon for VB4. Might want to double check before you put in too much time.

Thanks for the heads up

MichaelDance 12-15-2010 01:36 PM

thank you mate for the fix :)

OldSchoolDSL 12-15-2010 07:27 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2132221)
I heard somewhere on vbulletin.com native support for Google Checkout was coming soon for VB4. Might want to double check before you put in too much time.

They've been claiming they'll work on this since...forever....

I'll wait for a mod (think it will happen sooner -vs- bulletin.com)

CaseLogic 12-16-2010 01:30 PM

if someone can be kind enough to let me use their vB4 forum, I can update this for vB4 in an hour tops.

OldSchoolDSL 12-17-2010 02:00 AM

Quote:

Originally Posted by CaseLogic (Post 2134819)
if someone can be kind enough to let me use their vB4 forum, I can update this for vB4 in an hour tops.

What do you need?


All times are GMT. The time now is 05:50 PM.

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.01058 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete