Reputation: 2153
I am trying to integrate google wallet loyalty cards into my application. I succesfully tested using the ids from the demo project . Now I want to prepare for production. I received access for google wallet but I do not know how to complete "class id" . Did not find in any documentation . Thanks all for your time
Upvotes: 0
Views: 1046
Reputation: 1
For Class ID:
This ID must be unique across all from an issuer. This value needs to follow the format
issuerID.identifier
where issuerID is issued by Google and identifier is chosen by you. The unique identifier can only include alphanumeric characters, ., _, or -.
Google Wallet - Generic Class reference
For the issuerID
, you can get it in your Google Pay & Wallet Console
Upvotes: 0
Reputation: 89
You may enter whatever id you want (I didn't find the field restrictions) and then you use it to set the classId with your issuerId, like this:
objectPayload.classId = `${issuerId}.${classId}`
Upvotes: 0