Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Wallet Generic Pass Removing Card Title and Custom Font Color #88

Open
JunaidSultan20 opened this issue Sep 12, 2023 · 1 comment

Comments

@JunaidSultan20
Copy link

Prerequisites

I am working on the dotnet implementation of the Generic Pass and as per our need I don't want to display the Card Title and I also want to display a custom font color for the text on the front side of the Generic Pass. But when the card title field is set to null the card is not added in the wallet rather it displays Something went wrong message in Google Wallet.

Expected Behavior

  • When I set the card title to null in the GenericObject the title should be set to null or empty string, and it should not be displayed when the card is added to Google Wallet via Google Pay API link.
  • The card should be added successfully to the wallet regardless of the CardTitle added or not in the JWT Payload

Current Behavior

  • The card is not added in the Google Wallet and instead the message Something went wrong appears.

Steps to Reproduce

  1. Remove the CardTitle field from the GenericObject or set the field to string.Empty or " " or null
  2. Convert the model to JwtObject and create the payload
  3. Create the JWT token add/concat it to the Google Pay API link
  4. Use the link to add the card to the Google Wallet

Context

  • Operating System: Windows 10
  • Browser: Microsoft Edge
  • Android Version: 13
  • Google Apis Version: 1.62.0

Screenshots

No Card Title Added

@Adawntoremember
Copy link

Prerequisites

I am working on the dotnet implementation of the Generic Pass and as per our need I don't want to display the Card Title and I also want to display a custom font color for the text on the front side of the Generic Pass. But when the card title field is set to null the card is not added in the wallet rather it displays Something went wrong message in Google Wallet.

Expected Behavior

  • When I set the card title to null in the GenericObject the title should be set to null or empty string, and it should not be displayed when the card is added to Google Wallet via Google Pay API link.
  • The card should be added successfully to the wallet regardless of the CardTitle added or not in the JWT Payload

Current Behavior

  • The card is not added in the Google Wallet and instead the message Something went wrong appears.

Steps to Reproduce

  1. Remove the CardTitle field from the GenericObject or set the field to string.Empty or " " or null
  2. Convert the model to JwtObject and create the payload
  3. Create the JWT token add/concat it to the Google Pay API link
  4. Use the link to add the card to the Google Wallet

Context

  • Operating System: Windows 10
  • Browser: Microsoft Edge
  • Android Version: 13
  • Google Apis Version: 1.62.0

Screenshots

No Card Title Added

#99 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants