#chuu_unexpected

1 messages ¡ Page 1 of 1 (latest)

gleaming laurelBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253294881485623296

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

supple eagle
jovial knoll
#

Hello, actually this one fails during checkout

#

My case was that the card from the user did not fail during checkout, but went through and created unpaid subscription.

supple eagle
#

hmm I thought it would work

#

ok in that case I would just do the Checkout with a regular 4242 card, then afterwards manually call https://docs.stripe.com/api/payment_methods/attach with payment_method:"pm_card_chargeCustomerFail" , set the default_payment_method to the returned ID, and then wait for the later Subscription payment to fail