Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Web Design & Development
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery router safe mode screen slow sound spyware tdlwsp.dll trojan upgrade video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Google 'Buy Now' Button a little dynamic?

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
clogguy's Avatar
Junior Member with 2 posts.
 
Join Date: Nov 2009
Experience: Know enough to get by...
06-Nov-2009, 08:30 AM #1
Google 'Buy Now' Button a little dynamic?
Hi All

At the checkout stage of my website, I am using the standard Google 'Buy Now' HTML code as follows:


<form action=https://checkout.google.com/api/chec...17797650943131 id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm">
<input name="item_name_1" type="hidden" value="Order from World of Clogs.com"/>
<input name="item_description_1" type="hidden" value="*Please refer to your receipt for a breakdown of your order*"/>
<input name="item_quantity_1" type="hidden" value="1"/>
<input name="item_price_1" type="hidden" value="100.00"/>
<input name="item_currency_1" type="hidden" value="GBP"/>
<input name="_charset_" type="hidden" value="utf-8"/>
NETQUOTEVAR:OCC_VALUES
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="600">
<TR><TD ALIGN=CENTER>

<font face="arial" color="#999999" size ="2"><b>______________________________</b><br></font><br>
<input type="submit" name="submit3" value="Make Payment with Google Checkout"><p>
<input alt="" src="https://checkout.google.com/buttons/...text&loc=en_GB" height="44" width="168" style="border:none" type="image"/>
</TD></TR>
</TABLE>
</form>



This seems to work absolutely fine. However - I wish to make the button dynamic in that I wish it to forward whatever the Checkout Total is to Google. This seems to work fine with Paypal and I usually just replace the price value with "${amount}" (I am using an early version of Actinic). Is there a way around this or do Google just not allow a dynamic value??


I would appreciate any help that you can give me here!

Cheers - Rob
JohnWill's Avatar
Computer Specs
Moderator with 96,701 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
Experience: Advanced age & experience
06-Nov-2009, 09:19 AM #2
I think web development is a closer fit for this post.
clogguy's Avatar
Junior Member with 2 posts.
 
Join Date: Nov 2009
Experience: Know enough to get by...
06-Nov-2009, 12:53 PM #3
Isn't this in web development..?!

I thought using Buy Now just to take the order total through Google would be easy... (I realise that the customer will not get a comprehensive breakdown of their order without human intervention but initially just getting the order through google checkout is my priority).

I don't really want to add the whole Google cart to my website at this time.
Reply Bookmark and Share

Tags
actinic v4, dynamic buy now button, google buy now, google checkout

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:53 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.