#thebeard_api

1 messages ยท Page 1 of 1 (latest)

tame novaBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1346646941081014333

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

cursive rock
#

Hello! No, there's not really a way to test what you're asking about because often saved cards will continue to work even after they expire, so making them all decline in test mode would not be an accurate representation of what happens.

sick sentinel
#

ok make sense. since I am unable to attach an expired card. do you know if api would filter expired cards in live mode?

cursive rock
#

That's too vague a question for me to answer. Can you be more specific? Like what API endpoint are you talking about?

sick sentinel
#

oh sorry, i meant this endpoint
https://api.stripe.com/v1/customers/:cus_id/payment_methods

tame novaBOT
cursive rock
#

Yeah, attaching an expired card to a Customer should fail, but a Customer can have expired cards attached (ones that were added prior to their expiration).

sick sentinel
#

the thing I am trying to get to is creating subscriptions without providing default_payment_method. I know subscriptions would pick up default payment method for a customer if no payment method is provided. what if customer's default payment method is expired, but the customer also has another payment method attached. is there a way to fallback on non-default payment methods?

rapid apex
sick sentinel
rapid apex
sick sentinel