Google Developers Academy

Selling digital goods

Learning objectives
  • Create merchant accounts
  • Create orders for digital goods
  • Initiate a purchase flow
  • Handle server-side order notifications
  • Test in sandbox, deploy in production
  • Download the sample app
  • Basic knowledge of JavaScript
  • Basic knowledge of Python

This course covers the basic steps required to integrate the Google Wallet for Digital Goods API in web applications.

To use the API, you must provide both client-side and server-side code. The client-side code initiates the purchase flow. The server-side code securely creates the items to be purchased and also acknowledges purchase notifications.

Sample App

To illustrate the use of the API as well as important concepts we will use a sample web store app that sells digital content. The client-side code is written in HTML / JavaScript and the server-side code is written in Python (using Google App Engine). To get started please download the sample app.


  • JavaScript / HTML
  • Python / App Engine


  • Set up as a merchant

    Get started as a digital goods merchant. Learn how to create and manage merchant accounts.

  • Create an order

    Create an order for a digital item. Learn how to use a JSON Web Token.

  • Start selling

    Learn how to initiate a purchase for digital goods. Test your client and server-side code.

  • Get paid

    Learn how to get paid by acknowledging order notifications. Get ready to launch your app.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.