#skoshkarli
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
i call stripe.customers.update(MY_CUSTOMER_ID, {
invoice_settings: {
default_payment_method: MY TOKEN,
},
})
req_LP9Sm0w5NqPYv0
Is this the correct request ID? I see it's succeeded.
yeah it succeeds but it doesnt set the default payment method on the customer
the payment method is there, but its not default
I don't see you passed in a default_payment_method in the request.
the request body is empty
this is what i call
stripe.customers.update(customerId, {
invoice_settings: {
default_payment_method: tokenId,
},
});
Is the tokenId set? can you do a console.log and see its value?