-
Notifications
You must be signed in to change notification settings - Fork 6
feat: add Google Pay yellow path #40
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
feat: add Google Pay yellow path #40
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
Skalakid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, it looks good. I've left some comments. Additionally, could you please add a video to the PR description that demonstrates how your solution works in our example app?
Thanks for the review! Regarding the demo video, I need to clarify the testing constraints: To demonstrate the Google Pay tokenization flow, I would need:
The testing I performed was done using my work environment, but I cannot share that footage publicly as it contains |
|
Greetings @Skalakid, I'm looking forward to continuing the approval process. If there's any way I can proceed, please let me know. |
|
Hello, had to finish some other tasks. We need to check if it actually works before merging. Since you've tested it in your unreleased app and can't attach a video here, I think we can try testing it in the Expensify app. I will try to add this flow there and will come back to you with more information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dbracamonte Finally got some time to test this PR. Everything works fine. Left some last comments, and I think we can merge it ;)
yellow-path.mp4
|
Greetings @Skalakid, I look forward to your comments so we can continue with the integration. |
zfurtak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since @Skalakid is ooo right now, I'll take over this one. Code looks fine, all the comments have been addressed, so I think we can merge it 😊
|
Apparently, due to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I've been OOO and couldn't approve this PR. LGTM, thank you!
|
Hmm I still can't merge it :/ @dbracamonte can you sign your commit please? This should help |
- add resumeAddCardToGoogleWallet() method for resuming card provisioning using existing token reference ID - add listTokens() method to retrieve all tokens stored in Google Wallet - add AndroidResumeCardData and TokenInfo types for new functionality - update README.md with documentation for new methods These methods provide better token lifecycle management and support for existing card tokens in Google Wallet integration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
4a8c972 to
ec9a64b
Compare
|
Done @Skalakid, I've already verified the commits. |
|
@dbracamonte Once again, thank you for the PR! |
|
@dbracamonte @Skalakid but i still get stuck on verify identity, not sure if it's me doing something wrong or the expected behavior :/ |
|
@wcastand the new resume function won't get you through the identity verification. It's something that should be configured with your card issuer, and you, as a user, should do it. It's a part of native in-app provisioning flow, and the library doesn't do anything with it. You can verify your card by calling the bank, for example |
|
yeah we disabled SMS code because of fraud and calling us doesn't help (we have no way to verify the card) so i need to check with issuer how to config the app verification then thanks 🙏 just wanted to confirm before i keep asking them until they actually help x) Thanks again for the help and the lib. guessing the same applies to apple pay then, the requireActivation on apple side of things doesn't require a resume? |
This PR introduces new features to integrate the Google Pay yellow path flow, allowing users to resume adding cards to Google Wallet and managing existing tokens. This is essential to comply with Google Pay requirements.
Summary
resumeAddCardToGoogleWallet()method for resuming card provisioning using existing token reference IDlistTokens()method to retrieve all tokens stored in Google WalletAndroidResumeCardDataandTokenInfoChanges Made
Android Native (Kotlin)
resumeAddCardToGoogleWalletandlistTokensmethods with proper error handlingTypeScript/React Native
Documentation
Features
resumeAddCardToGoogleWallet(cardData: AndroidResumeCardData)tokenReferenceIdTokenizationStatusto track the operation resultlistTokens()TokenInfoobjects containing:tokenReferenceId: Unique token identifierfpanLastFour: Last four digits of the tokenized cardtokenState: Current state of the token (numeric value)