Set Stripe Default Payment Method

Hi, I’d like to add a new payment method in stripe to an existing customer and set that payment method as the default. Is there a way to do that with the out-of-box credit card component? I can get it to add the new card (and not charge where currency = 0) but that new card is not set as the “default”.

Thanks!

Hi there @blschaef15,

Unfortunately this is not possible via the Card component. Seems doable using the Stripe API endpoints for Payment Methods. I’d recommend looking into the API docs and see if the endpoints allow for the functionality you are trying to achieve.

Best,
Nico

1 Like