#allen6432_code

1 messages ¡ Page 1 of 1 (latest)

tidal pilotBOT
#

👋 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/1418443416139993139

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

brave tree
#

Hi @heavy oriole invoice and payment intent no long have one-to-one relationship since 2025-05-28.basil API version.

heavy oriole
#

Thank you for the quick response! I see

#

when invoice.payment_succeeded event happens, but the credit issuer dispute the charge, how do i handle this case?

brave tree
#

So you'll need to retrieve the invoice payments first, and get the paymentIntents from invoice payments

heavy oriole
brave tree
heavy oriole
# brave tree So you'll need to retrieve the invoice payments first, and get the paymentIntent...

i was referencing the sample code, but i can only find version previous to 2025-05-28.basil api version, for example this is V27

https://github.com/stripe-samples/subscription-use-cases/tree/main/fixed-price-subscriptions/server/java

GitHub

Create subscriptions with fixed prices or usage based billing. - stripe-samples/subscription-use-cases

brave tree
#

Hi @heavy oriole you can find example code from the changelog doc that I shared earlier.

tidal pilotBOT
brave tree