#ritzpar_code

1 messages ¡ Page 1 of 1 (latest)

signal bladeBOT
#

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

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

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.

analog meadow
#

Hi roadrunner_stripe

real cape
#

Hi there

#

Can you share what you're trying to do exactly?

analog meadow
#

Sure, I'm trying to get all the fees charged by Stripe after a charge is successfully created

#

Is this possible ?

#

Or do i have to wait for some other event ?

real cape
#

This is possible, though you'll need to inspect the BalanceTransaction tied to the Charge

#

Note that, if you're using capture_method: automatic_async you'll need to wait for the charge.updated event to let you know that a BalanceTransaction has been created

analog meadow
#

I tried that example but it code doesn't work with latest Java API definition

signal bladeBOT
analog meadow
#

I've set my capture_method to manual and issued a capture fund call. All of that works and I get a "charge.succeeded" webhook call but the balance object is always null

harsh osprey
#

Hello! I'm taking over and catching up...

analog meadow
#

Hi Rubeus

#

Sure, take your time.

harsh osprey
analog meadow
#

Really ? The payment intent object has it set differently ( pi_3Qygu8CVUvdI84gC0EC4jzV0 )

#

capture method is set to manual

#

Ops, wrong object ID. It is pi_3QygzZCVUvdI84gC1m2WFoJl

harsh osprey
#

Looking...

analog meadow
#

Even if the behavior is that of a automatic capture, wouldn't the balance object be available ?

harsh osprey
#

Oh, okay, that makes sense because you haven't captured it yet. You won't get a Balance Transaction until that Payment Intent is captured.

analog meadow
#

Hmm .. really ? Ok, I'll need to do some debugging on my end. Thanks everyone.