It depends on where you want the googlecheckout button displayed. I have mine outside of the form at the end of the page like this:
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
<td align="left" td class="main"><?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td>
<?php
$back = sizeof($navigation->path)-2;
if (isset($navigation->path[$back])) {
?>
<td class="main" align="right"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td>
<?php
}
?>
</tr>
</table></td>
</tr>
</table></form></td>
</tr>
<tr>
<td>
<?php
// *** BEGIN GOOGLE CHECKOUT ***
if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {
include_once('googlecheckout/gcheckout.php');
}
// *** END GOOGLE CHECKOUT ***
?>
</td>
</tr>
<?php
} else {
?>
<tr>
<td align="center" class="main"><?php new infoBox(array(array('text' => TEXT_CART_EMPTY))); ?></td>
</tr>
- osCommerce Support Forum
- → Viewing Profile: speed777
Latest News: (loading..)
Community Stats
- Group Community Member
- Active Posts 239 (0.09 per day)
- Most Active In Other (191 posts)
- Profile Views 6,797
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
Louis
-
Gender
Male
-
Location
Bozeman, Montana USA
0
Neutral
Friends
speed777 hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: google checkout install
10 October 2011, 22:27
In Topic: Offical Google Checkout module for osCommerce Support Thread
10 April 2011, 16:12
natasha21, on 07 April 2011, 16:41, said:
I've been having trouble with my table rates transferring to Google Checkout.
Right now, it's only charging $0.00 at the checkout.
I've used the shipping generator to get the code to paste into the /googlecheckout/library/shipping/merchant_calculated_methods.php
So it shows Table Rate ($0.00) on google side's.
I've been looking at this for a couple of days and the only thing that I can think of is that the response handler url in the admin side is wrong.
Under my google dashboard, it says
API callback URL
For Level 2 integration, copy and paste this URL into the "API callback URL" field in the Google Checkout Merchant Center under "Integration->Settings" (links to this page in Sandbox and Production):
https://www.****.com/admgooglecheckout/responsehandler.php
instead of
https://www.****.com/admin/googlecheckout/responsehandler.php
I put the correct url on Google's website though.
Any help would be greatly appreciated.
I'm selling parts of all sizes and need to be able to charge shipping by weight.
Thanks!
Right now, it's only charging $0.00 at the checkout.
I've used the shipping generator to get the code to paste into the /googlecheckout/library/shipping/merchant_calculated_methods.php
So it shows Table Rate ($0.00) on google side's.
I've been looking at this for a couple of days and the only thing that I can think of is that the response handler url in the admin side is wrong.
Under my google dashboard, it says
API callback URL
For Level 2 integration, copy and paste this URL into the "API callback URL" field in the Google Checkout Merchant Center under "Integration->Settings" (links to this page in Sandbox and Production):
https://www.****.com/admgooglecheckout/responsehandler.php
instead of
https://www.****.com/admin/googlecheckout/responsehandler.php
I put the correct url on Google's website though.
Any help would be greatly appreciated.
I'm selling parts of all sizes and need to be able to charge shipping by weight.
Thanks!
In Topic: return to google checkout
06 April 2011, 18:10
zpupster, on 05 April 2011, 14:33, said:
The 'p.products_id in (Array)' is not in your database, that's why your getting that error.
i am confused, from this line in gc_return.php
when i go to the products table there is a column labeled and filled products_id
if there is more information, you need to help me please let me know.
thanks,
craig
i am confused, from this line in gc_return.php
. TABLE_PRODUCTS . " p, "
when i go to the products table there is a column labeled and filled products_id
if there is more information, you need to help me please let me know.
thanks,
craig
In Topic: return to google checkout
26 March 2011, 14:26
zpupster, on 26 March 2011, 10:49, said:
hello support,
i am in sandbox mode, i am finally got the order to go thru. everything looks fine.
except this one link return to my site.
it gives this error:
1054 - Unknown column 'Array' in 'where clause'
select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd where p.products_status = '1' and p.products_id in (Array) and pd.products_id = p.products_id and pd.language_id = '1'
[TEP STOP]
any suggestions??
thanks,
craig
i am in sandbox mode, i am finally got the order to go thru. everything looks fine.
except this one link return to my site.
it gives this error:
1054 - Unknown column 'Array' in 'where clause'
select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from products p, products_description pd where p.products_status = '1' and p.products_id in (Array) and pd.products_id = p.products_id and pd.language_id = '1'
[TEP STOP]
any suggestions??
thanks,
craig
In Topic: Session problems
16 March 2011, 15:15
Feldo, on 16 March 2011, 10:08, said:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /domains1/gh116400/public/www_root/feldo/shipping.php:1) in /domains1/gh116400/public/www_root/feldo/includes/functions/sessions.php on line 102
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /domains1/gh116400/public/www_root/feldo/shipping.php:1) in /domains1/gh116400/public/www_root/feldo/includes/functions/sessions.php on line 102
Please help....where is problem?
This is web page: My WEB..
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /domains1/gh116400/public/www_root/feldo/shipping.php:1) in /domains1/gh116400/public/www_root/feldo/includes/functions/sessions.php on line 102
Please help....where is problem?
This is web page: My WEB..
- osCommerce Support Forum
- → Viewing Profile: speed777
- Forum Rules






Find content
