You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[16.x] Return PaymentMethod when already default; accept StripePaymentMethod instance
- Avoid returning null from updateDefaultPaymentMethod when the provided
payment method is already the customer's default (return a PaymentMethod
instance instead).
- Accept Stripe\\PaymentMethod instances directly to avoid an extra retrieval.
- Updated test_we_can_set_a_default_payment_method to exercise the "already
default" path.
0 commit comments