Full index

Package indexes


a c d e f g h i m p s u x _
a
top
addItem
Add a new item to the cart
addItemsXML
Adds item elements to the XML for all items added with the addItem method
c
top
$continueShoppingUrl
Url the user will be sent to if they choose to continue shopping after purchasing the items in the cart
d
top
$defaultCurrency
$defaultXML
e
top
$editCartUrl
Url the user will be sent to if they choose to edit their cart
f
top
$flatRateShipping
g
top
generateXML
Creates the cart XML
getHTMLForm
Returns the HTML checkout button and form code with the cart XML and signature. This should be called last.
getSignature
Get the HMAC_SHA1 encoded signature required for communicating with Google Checkout
getURL
Gets the URL for sending the request to Google Checkout
getXML
Gets a string representation of the cart XML
Googlecheckout.php
Googlecheckout.php in Googlecheckout.php
Gregphoto_Service_Google_Checkout
Gregphoto_Service_Google_Checkout in Googlecheckout.php
A class for creating the Google Checkout forms for selling items from your own website
h
top
HMAC_SHA1
Implements the HMAC_SHA1 encryption
i
top
$items
m
top
$merchantCalcShipping
$merchant_id
$merchant_key
p
top
$pickupShipping
printXML
For debugging, prints the generated XML to the screen
s
top
$shippingTaxed
Whether or not shipping should be taxed
$stateTax
setCurrency
Sets the currency for the cart. The default currency is USD. You do not need to call this unless you are using a different currency
setDefaultXML
Allows the user to specify a base XML file or string that will be used instead of generating the entire string. The user can then add items to this XML using the addItem method.
setMode
Sets the mode of the operation to use either the sandbox or live Google Checkout site. You only need to call this if using the sandbox as the class defaults to using the live site.
setShipping
Adds a general shipping rule. You may add multiple rules of which the user may choose one
setStateTax
Sets a tax rate for a given state
u
top
$urlPrefix
x
top
$xml
_
top
__construct
Instantiates the class
a c d e f g h i m p s u x _