Posted by Google Pay Builders crew
What’s demo mode?
We need to make it simpler so that you can develop and take a look at Google Pockets passes with the intention to create new, participating experiences on your clients. At present, you may enroll within the Google Pay & Pockets Console and begin utilizing the Google Pockets API instantly in “demo mode.”
Once you join a Google Pockets Issuer account for the primary time, your account can be in demo mode. Demo mode contains the identical options and performance as publishing mode. Nonetheless, entry to difficulty Google Pockets passes to customers is restricted to any “take a look at customers” you add within the console. Whereas in demo mode, any consumer who shouldn’t be included in your checklist of take a look at customers will be unable so as to add a cross you create to their Google Pockets app. By default, all directors and builders who’ve entry to your Issuer account are already take a look at customers. The passes created by issuers in demo mode will comprise the textual content “[TEST ONLY]” within the high of the cross till the issuer is permitted to be in publishing mode.
Whereas in demo mode, you are able to do any of the next:
If you find yourself within the Google Pay & Pockets Console, you will notice two completely different indicators that your Issuer account is in demo mode.
On the Dashboard web page, the Google Pockets API integration card will embody a Demo mode tag.
![]() |
Determine 1 – The Google Pockets API integration card on the console dashboard |
On the Google Pockets API web page, on the Handle tab, you will notice a bigger discover stating “You’re in demo mode,” together with extra info and a hyperlink to study extra.
![]() |
Determine 2 – The demo mode discover on the Google Pockets API console web page |
How can builders use the Google Pockets API?
It’s easy! Simply comply with the under steps and also you’ll have entry to your issuer account in demo.
- Create a enterprise within the Google Pay & Pockets Console
- Choose Google Pockets API
- Choose Construct your first cross
- Conform to the Google Pockets API Phrases of Service
Some extra steps differ relying on whether or not you employ the Android SDK or Net API. Please discuss with the Google Pockets Developer Documentation for these different steps. After you’ve accomplished the steps, you’ll be able to create your personal lessons and difficulty passes to your take a look at customers.
How does demo mode have an effect on new and present accounts?
When you’ve got an present account and have requested publishing entry by submitting a assist request, no modifications are required in your finish. Your Issuer account is already in publishing mode and this can be mirrored within the console.
For brand new accounts, this can depend upon two components:
- The consumer or service account is related to an present Issuer account
- The brand new account is being created utilizing the issuer.insert methodology or the Google Pay & Pockets Console
*Word – Issuer accounts in demo mode are unable to create extra accounts utilizing the issuer.insert methodology.
How are take a look at customers managed?
So as to add and/or take away take a look at customers with out granting them entry to your Issuer account, comply with the under steps:
- Navigate to the Google Pay & Pockets Console
- Choose Google Pockets API
- Within the Handle tab, choose Arrange take a look at accounts
- Add every take a look at consumer’s Google Account e-mail handle on a separate line
Choose Replace testers
![]() |
Determine 3 – The take a look at accounts window the place you may add take a look at customers |
How do builders go to publishing mode?
Once you’re able to go to start out issuing passes to actual customers, you have to to finish the next earlier than you’ll be able to request publishing entry:
- Create at the least one cross class
- Full what you are promoting profile
As soon as full, you may submit the publishing entry request type. A Google contact will attain out to you requesting screenshots of the cross lessons and objects you might be creating to make sure they adhere to our model pointers and acceptable use coverage. This will take as much as two enterprise days to course of. You can be notified by e-mail when your request is permitted, and your Issuer account can be transformed to publishing mode. The standing of your cross lessons is not going to change, and any cross lessons which are in APPROVED state can be out there for issuing cross objects to customers.
Subsequent steps
Attempt making a Generic cross class and object by following the Net or Android codelabs! In these codelabs, you’ll have the choice to create a brand new Issuer account and check out demo mode. Comply with @GooglePayDevs on Twitter for future updates. When you’ve got questions, tag @GooglePayDevs and embody #AskGooglePayDevs in your tweets.