feat: add Venmo vault flow for editing payment method#73
Open
Conversation
Contributor
iisa
commented
Mar 26, 2026
- Add username field to BTPaymentMethodUpdate details
- Handle Venmo branch in setNewPaymentMethod mapping details.username to venmoUsername
- Add displayVenmo property and Pay with Venmo button to braintree-manager
- Add startVenmoPayment() with VenmoAuthorized/VenmoError event dispatch
- Wire VenmoAuthorized/VenmoError handlers in payment-method
- Hide submit button for Venmo (vault button is the confirmation)
- Extract paymentMethodDetail getter to handle PayPal, Venmo, and card view mode
- Update demo to show Venmo username and nonce on UpdatePaymentMethod
- Add PayPal vault button rendering in ia-mgc-braintree-manager - Wire paypalBlockerSelected to set PaymentProvider.PayPal - Auto-dispatch UpdatePaymentMethod on PayPal authorization (no submit button needed) - Fix setNewPaymentMethod() to correctly set paypalEmail, clear card fields, update paymentMethodType - Fix 'Paypal' casing in plans.ts to match PaymentProvider.PayPal - Show PayPal email in payment method view mode - Hide CC fields via CSS when PayPal is selected - Add PayPalVaultError event with UI error message on SDK failure - Update demo to show PayPal nonce and email on UpdatePaymentMethod - Add integration tests for PayPal selection and UpdatePaymentMethod dispatch Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix import order for PaymentProvider in plan.ts and plans.ts - Add file-level no-console disable in braintree-manager.ts - Add console.log to empty PayPal delegate methods - Add eslint-disable-next-line for console.log in payment-method.ts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add username field to BTPaymentMethodUpdate details - Handle Venmo branch in setNewPaymentMethod mapping details.username to venmoUsername - Add displayVenmo property and Pay with Venmo button to braintree-manager - Add startVenmoPayment() with VenmoAuthorized/VenmoError event dispatch - Wire VenmoAuthorized/VenmoError handlers in payment-method - Hide submit button for Venmo (vault button is the confirmation) - Extract paymentMethodDetail getter to handle PayPal, Venmo, and card view mode - Update demo to show Venmo username and nonce on UpdatePaymentMethod Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.