#CaReS
1 messages · Page 1 of 1 (latest)
hello! can you elaborate a bit more on what you mean by stripe doesn't update the PaymentMethod for the customer - where are you expecting to see this payment method? can you share an example checkout session id where you're seeing this happen?
I see the payment method here in details of customer
but seems it not updated as default payment method and when I try o update quantitiy on user I get error that user doesn't hav payment method
that particular column only shows the default payment method. This is set in the Customer invoice_settings. default_payment_method [0]. Checkout doesn't automatically set the invoice_settings.default_payment_method
[0] https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
So as I understand you suggest after the user pay through the checkout session I need to get ID of the last payment method and update the customer invoice settings?