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> |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 the generated tokens in your app. | 127 the generated tokens in your app. |
128 <strong>NEVER</strong> include the Seller secret you use to generate token
s in your app. | 128 <strong>NEVER</strong> include the Seller secret you use to generate token
s in your app. |
129 If you need to generate JWTs dynamically, you should use a server. | 129 If you need to generate JWTs dynamically, you should use a server. |
130 </p> | 130 </p> |
131 </div> | 131 </div> |
132 </li> | 132 </li> |
133 | 133 |
134 <li>Include <a href="https://raw.github.com/GoogleChrome/chrome-app-samples/ma
ster/in-app-payments/buy.js">buy.js</a> in your app. | 134 <li>Include <a href="https://raw.github.com/GoogleChrome/chrome-app-samples/ma
ster/in-app-payments/buy.js">buy.js</a> in your app. |
135 <div class="indent-small"> | 135 <div class="indent-small"> |
136 Due to the security restrictions in the | 136 Due to the security restrictions in the |
137 <a href="contentSecurityPolicy.html">Content Security Policy</a> for Chrom
e Apps, | 137 <a href="contentSecurityPolicy">Content Security Policy</a> for Chrome App
s, |
138 you cannot include the <a href="https://raw.github.com/GoogleChrome/chrome
-app-samples/master/in-app-payments/buy.js">buy.js</a> | 138 you cannot include the <a href="https://raw.github.com/GoogleChrome/chrome
-app-samples/master/in-app-payments/buy.js">buy.js</a> |
139 library from an external location. Instead, you must package the library w
ith your app, and load it from the packaged location. | 139 library from an external location. Instead, you must package the library w
ith your app, and load it from the packaged location. |
140 </div> | 140 </div> |
141 </li> | 141 </li> |
142 | 142 |
143 <li><a href="https://developers.google.com/commerce/wallet/digital/docs/tutori
al#3">Create success and failure callback handlers.</a> | 143 <li><a href="https://developers.google.com/commerce/wallet/digital/docs/tutori
al#3">Create success and failure callback handlers.</a> |
144 <div class="indent-small"> | 144 <div class="indent-small"> |
145 Success and failure callback handlers let your app react to the purchase f
low's completion. | 145 Success and failure callback handlers let your app react to the purchase f
low's completion. |
146 </div> | 146 </div> |
147 </li> | 147 </li> |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/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 |