👨🏼‍💻What’s new with Google I/O Wallet 2022

Mustafa Dincay
Huawei Developers
Published in
5 min readMay 31, 2022
Google Wallet

Introduction

Hello everyone, in this article, I will briefly touch on the new Google Wallet announced at Google I/O 2022. If you’re ready, let’s start.

Let’s say you’re invited to an event in the evening. You never forget two things when you leave the house, right? One is your phone and the other is your wallet. But what if just your phone was enough? With Google Wallet, you can pay quickly and securely wherever Google Pay is available. But Google Wallet is much more than paying…

The use of digital wallets has increased considerably in the last few years. In the beginning it was only for debit and credit cards but now it is much more than that. It’s just like a physical card, but consider it always with you. It is a technology that you can use wherever you want without the troubles of forgetting it at home, not taking it with me. This technology is aimed to be used by all android users in more than 40 countries in the coming days (android phones and smart watches) and this number is aimed to increase further next year.

There have been some changes in Google Wallet in 2022. For example, you can now access it with one click on your phone’s lock screen.

Wallet Kit quick access

If you want to add the wallet feature as a button, you must use the new button style.

Google Wallet old and new icons

Google Pay API supports 7 different features. These;

1. Offers

2. Loyalty Cards

3. Gift Cards

4. Event Tickets

5. Boarding Passes

6. Transit Tickets

7. Vaccine Cards

In addition, identity cards such as driver’s licenses in certain regions will be able to be registered to Google Wallet in the near future. Card types that are not listed above, such as membership cards or insurance cards, are generally collected under the name of Generic Cards. If it is a card in your hand, it can be saved as a Generic Card if it contains text or a QR code.

Generic Pass

You can also edit this area as you wish with the Card Template. You can specify the number of rows and columns or add QR codes.

Generic Pass editing

At the same time, you can share your passes with other applications. (Except sensitive content such as vaccine cards)

Cross-application sharing

You can see the json web token payload of an offer and an event ticket in the example below. Sorting is done by sort index and can be updated later, if desired, using the Google REST API.

json web token payload example

The current Android SDK only supports offers, loyalty cards and gift cards. A new Android SDK is released to support other pass types and future pass types (the REST API can be used to access past pass data). If you are using the old Android SDK, there is no problem of deprecate for now. But it is recommended to use the new json and jot based Android SDK. Using the new Android SDK is super easy. First you have to create a json payload object. You can then request the API.

Saving Pass with Android SDK

Then you can continue with your transactions according to the returned result.

Actions can be made according to the result

You can manage all your passes from the Google Pay and Wallet Console (formerly Google Pays Businesss Console).

Google Pay and Wallet Console

A trial version of the passes will be launched very soon. In this way, you will be able to develop and test your Google Wallet API securely while waiting for the approval of your Service Account.

Finally, you can integrate Google Wallet into different platforms according to your needs.

Google Wallet integration options

Integration options are as you see above. You can also go live in two days. You can also do multiple integrations. If your users want to store their passes in your Android app, you can integrate the new json jot format Android SDK. If your users want to store their passes on your website, you can integrate a JS web button. Or, if your users want to store their passes in sms email or web, you can integrate JWT Links.

JWT Link Template URL

Conclusion

In this article, I tried to explain the new Google Wallet after the 2022 Google I/O event. I hope it was useful for everyone. Thank you for taking the time to read.

References

--

--