View Full Version : Major Additions - Add Google Checkout to Paid Subscriptions
CaseLogic
08-30-2010, 10:00 PM
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) (https://vborg.vbsupport.ru/showpost.php?p=2134051&postcount=35)
-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
CaseLogic
08-31-2010, 03:09 AM
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 (https://vborg.vbsupport.ru/showpost.php?p=2096162&postcount=22)
Stifler
08-31-2010, 05:02 AM
Quite awesome mate. Very useful feature (should've been built in).. Gonna test this out on vb4.. crossing my fingers.
Xtrigit
08-31-2010, 05:51 AM
Thanks!
BirdOPrey5
08-31-2010, 01:21 PM
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
CaseLogic
09-02-2010, 12:17 PM
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!
schlottkej
09-03-2010, 07:34 PM
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.
MichaelDance
09-04-2010, 10:54 AM
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)
CaseLogic
09-05-2010, 01:27 PM
is that when you are going to the google checkout cart? at what stage in the process is it giving you this error?
whitey06
09-05-2010, 05:27 PM
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
CaseLogic
09-05-2010, 05:36 PM
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
CaseLogic
09-05-2010, 05:53 PM
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
whitey06
09-06-2010, 05:39 PM
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:
$templater = vB_Template::create('subscription_payment_gcheckou t');
$templater->register('cost', $cost);
$templater->register('currency', $currency);
$templater->register('item', $item);
$templater->register('no_shipping', $no_shipping);
$templater->register('settings', $settings);
$templater->register('subinfo', $subinfo);
$templater->register('timeinfo', $timeinfo);
$templater->register('userinfo', $userinfo);
$form['hiddenfields'] .= $templater->render();
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 :D
CaseLogic
09-06-2010, 07:42 PM
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:
$templater = vB_Template::create('subscription_payment_gcheckou t');
$templater->register('cost', $cost);
$templater->register('currency', $currency);
$templater->register('item', $item);
$templater->register('no_shipping', $no_shipping);
$templater->register('settings', $settings);
$templater->register('subinfo', $subinfo);
$templater->register('timeinfo', $timeinfo);
$templater->register('userinfo', $userinfo);
$form['hiddenfields'] .= $templater->render();
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 :D
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)
whitey06
09-07-2010, 02:24 PM
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.
CaseLogic
09-07-2010, 02:33 PM
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.
Unfortunately I couldn't immediately figure out the shipping thing. Even when marked as digital, it still tries to go through the shipping process and I'm not familiar enough with GC to get around that.
However, the vB Payment API reacts to the 'charge' process, and should be adding the paid subscription successfully once it's charged. The ship state has no impact to the paid subscription.
So if you go into transaction log, are you seeing the date, the correct user, and a successful charge? Or is it showing Failure?
If it is showing that it Charged, that means everything went through successfully and beyond that, VB Core API is taking over (so my code doesn't impact that). I would make sure your paid subscription is setup correctly to move them to the right usergroup.
whitey06
09-07-2010, 03:51 PM
Ok ive now just checked and the log is now showing as failure for the subscriptions that have been purchased.
When clicked on failure its giving me the transaction details with 3 different sub categories:
API:
VB error code - Invalid subscription ID
Get:
Method - Google Checkout
Post:
Shows all details of the transaction
My paid subscription is set up correctly as I use another method on them aswell which works 100% fine and have used many others.
CaseLogic
09-08-2010, 11:35 PM
Ok ive now just checked and the log is now showing as failure for the subscriptions that have been purchased.
When clicked on failure its giving me the transaction details with 3 different sub categories:
API:
VB error code - Invalid subscription ID
Get:
Method - Google Checkout
Post:
Shows all details of the transaction
My paid subscription is set up correctly as I use another method on them aswell which works 100% fine and have used many others.
I'm currently out of town on business travel, so my response time will be a noticeably slower the next few days.
The first thing I would check is to verify that your template is properly using all the variables, notably the $hash (which it is using to tie the checkout transaction to a user). My guess is that the variable is not properly registering in the template object, or there is a typo in the modified template (because I'm assuming you edited the code and template to support vb4).
When you are on the page that says "Order now using Google Checkout", go look at the source and verify that the form input item "item_merchant_id_1" (or something similar, this is off memory) is being set properly. It should look like some random numbers and letters with some dashes in there. If it is blank or something obviously incorrect, I would say that is your issue.
whitey06
09-09-2010, 08:01 AM
I'm currently out of town on business travel, so my response time will be a noticeably slower the next few days.
The first thing I would check is to verify that your template is properly using all the variables, notably the $hash (which it is using to tie the checkout transaction to a user). My guess is that the variable is not properly registering in the template object, or there is a typo in the modified template (because I'm assuming you edited the code and template to support vb4).
When you are on the page that says "Order now using Google Checkout", go look at the source and verify that the form input item "item_merchant_id_1" (or something similar, this is off memory) is being set properly. It should look like some random numbers and letters with some dashes in there. If it is blank or something obviously incorrect, I would say that is your issue.
Ive checked the page source and it is as u say "item_merchant_id_1", the only thing that ive edited is the code in the class php file. I re-uploaded your file without the modifications and apart from the template error code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 3893
It all works the same way and goes straight through the process but just doesnt change the usergroup at the end of it.
Thanks for the replies.
CaseLogic
09-09-2010, 10:12 PM
Ive checked the page source and it is as u say "item_merchant_id_1", the only thing that ive edited is the code in the class php file. I re-uploaded your file without the modifications and apart from the template error code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 3893
It all works the same way and goes straight through the process but just doesnt change the usergroup at the end of it.
Thanks for the replies.
under the failure log where you see the error code, look for that same key (item_merchant_id_1) and see if it has anything that makes sense (random numbers, letters, and dashes that is like 20-30 characters long)
invalid subscription ID means that google checkout and my API are not correctly exchanging that hash back and forth that identifies the exact transaction
whitey06
09-10-2010, 07:43 AM
Hi,
In the log in the admincp, there is the following:
"order-summary_shopping-cart_items_item-1_merchant-item-id"
And then its blank next to it.
I think I have found the issue, when I use your php file from this thread, when looking at the page source on the "order using google checkout page", the "item_merchant_id_1" has a value of letters and numbers as you said, as soon as I edit the template part in the php file to enable it to function properly in VB4, the "item_merchant_id_1" value is then blank in the page source so I think it just needs the correct template class for VB4, the code that I am using mustn't be far away from it, just not quite right.
EDIT: Ok ive now edited the template code so that the page source shows a value for "item_merchant_id_1". I'll keep a check on it and see how it goes and post my findings.
whitey06
09-10-2010, 10:34 AM
Ok I can now confirm that the recent change I made has now worked and the plugin is now working, doing everything it should be :D
The code change I made was to the template part again and is as follows:
$templater = vB_Template::create('subscription_payment_gcheckou t');
$templater->register('hash', $hash);
$templater->register('cost', $cost);
$templater->register('currency', $currency);
$templater->register('item', $item);
$templater->register('no_shipping', $no_shipping);
$templater->register('settings', $settings);
$templater->register('subinfo', $subinfo);
$templater->register('timeinfo', $timeinfo);
$templater->register('userinfo', $userinfo);
$form['hiddenfields'] .= $templater->render();
return $form;
Thanks again for the help and replies.
CaseLogic
09-10-2010, 02:52 PM
Ok I can now confirm that the recent change I made has now worked and the plugin is now working, doing everything it should be :D
The code change I made was to the template part again and is as follows:
$templater = vB_Template::create('subscription_payment_gcheckou t');
$templater->register('hash', $hash);
$templater->register('cost', $cost);
$templater->register('currency', $currency);
$templater->register('item', $item);
$templater->register('no_shipping', $no_shipping);
$templater->register('settings', $settings);
$templater->register('subinfo', $subinfo);
$templater->register('timeinfo', $timeinfo);
$templater->register('userinfo', $userinfo);
$form['hiddenfields'] .= $templater->render();
return $form;
Thanks again for the help and replies.
no problem thanks for the vb4 code :)
MichaelDance
09-13-2010, 09:31 AM
is that when you are going to the google checkout cart? at what stage in the process is it giving you this error?
The First stage, but ill update to the 1.1 and see but if it comes up again bye bye google.
------------------------
No sorry im not using as it wont work for me..
Click on:
Order Using Google Checkout
Takes me to:
https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/2147483647
Error:
Oops!
We were unable to process your request.
Time when the error happened: 2010-09-13T10:35:26 (UTC) (49021a792b5c8)
I entered all my information correct..
Tbh i dont like it now. I'm clicking un-installed.
dimopoulos
11-18-2010, 12:08 PM
Great plugin!!
Thank you for sharing. I really wanted to have an alternative to Paypal and now I have it.
dimopoulos
11-20-2010, 03:02 PM
I am having an issue in the integration.
I followed the instructions.
Created the GCheckout account.
Added bank information/verified bank etc.
Settings/Preferences
- Automatically authorize and charge
Settings/Integration
- Not checked the digitally signed cart box
- Typed (correctly) the callback URL
- Selected the first option in the Serial # (I don't have https)
- Selected API 2.5
In vBulletin I uploaded the class, installed the product and set up the merchant ID and merchant Key. I activated the gateway and tested the communication - all is OK.
Now when I go with a test account to subscribe, I see the google checkout option. I click on it, go to the relevant page with my subscription and pay for it.
In the Google Checkout account, I do see the charge, however it awaits for me to click the relevant button to make the order shipped. This is issue number 1.
Even when I do click shipped, I do not see the order in the logs nor do I see the subscription activated through the callback....
I am somewhat baffled by this. Any help is appreciated.
CaseLogic
11-20-2010, 03:18 PM
I am having an issue in the integration.
I followed the instructions.
Created the GCheckout account.
Added bank information/verified bank etc.
Settings/Preferences
- Automatically authorize and charge
Settings/Integration
- Not checked the digitally signed cart box
- Typed (correctly) the callback URL
- Selected the first option in the Serial # (I don't have https)
- Selected API 2.5
In vBulletin I uploaded the class, installed the product and set up the merchant ID and merchant Key. I activated the gateway and tested the communication - all is OK.
Now when I go with a test account to subscribe, I see the google checkout option. I click on it, go to the relevant page with my subscription and pay for it.
In the Google Checkout account, I do see the charge, however it awaits for me to click the relevant button to make the order shipped. This is issue number 1.
Even when I do click shipped, I do not see the order in the logs nor do I see the subscription activated through the callback....
I am somewhat baffled by this. Any help is appreciated.
for starters, you don't have to worry about clicking ship or anything. once the order is charged, that is enough to initiate the proper callback to vB. vB doesn't care about the status of the shipment, so you don't have to click ship or anything.
if you are not seeing anything in the transaction logs, then google checkout is not communicating properly with vB. If there was an error in the communication, you'd still see that in the logs.
Double- and triple-check the URL that google checkout is contacting. It should be your forum address/payment_gateway.php?method=gcheckout
If that is correct, go to the Google Checkout Integration console (https://checkout.google.com/sell/settings?section=IntegrationConsole). See if there are any errors listed.
Next, go to your transaction log verify the recent transactions (successful or otherwise). See if there are any listed errors for your recent GC transactions, anything at all being logged under gcheckout can be helpful
Finally, the process isn't as instantaneous as paypal. It usually takes 5-10 mins on average,
though.
dimopoulos
11-21-2010, 11:39 AM
Hello CaseLogic,
Thank you for the prompt reply.
The issue seems to be twofold. For starters Google did not authorize the transaction (even after 10-15 minutes). My credit card was being checked and that took more than 4 hours. In the end they did charge it successfully.
Now something happened with the communication itself which I am going to try and assess looking at the logs as you suggested.
Thank you again. I will keep you posted.
CaseLogic
11-21-2010, 01:08 PM
Let me know so I can help you debug
dimopoulos
11-22-2010, 08:40 PM
Hello CaseLogic,
It appears that the issue was from Google's fraud detection department. It took them several hours to clear my credit card and my second test was successful. The communication with vBulletin is complete and I have enabled the modification for my forum.
Two issues that I want to draw your attention to:
1. I have added the gcheckout_order_instructions phrase so as to display some information when one is presented with the Google Checkout button (follows the other payment apis)
2. In the class itself I have introduced the $_server variable which defaults to checkout.google.com. However you can if you wish set it to sandbox.google.com/checkout so that you can do some testing.
I am attaching the changed files for your attention.
Thank you again!
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
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
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:
$form['action'] = 'https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/' . intval($settings['gmerchantid']);
to this:
$form['action'] = 'https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/' . $settings['gmerchantid'];
CaseLogic
12-15-2010, 12:32 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.
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
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
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?
CaseLogic
12-17-2010, 12:33 PM
-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).
Tasking Mickey
01-05-2011, 01:16 AM
With my test transaction, the Integration Console showed these errors:
One of the times you entered is too far in the past.
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
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=
CaseLogic
01-05-2011, 11:30 AM
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.
Tasking Mickey
01-05-2011, 10:42 PM
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.
CaseLogic
01-10-2011, 12:28 PM
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.
Tasking Mickey
01-10-2011, 02:27 PM
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
CaseLogic
01-10-2011, 02:38 PM
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?
jayhawk785
01-11-2011, 01:57 PM
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.
jayhawk785
01-11-2011, 06:03 PM
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
CaseLogic
01-12-2011, 12:08 PM
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
jayhawk785
01-12-2011, 02:40 PM
CaseLogic, sent you a pm with the forum info.
Tasking Mickey
01-12-2011, 03:38 PM
Are you doing transactions in USD or another currency?
Just USD.
CaseLogic
01-27-2011, 08:55 PM
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!
MentaL
01-31-2013, 07:32 PM
when a user subscribes it gives the subscription to a random user.
MahdyE23
04-20-2013, 11:11 PM
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!
ForceHSS
04-21-2013, 02:51 AM
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
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
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
MahdyE23
04-21-2013, 07:54 PM
it goes to line 8557 so i dont know what functions.php you are looking at
line 23 of product-gcheckout-1.01.xml
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
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:
[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?
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!!!!
ForceHSS
04-21-2013, 08:41 PM
All you needed to do was to replace the functions.php file as it seems to be messed up for you
MahdyE23
04-22-2013, 12:02 AM
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.
ForceHSS
04-22-2013, 01:17 AM
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
MahdyE23
04-22-2013, 03:15 AM
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
Oh my... So, I was going into my webhosting files to edit the error on line 4734..
I opened it in notepad and this is what it currently is:
trigger_error('fetch_template() calls should be replaced by the vB_Template class. Template name: ' . htmlspecialchars($templatename), E_USER_WARNING);
I was going to switch it with this:
LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = " . $vbulletin->userinfo['userid'] . ")
Then save, reupload the functions.php file and then test the mod.. Do I not do that? I thought that is what you said to do in your previous post
MahdyE23
04-23-2013, 02:01 PM
Oh my... So, I was going into my webhosting files to edit the error on line 4734..
I opened it in notepad and this is what it currently is:
trigger_error('fetch_template() calls should be replaced by the vB_Template class. Template name: ' . htmlspecialchars($templatename), E_USER_WARNING);
I was going to switch it with this:
LEFT JOIN " . TABLE_PREFIX . "userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = " . $vbulletin->userinfo['userid'] . ")
Then save, reupload the functions.php file and then test the mod.. Do I not do that? I thought that is what you said to do in your previous post
Still need help. Anyone :(?
MahdyE23
04-24-2013, 03:43 PM
Getting another error.. Can I get some help? I am getting this:
http://prntscr.com/11z3l2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 4591
Getting another error.. Can I get some help? I am getting this:
http://prntscr.com/11z3l2
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: subscription_payment_gcheckout in [path]/includes/functions.php on line 4591
You are running vBulletin 4. This mod is for vB 3.8, and has not been updated to work on vB4 as of yet, from what I can see.
craigvm
05-28-2013, 02:53 PM
is this going to be updated for use with vb 4.2
joeychgo
05-28-2013, 04:48 PM
Google has announced that Google Checkout will be discontinued in November 2013 http://googlecommerce.blogspot.ca/2013/05/an-update-to-google-checkout-for.html#!/2013/05/an-update-to-google-checkout-for.htmlhttps://vborg.vbsupport.ru/external/2014/09/3.gif (http://googlecommerce.blogspot.ca/2013/05/an-update-to-google-checkout-for.html#!/2013/05/an-update-to-google-checkout-for.html)
craigvm
05-28-2013, 08:12 PM
Google has announced that Google Checkout will be discontinued in November 2013 http://googlecommerce.blogspot.ca/2013/05/an-update-to-google-checkout-for.html#!/2013/05/an-update-to-google-checkout-for.htmlhttps://vborg.vbsupport.ru/external/2014/09/3.gif (http://googlecommerce.blogspot.ca/2013/05/an-update-to-google-checkout-for.html#!/2013/05/an-update-to-google-checkout-for.html)
yes but but it will just move to google wallet then witch should be the same sort of thing
i`m using nochex now but it dont work right as it dont change the user group after payment
joeychgo
05-28-2013, 08:57 PM
Try 2checkout
craigvm
05-28-2013, 09:27 PM
Try 2checkout
do you use it
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.