List Info

Thread: Digital Delivery with Buy Now Buttons




Digital Delivery with Buy Now Buttons
country flaguser name
United States
2007-10-06 14:44:43
Hey,
  I am trying to integrate Google Checkout to sell my
software
online.  All I want is a simple Buy Now button and then to
delivery my
software license via email when the order is complete. 
There is a
guide for digital delivery at
h
ttp://code.google.com/apis/checkout/developer/Google_Checkou
t_Digital_Delivery.html#Digital_Delivery_Checklist
, but it seems to be only for higher integration than the
Buy Now
buttons.
  Right now I have my goal set up with PayPal using their
Instant
Payment Notification and their Buy Now button.  There is no
dealing
with shipping or any of that stuff.  How can I do this with
Google
Checkout?


  Thank You,
    Bridger Maxwell
    www.FieryFerret.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Digital Delivery with Buy Now Buttons
country flaguser name
United States
2007-10-07 10:50:02
Hi Bridger,

It is in fact possible to implement digital delivery with
buy now
buttons.  I recommend using the 'email delivery' method.

In order to accomplish this you can follow the digital
delivery
documentation that you have referenced, and translate the
XML
elements  into HTML parameters so that they may be included
within
your buy now HTML form.  Further information on translating
XML
elements into HTML parameters may be found here:

http://checkout.google.com/support/s
ell/bin/answer.py?hl=en&answer=64729

For example, the 'email delivery' example shown at:
h
ttp://code.google.com/apis/checkout/developer/Google_Checkou
t_Digital_Delivery.html#Email_Delivery_XML_Example
may be translated as follows for use with your buy now
buttons:

<input type="hidden"
name="shopping-cart.items.item.item-name"
value="Super Software 5000"/>
<input type="hidden"
name="shopping-cart.items.item.item-description"
value="Super Software 5000 improves download
speeds."/>
<input type="hidden"
name="shopping-cart.items.item.unit-price"
value="1.00"/>
<input type="hidden"
name="shopping-cart.items.item.unit-
price.currency" value="USD"/>
<input type="hidden"
name="shopping-cart.items.item.quantity"
value="1"/>
<input type="hidden"
name="shopping-cart.items.item.digital-
content.email-delivery" value="true"/>


Thanks,

Joel


On Oct 6, 8:44 pm, "ow...fieryferret.com"
<ow...fieryferret.com>
wrote:
> Hey,
>   I am trying to integrate Google Checkout to sell my
software
> online.  All I want is a simple Buy Now button and then
to delivery my
> software license via email when the order is complete. 
There is a
> guide for digital delivery athttp://code.google.com/apis/checkout/dev
eloper/Google_Checkout_Digita...
> , but it seems to be only for higher integration than
the Buy Now
> buttons.
>   Right now I have my goal set up with PayPal using
their Instant
> Payment Notification and their Buy Now button.  There
is no dealing
> with shipping or any of that stuff.  How can I do this
with Google
> Checkout?
>
>   Thank You,
>     Bridger Maxwell
>    www.FieryFerret.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Digital Delivery with Buy Now Buttons
country flaguser name
United States
2007-10-07 21:28:14
Hey,
  I tried to do your suggestion, but I can't seem to get it
to work.
I changed my Buy Now button form to read:

			<form action="
https://sandbox.google.com/checkout/cws/v2/Merchant/
677164325940654/checkoutForm"
id="BB_BuyButtonForm" method="post"
name="BB_BuyButtonForm">
				<input type="hidden"
name="shopping-cart.items.item.item-name"
value="Lumen"/>
				<input type="hidden"
name="shopping-cart.items.item.item-
description" value="Lumen single user
license"/>
				<input type="hidden"
name="shopping-cart.items.item.unit-price"
value="10.00"/>
				<input type="hidden"
name="shopping-cart.items.item.unit-
price.currency" value="USD"/>
				<input type="hidden"
name="shopping-cart.items.item.quantity"
value="1"/>
				<input type="hidden"
name="shopping-cart.items.item.digital-
content.email-delivery" value="true"/>
			    <input alt="" src="https://
sandbox.google.com/checkout/buttons/
buy.gif?
merchant_id=677164325940654&amp;w=117&amp;h=48&a
mp;style=trans&amp;variant=text&amp;loc=en_US"
type="image"/>
			</form>

But when I click on the Buy Now button, I get a download
named
"CheckoutForm" containing this string:

_type=error&error-message=Carts+must+contain+at+least+on
e+item.&serial-
number=75b9aa6a-1ed5-41c0-affe-21629355f94b

Because it hints that I must have at least one item, I am
guessing I
put together to above form wrong.  Any suggestions?

  Thank You,
    Bridger Maxwell
    www.FieryFerret.com

On Oct 7, 9:50 am, GoogleCheckoutDevProJoel
<checkout-dev-pro
+j...google.com> wrote:
> Hi Bridger,
>
> It is in fact possible to implement digital delivery
with buy now
> buttons.  I recommend using the 'email delivery'
method.
>
> In order to accomplish this you can follow the digital
delivery
> documentation that you have referenced, and translate
the XML
> elements  into HTML parameters so that they may be
included within
> your buy now HTML form.  Further information on
translating XML
> elements into HTML parameters may be found here:
>
> http://checkout.google.com/support/s
ell/bin/answer.py?hl=en&answer=64729
>
> For example, the 'email delivery' example shown at:http://code.google.com/apis/checkout/dev
eloper/Google_Checkout_Digita...
> may be translated as follows for use with your buy now
buttons:
>
> <input type="hidden"
name="shopping-cart.items.item.item-name"
> value="Super Software 5000"/>
> <input type="hidden"
name="shopping-cart.items.item.item-description"
> value="Super Software 5000 improves download
speeds."/>
> <input type="hidden"
name="shopping-cart.items.item.unit-price"
> value="1.00"/>
> <input type="hidden"
name="shopping-cart.items.item.unit-
> price.currency" value="USD"/>
> <input type="hidden"
name="shopping-cart.items.item.quantity"
> value="1"/>
> <input type="hidden"
name="shopping-cart.items.item.digital-
> content.email-delivery"
value="true"/>
>
> Thanks,
>
> Joel
>
> On Oct 6, 8:44 pm, "ow...fieryferret.com"
<ow...fieryferret.com>
> wrote:
>
> > Hey,
> >   I am trying to integrate Google Checkout to sell
my software
> > online.  All I want is a simple Buy Now button and
then to delivery my
> > software license via email when the order is
complete.  There is a
> > guide for digital delivery athttp://code.google.com/apis/checkout/dev
eloper/Google_Checkout_Digita...
> > , but it seems to be only for higher integration
than the Buy Now
> > buttons.
> >   Right now I have my goal set up with PayPal
using their Instant
> > Payment Notification and their Buy Now button. 
There is no dealing
> > with shipping or any of that stuff.  How can I do
this with Google
> > Checkout?
>
> >   Thank You,
> >     Bridger Maxwell
> >    www.FieryFerret.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Digital Delivery with Buy Now Buttons
country flaguser name
United States
2007-10-07 21:36:47
Woops, I figured it out now.  I wasn't appending a number
onto the
items that could appear more than once.  I fixed my form to
read:

			<form action="
https://sandbox.google.com/checkout/cws/v2/Merchant/
677164325940654/checkoutForm"
id="BB_BuyButtonForm" method="post"
name="BB_BuyButtonForm">
				<input type="hidden"
name="shopping-cart.items.item-1.item-name"
value="Lumen"/>
				<input type="hidden"
name="shopping-cart.items.item-1.item-
description" value="Lumen single user
license"/>
				<input type="hidden"
name="shopping-cart.items.item-1.unit-price"
value="10.00"/>
				<input type="hidden"
name="shopping-cart.items.item-1.unit-
price.currency" value="USD"/>
				<input type="hidden"
name="shopping-cart.items.item-1.quantity"
value="1"/>
				<input type="hidden"
name="shopping-cart.items.item-1.digital-
content.email-delivery" value="true"/>
			    <input alt="" src="https://
sandbox.google.com/checkout/buttons/
buy.gif?
merchant_id=677164325940654&amp;w=117&amp;h=48&a
mp;style=trans&amp;variant=text&amp;loc=en_US"
type="image"/>
			</form>

(Noticed the "-1") and now it works fine.  Thank
you for your help!

  Thank You,
     Bridger Maxwell
     www.FieryFerret.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )