#dolar-defaultsource-paymentmethod
1 messages · Page 1 of 1 (latest)
Hi 👋
Do you have a request ID I could take a look at?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
hi hi
where do I find the request id?
also want to add this is in test mode
not production
i think i found it: req_u1KJdBbBKIDD1a
taking a look
dolar-defaultsource-paymentmethod
@past ermine the default_source on a Customer is only for legacy integrations using Card card_123 and Source src_123 objects. This has been deprecated for over 4 years now. If you have a PaymentMethod pm_123, you're using newer APIs (PaymentIntents and SetupIntents) and you can not use default_source at all with this
In my scenario, where I want a user to be able to update and replace card, would you use the SetupIntent over the PaymentIntent?
the PaymentIntent is here to collect a payment. The SetupIntent API is here to collect card details without a payment, for future payments.
So yes if you are just collecting a new card you'd use SetupIntent
Ok, noted. That's what's i'm thinking too. Also, since payment_method will add another card, is there any easy way to remove the previous card? or do I have to retrieve the customer and do the detach method?