| OLD | NEW |
| 1 <h1>Google Wallet for Digital Goods</h1> | 1 <h1>Google Wallet for Digital Goods</h1> |
| 2 | 2 |
| 3 <table class="intro"> | 3 <table class="intro"> |
| 4 <tr> | 4 <tr> |
| 5 <td><strong>Description:</strong></td> | 5 <td><strong>Description:</strong></td> |
| 6 <td>Use Google Wallet for digital goods to sell digital and virtual goods wi
thin a Chrome app.</td> | 6 <td>Use Google Wallet for digital goods to sell digital and virtual goods wi
thin a Chrome app.</td> |
| 7 </tr> | 7 </tr> |
| 8 <tr> | 8 <tr> |
| 9 <td><strong>Availability:</strong></td> | 9 <td><strong>Availability:</strong></td> |
| 10 <td>Chrome 29</td> | 10 <td>Chrome 29</td> |
| 11 </tr> | 11 </tr> |
| 12 <tr> | 12 <tr> |
| 13 <td><strong>Sample:</strong></td> | 13 <td><strong>Sample:</strong></td> |
| 14 <td><a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/
in-app-payments">in-app-payments</a></td> | 14 <td><a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/
samples/in-app-payments">in-app-payments</a></td> |
| 15 </tr> | 15 </tr> |
| 16 <tr> | 16 <tr> |
| 17 <td><strong>Learn more:</strong></td> | 17 <td><strong>Learn more:</strong></td> |
| 18 <td> | 18 <td> |
| 19 <a href="https://support.google.com/chrome_webstore/answer/1053354">Google W
allet</a><br> | 19 <a href="https://support.google.com/chrome_webstore/answer/1053354">Google W
allet</a><br> |
| 20 <a href="https://developers.google.com/commerce/wallet/digital/docs/">Google
Wallet for Digital Goods</a><br> | 20 <a href="https://developers.google.com/commerce/wallet/digital/docs/">Google
Wallet for Digital Goods</a><br> |
| 21 <a href="http://www.youtube.com/watch?v=Z3jryGggMCs">How-to Video</a></td> | 21 <a href="http://www.youtube.com/watch?v=Z3jryGggMCs">How-to Video</a></td> |
| 22 </tr> | 22 </tr> |
| 23 </table> | 23 </table> |
| 24 | 24 |
| 25 <h2 id="overview">Overview</h2> | 25 <h2 id="overview">Overview</h2> |
| 26 | 26 |
| 27 <p> | 27 <p> |
| 28 You can use Google Wallet for digital goods to sell digital and virtual goods wi
thin your app. | 28 You can use Google Wallet for digital goods to sell digital and virtual goods wi
thin your app. |
| 29 The Google Wallet for digital goods client app, which is embedded in Chrome, com
municates with the | 29 The Google Wallet for digital goods client app, which is embedded in Chrome, com
municates with the |
| 30 <a href="https://support.google.com/chrome_webstore/answer/1053354">Google Walle
t</a> | 30 <a href="https://support.google.com/chrome_webstore/answer/1053354">Google Walle
t</a> |
| 31 servers and handles all the required checkout details, so your app does not have
to process any financial transactions. | 31 servers and handles all the required checkout details, so your app does not have
to process any financial transactions. |
| 32 Google Wallet for digital goods requires you to package a JavaScript file, | 32 Google Wallet for digital goods requires you to package a JavaScript file, |
| 33 <a href="https://raw.github.com/GoogleChrome/chrome-app-samples/master/in-app-pa
yments/buy.js">buy.js</a>, | 33 <a href="https://raw.github.com/GoogleChrome/chrome-app-samples/master/in-app-pa
yments/buy.js">buy.js</a>, |
| 34 with your app to trigger the purchase flow. | 34 with your app to trigger the purchase flow. |
| 35 </p> | 35 </p> |
| 36 | 36 |
| 37 <h2 id="flow">Purchase flow</h2> | 37 <h2 id="flow">Purchase flow</h2> |
| 38 | 38 |
| 39 <p> | 39 <p> |
| 40 When a customer clicks a "Buy" button in your app to make a purchase, Google Wal
let for digital goods displays a payment processing window | 40 When a customer clicks a "Buy" button in your app to make a purchase, Google Wal
let for digital goods displays a payment processing window |
| 41 on top of your application window: | 41 on top of your application window: |
| 42 </p> | 42 </p> |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 you must package <a href="https://raw.github.com/GoogleChrome/chrome-app-samples
/master/in-app-payments/buy.js">buy.js</a> | 188 you must package <a href="https://raw.github.com/GoogleChrome/chrome-app-samples
/master/in-app-payments/buy.js">buy.js</a> |
| 189 with your app; and you must specify an additional parameter in the call to <code
>buy()</code>). | 189 with your app; and you must specify an additional parameter in the call to <code
>buy()</code>). |
| 190 | 190 |
| 191 <h2 id="sample-app">Sample app</h2> | 191 <h2 id="sample-app">Sample app</h2> |
| 192 | 192 |
| 193 <p> | 193 <p> |
| 194 For a simple app that demonstrates how to use Google Wallet for digital goods, s
ee: | 194 For a simple app that demonstrates how to use Google Wallet for digital goods, s
ee: |
| 195 </p> | 195 </p> |
| 196 | 196 |
| 197 </ul> | 197 </ul> |
| 198 <li><a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/in
-app-payments">source code</a></li> | 198 <li><a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/sa
mples/in-app-payments">source code</a></li> |
| 199 <li><a href="https://chrome.google.com/webstore/detail/moldiohggmfllblgmikpeoa
gipenlcae">published app</a> (requires Chrome 29 or higher)</li> | 199 <li><a href="https://chrome.google.com/webstore/detail/moldiohggmfllblgmikpeoa
gipenlcae">published app</a> (requires Chrome 29 or higher)</li> |
| 200 </ul> | 200 </ul> |
| 201 | 201 |
| 202 <p> | 202 <p> |
| 203 You can install and run the published app from the Chrome Web Store to try out t
he in-app payment purchase flow. | 203 You can install and run the published app from the Chrome Web Store to try out t
he in-app payment purchase flow. |
| 204 The app has options to use either the production server or the sandbox server. W
hen testing with the sandbox server, | 204 The app has options to use either the production server or the sandbox server. W
hen testing with the sandbox server, |
| 205 use these <a href="https://developers.google.com/commerce/wallet/digital/docs/te
sting">test credit card numbers</a>, | 205 use these <a href="https://developers.google.com/commerce/wallet/digital/docs/te
sting">test credit card numbers</a>, |
| 206 which pass basic checks by the Google Wallet for digital goods system. | 206 which pass basic checks by the Google Wallet for digital goods system. |
| 207 </p> | 207 </p> |
| OLD | NEW |