Skip to content

feat: add Venmo vault flow for editing payment method#73

Open
iisa wants to merge 4 commits intomainfrom
claude/venmo-integration
Open

feat: add Venmo vault flow for editing payment method#73
iisa wants to merge 4 commits intomainfrom
claude/venmo-integration

Conversation

@iisa
Copy link
Copy Markdown
Contributor

@iisa 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

iisa and others added 4 commits March 25, 2026 17:41
- 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>
@github-actions
Copy link
Copy Markdown

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://internetarchive.github.io/iaux-monthly-giving-circle/pr/pr-73/

Built to branch gh-pages at 2026-03-26 02:09 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Base automatically changed from claude/competent-swanson to main April 14, 2026 20:06
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

Successfully merging this pull request may close these issues.

1 participant