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&w=117&h=48&a
mp;style=trans&variant=text&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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|