| Note: This is the latest documentation. The previous version of this page is identical — only the left nav differs. |
This document explains a Google Checkout feature that enables merchants to receive information about Google promotions in notifications. From time to time, Google runs promotions in which it may contribute a portion of the cost of an order on the buyer's behalf. For example, Google might contribute $10 toward the cost of an order of $50 or more.
This feature is designed to help you to understand whether any portion of an order's total will be paid by a party other than the buyer. By clearly communicating this information to you, you will be able to accurately reflect the amount actually charged to the buyer in any emails or receipts that you send for your Checkout orders.
This feature does not affect the way that you charge or refund orders. If an order does include a promotion, you do not need to charge the buyer and Google separately for that order. Similarly, if you need to issue a refund for an order, you do not need to issue separate refunds to the buyer and to Google.
This document contains the following sections:
The following instructions explain how to enable this feature for your account. Please note that you must complete these steps for your sandbox and production accounts.

After you enable this setting, Google will include information about Google promotions that affect your orders in new order notifications, charge amount notifications, refund amount notifications and chargeback amount notifications.
Google will send information about any promotions applied to an order in the new order notification for that order. Please note that to receive new order notifications, you must have implemented the Notification API.
If you opt to receive information about promotions, your new order notifications may contain the following parameters, which collectively contain information about a single promotion that is being applied to the order. Since an order could conceivably qualify for more than one promotion, these parameters may appear more than once in a new order notification. For that reason, the promotion element in the full parameter names will be numbered to allow you to identify all of the information associated with each promotion.
The following example shows the basic structure of a new order notification. Several parameters have been removed from the example to highlight the change described in this document. Omitted parameters are represented by ellipses (...).
_type=new-order-notification &serial-number=85f54628-44fc-8605-ae62364f6c71 ... &promotions.promotion-1.id=4910 &promotions.promotion-1.name=Google+10+off+50 &promotions.promotion-1.total-amount=10 &promotions.promotion-1.total-amount.currency=10 ...
If you enable this feature, Google will also send promotion information in the following amount notifications:
For orders that use promotions, each of these notifications will include one new tag that indicates whether a portion of the charge, refund or chargeback is associated with a promotion.
The example below shows a charge amount notification for an order that uses a promotion in which Google contributes $10 toward any order of $50 or more. In this case, the merchant requested to fully charge an order of exactly $50.
_type=new-order-notification &serial-number=95d44287-12b1-4722-bc56-cfaa73f4c0d1 &google-order-number=841171949013218 &latest-charge-amount=50 &latest-charge-amount.currency=USD &latest-promotion-charge-amount=10 &latest-promotion-charge-amount.currency=USD &total-charge-amount=50 &total-charge-amount.currency=USD ×tamp=2007-03-19T15%3A06%3A26.051Z
As shown in the example, the additional promotion-related parameter identifies the portion of the charge that is associated with the promotion. Similarly, refund amount notifications include the latest-promotion-refund-amount parameter and chargeback amount notifications include the latest-promotion-chargeback-amount parameter. Since these parameters all contain monetary values, the currency parameter will also specify the currency associated with the promotion amount.
| currency |
| The currency parameter identifies the unit of currency associated with a price, shipping cost or other monetary value. Every monetary value in a Google Checkout API request must specify the currency associated with that value. The value of the currency parameter must be a three-letter ISO 4217 currency code.
Associated recurring elements The currency parameter includes recurring elements any time the monetary value associated with the currency also contains a recurring element. For example, in a Checkout API request, the unit-price parameter identifies the price of an item and contains the recurring item element. As such, the currency associated with the unit-price parameter value will also contain the repeating price parameter.
API commands Checkout, Charge Order, Refund Order, New Order Notification, Charge Amount Notification, Refund Amount Notification, Chargeback Amount Notification, Authorization Amount Notification
Content format for parameter value String
Sample use(s) In a Checkout API request:
item type="hidden" name="shopping-cart.items.item-1.unit-price" value="12.99" item type="hidden" name="shopping-cart.items.item-1.unit-price.currency" value="USD" In a new order notification: order-adjustment.total-tax=1.38&order-adjustment.total-tax.currency=USD In a refund order request: amount=12.99&amount.currency=USD |
| description |
As a subtag of digital-content, the description parameter contains instructions for downloading a digital content item. Please use the item-description parameter to provide the description of the item being purchased. Note: This field has a maximum length of 1024 characters and may contain HTML tags. (HTML tags must be XML-escaped as described in the Google Checkout Developer's Guide.) As a subtag of promotion, the description parameter contains information about a promotion that Google applied to an order. Associated recurring elements The item element, which must be numbered, associates this parameter with a specific item in an order.
Content format for parameter value String
Sample use(s)
<input type="hidden" name="shopping-cart.items.item-#.digital-content.description" value="Please go to <a href="http://supersoft.example.com">our website</a>, and enter your access key so that you can download our software."/>
|
| id |
When the id parameter is used in a Checkout API request, it specifies a value that uniquely identifies the address from which a package will be shipped for carrier-calculated shipping. When it appears in a new order notification, the id parameter specifies a value that uniquely identifies a Google Checkout promotion. Associated recurring elements In a Checkout API request, the carrier-calculated-shipping element must be numbered with a value of 1 and the shipping-package element must also be numbered. In a new order notification, the promotion element will be numbered so that the promotion ID can be associated with a specific promotion.
API commands Content format for parameter value String
Sample use(s) promotions.
|
| latest-promotion-charge-amount |
The latest-promotion-charge-amount parameter indicates how much Google contributed to the latest charge amount as a part of an ongoing promotion. For example, suppose Google offered a promotion in which a buyer who completed an order through Google Checkout received $10 off any purchase of $100 or more. If a merchant charged the customer the full amount of a $100 order, then the latest-charge-amount value would be $100 and the latest-promotion-charge-amount would be $10. Content format for parameter value Decimal
Sample use(s) latest-promotion-charge-amount=10.00
|
| latest-promotion-chargeback-amount |
The latest-promotion-chargeback-amount parameter indicates that a portion of the latest chargeback amount was originally paid by Google as a part of a promotion and is therefore being recouped by Google rather than by the customer. For example, suppose Google offered a promotion in which a buyer who completed an order through Google Checkout received $10 off any purchase of $100 or more. If a buyer had completed a $100 order, then the buyer would have paid $90 and Google would have paid $10 of the order total. If the buyer then disputed the charge, then the latest-chargeback-amount value would be $100 and the latest-promotion-chargeback-amount would be $10. Content format for parameter value Decimal
Sample use(s) latest-promotion-chargeback-amount=10.00
|
| latest-promotion-refund-amount |
The latest-promotion-refund-amount parameter indicates that a portion of the latest refund amount was originally paid by Google as a part of a promotion and is therefore being refunded to Google rather than to the customer. For example, suppose Google offered a promotion in which a buyer who completed an order through Google Checkout received $10 off any purchase of $100 or more. If a merchant refunded the customer the full amount of a $100 order, then the latest-refund-amount value would be $100 and the latest-promotion-refund-amount would be $10. Accordingly, the buyer would receive a $90 refund ($100 - $10). Content format for parameter value Decimal
Sample use(s) latest-promotion-refund-amount=10.00
|
| name |
In a Checkout API request, the name parameter value contains a string that can be used to identify a tax table or shipping method. The parameter value must be at least one non-space character and may not be longer than 255 characters. The name parameter can also be used in a Checkout API request to identify the name of a query string parameter that will be included in a web beacon URL for third-party conversion tracking. The parameter's value is the name that the third-party tracking provider uses in its web beacon URLs. In a new order notification, the name parameter specifies the name that Google uses to identify a promotion in the Merchant Center. Associated recurring elements When the name parameter specifies the name of a query string parameter that will be included in a web beacon URL for third-party conversion tracking, the parameterized-url element must be numbered to associate the URL with a particular web beacon. In addition, the url-parameter element must be numbered so that the parameter name may be associated with the parameter value, which is expressed using the type parameter. When the name parameter is associated with an alternate tax table, the alternate-tax-table element must be numbered. When the name parameter is associated with a shipping method in a Checkout API request, either the flat-rate-shipping or pickup element needs to be numbered. Finally, when the name parameter is associated with a promotion, the promotion element must be numbered so that the promotion name can be associated with a specific promotion. Content format for parameter value String
Sample use(s) Identifying a shipping method in a Checkout API request:
input type="hidden" name="checkout-flow-support. Identifying a tax table in a Checkout API request: input type="hidden" name="checkout-flow-support. Identifying a URL parameter in a Checkout API request: input type="hidden" name="checkout-flow-support. Identifying a promotion in a new order notification: promotions. |
| total-amount |
The total-amount parameter specifies the amount that Google contributed to the cost of an order as a part of an ongoing promotion. Associated recurring elements The promotion element will be numbered so that the promotion amount can be associated with a specific promotion.
Content format for parameter value Decimal
Sample use(s) promotions.
|