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:
- Sign up for Google Pay API for Passes access. If you have already done this, you may skip this step.
- Access the API Console.
- 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.
- Enter a project name.
- 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.
- Click APIs & Services in the left-hand menu and select Credentials in the drop down.
- Click the Create Credentials button then select Service Account Key.
- 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.
- 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.
- 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:
- Access the Google Pay API for Passes Merchant Center.
- 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.
- Click Share. The Share settings appear.
- From the Register Your Application section, copy the Service Account Email of the key (ends with
@<your_domain>.iam.gserviceaccount.com) and paste it in the
- 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.