You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to implement C# code to generate google generic pass but no success I got. I tried lost of docs & article but didn't found a fruitful result. Anyone can help me to generate google pass using .NET C# please? I've tried all those steps with VS 2022 like below:
Prerequisites
.NET 6.0
Follow the steps outlined in the Google Wallet prerequisites
to create the Google Wallet issuer account and Google Cloud service account
The following environment variables must be set. Alternatively, you can update
the code files to set the values directly. They can be found in the constructor
for each class file.
Copy the path to the Google Wallet API Client library ( Google.Apis.Walletobjects.v1.csproj file) you downloaded. If needed, update
the path in wallet-rest-samples.csproj (line
19).
Hi,
I tried to implement C# code to generate google generic pass but no success I got. I tried lost of docs & article but didn't found a fruitful result. Anyone can help me to generate google pass using .NET C# please? I've tried all those steps with VS 2022 like below:
Prerequisites
Google Wallet prerequisites
to create the Google Wallet issuer account and Google Cloud service account
Google Wallet API Client library
Environment variables
The following environment variables must be set. Alternatively, you can update
the code files to set the values directly. They can be found in the constructor
for each class file.
GOOGLE_APPLICATION_CREDENTIALS
/path/to/key.json
How to use the code samples
Open the
wallet-rest-samples.csproj
filein your .NET editor of choice.
Copy the path to the Google Wallet API Client library (
Google.Apis.Walletobjects.v1.csproj
file) you downloaded. If needed, updatethe path in
wallet-rest-samples.csproj
(line19).
Build the project to install the dependencies.
In your C# code, import a demo class and call its method(s).
The text was updated successfully, but these errors were encountered: