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

> # Prerequisites #4

Closed
Adawntoremember opened this issue Dec 31, 2023 · 4 comments
Closed

> # Prerequisites #4

Adawntoremember opened this issue Dec 31, 2023 · 4 comments

Comments

@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

google-wallet/rest-samples#99 (comment)

Originally posted by @Adawntoremember in google-wallet/rest-samples#88 (comment)

@Adawntoremember

This comment has been minimized.

@Adawntoremember
Copy link
Author

Okay thanks for the help
Hiw can I contact you for future help

@Adawntoremember
Copy link
Author

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

google-wallet/rest-samples#99 (comment)

Originally posted by @Adawntoremember in google-wallet/rest-samples#88 (comment)

1 similar comment
@Adawntoremember
Copy link
Author

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

google-wallet/rest-samples#99 (comment)

Originally posted by @Adawntoremember in google-wallet/rest-samples#88 (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
@Adawntoremember and others