[ANN] google-checkout 0.1.0

Discussion in 'Ruby' started by 1337p337, Nov 29, 2006.

  1. 1337p337

    1337p337 Guest

    About
    =====

    A simple library for generating the HTML and XML you need to interface
    with Google Checkout (google.com/checkout). You can get a "Checkout"
    or
    "Buy Now" button with just a few lines of code. Right now it depends
    on
    Rails's ActiveSupport library for 'builder/xmlmarkup' to generate the
    XML and Daiki Ueno's ruby-hmac library for signing the cart
    (http://deisui.org/~ueno/ruby/hmac.html).

    Status
    ======

    Pretty stable, but missing a few small features (information in the
    README). It's already being used in production at vixby.com, so I'm
    pretty sure it's stable. Bug reports and criticism are both welcome,
    though.

    License
    =======

    Same as Ruby's license. See doc/LICENSE for the details.

    Example
    =======

    Here's a brief example:
    item = {:name => 'A Quarter',
    :description => 'One shiny quarter.',
    :price => 0.25 }
    cart = GoogleCheckout::Cart.new(merchant_id, merchant_key, item)
    cart.add_item:)name => "Pancakes",
    :description => "Flapjacks by mail."
    :price => 0.50, :quantity => 10)
    File.open('super-e-commerce.html', 'w') { |f|
    f.write("<html><body>Click this button to buy " +
    "a quarter and ten pancakes:" +
    cart.checkout_button +
    "</body></html>")
    }

    Of course, this is not a complete illustration of the features. See
    the
    documentation for a more complete tour.

    Author
    =====
    Pete Elmore (pete dot elmore at gmail dot com)

    homepage:
    debu.gs/google-checkout

    download:
    http://debu.gs/documents/download/google-checkout-download-0-1-0
     
    1337p337, Nov 29, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric Mamet
    Replies:
    0
    Views:
    402
    Eric Mamet
    Jan 30, 2004
  2. Brian

    SourceSafe Checkout or Edit??

    Brian, May 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    399
    Brian
    May 12, 2004
  3. Mark
    Replies:
    0
    Views:
    381
  4. Russell E. Owen

    cvs checkout question

    Russell E. Owen, Jun 24, 2003, in forum: Python
    Replies:
    3
    Views:
    2,046
    Russell E. Owen
    Jun 25, 2003
  5. Jason Burgett

    Google Checkout Pointers

    Jason Burgett, Jul 8, 2006, in forum: Ruby
    Replies:
    0
    Views:
    122
    Jason Burgett
    Jul 8, 2006
Loading...

Share This Page