Start a conversation

Set up Google Pay for passes in Passcreator

All pass types except boarding passes are supported for Google Pay.

In general there are no prerequisites in order to activate Google Pay in Passcreator. Google Pay must be activated before Passcreator starts providing Google Pay passes though. You can do this here: activate Google Pay in Passcreator. 

If you want to use your own Google account you can use the following steps. Otherwise you can skip this and proceed using our built in solution.

Setting up your own Google account for Google Pay

The following will only work if you've signed up for the Google Pay API for Passes successfully. Please do this first here: Sign up

1. Register your application

All applications that access a Google API must be registered through the API Console. The result of this registration process is a set of values that are known only to Google and your application (Passcreator in this case). To register your application:

  1. Sign up for Google Pay API for Passes access. If you have already done this, you may skip this step.
  2. Access the API Console.
  3. Click the Create Project button or select Create a Project from the dropdown located at the top of the page. The New project page appears.
  4. Enter a project name.
  5. Click Create. When configuration is complete, a notification appears in the top right corner. Click on this notification to navigate to the project's home page.
  6. Click APIs & Services in the left-hand menu and select Credentials in the drop down.
  7. Click the Create Credentials button then select Service Account Key.
  8. Create your service account key on the page, where you may need to create a service account as well. Choose json as the key type and then click Create.
    Make sure to note where you've saved this json file! You'll need it later in order to finish the set up.
  9. A new Service Account has been added to your list of accounts and a private key is downloaded to your local file system. This is the only copy of this key, and you are responsible for keeping this key file in a secure location. You will use this key later.
  10. Copy the Service Account Email of the key, which is found by clicking Manage service accounts from the Credentials tab. You will use this address later.

2. Tie your service account to your Google Pay API for Passes account

Your Google Pay API for Passes account should have been created for you by your Google point of contact. The Google Pay API for Passes Merchant Center is a web site you can use to manage your account and all your associated classes and objects. Follow these steps to tie your service account to the Google Pay API for Passes Merchant Center:

  1. Access the Google Pay API for Passes Merchant Center.
  2. Select your account from the list. The Account Info page is displayed.
     Make a note of your Issuer ID. You will use it later when you connect your Google account with Passcreator.
  3. Click Share. The Share settings appear.
  4. From the Register Your Application section, copy the Service Account Email of the key (ends with @<your_domain> and paste it in the Invite people field.
  5. Make sure the permissions dropdown is set to can edit then click Send. Your service account is now tied to your Google Pay API for Passes account. You are now ready to issue REST calls to the API.

3. Set up your Google account within Passcreator

If you've completed the steps above your Google account is ready. Log in to Passcreator and go to the Connect Google Pay account form. You can also get there by clicking on your account and then selecting "Connect Google Pay account".

Enter your Issuer ID and upload the JSON file you've downloaded from Google and submit the form. If everything went fine you'll see a success message and are ready to go.

Choose files or drag and drop files
Was this article helpful?