#thomasnevink
1 messages · Page 1 of 1 (latest)
Hello thomasnevink, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• https://discord.com/channels/841573134531821608/1164194608977301514, 1 days ago, 6 messages
• https://discord.com/channels/841573134531821608/1164138119373783040, 1 days ago, 63 messages
• https://discord.com/channels/841573134531821608/1164087200846204948, 1 days ago, 10 messages
I don't believe we have 1 card restriction in test mode - are you seeing a particular error or anything?
No error as such
Card is not getting added to the customer, but payment is getting done with the 2nd card
Can you share the customer ID you're trying to add a customer for?
cus_OqgNYtkjN6piOc
How did you try to add your second card? Was it through the dashboard? Through the API?
@boreal heron 👋
I only see 1 card there. Can you share the request when you added the 2nd card?
Let me check
This was the paymentIntentId "pi_3O2z0WJnRs6ZWiPy0IDfe2Sv" for the transaction with the 1st card that was successful
Give me a sec
This was the paymentIntentId "pi_3O3BgyJnRs6ZWiPy0WsOrMNA" for the transaction with the 2nd card that was successful
The Customer is same but the paymentMethod is saved as a Guest for the same Customer I intended to add this paymentMethod
When you created that Customer, you explicitly specify the first PaymentMethod as a parameter: https://dashboard.stripe.com/test/logs/req_bggCojNzsMlR6p
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So the 1st PaymentMethod is attached. But since you haven't done anything with the second PaymentMethod, and also didn't specify anything when confirm the 2nd PI, it has no relation to the Customer
How do I add a new Payment Method to my existing customer?
Call the Attach PaymentMethod API
Do I update the Customer? If I do won't the previous Payment Method get replaced?
No you just call the Attach Payment Method API. A Customer can have multiple attached Payment Methods