#erikshestopal_webhooks

1 messages ยท Page 1 of 1 (latest)

naive craterBOT
#

๐Ÿ‘‹ 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/1308866331227066490

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

tame vault
#

It sounds like you want payout.paid for your purposes unless you're relying on our reporting/querying.

civic valley
#

This doesn't help clarify the situtation ๐Ÿ˜…

tame vault
#

Happy to answer more questions if you have them!

civic valley
#

Which of these events typically happens first? Reconciliation?

tame vault
#

I'm honestly not sure. I wouldn't count on either one happening first, the order is subject to change.

naive craterBOT
civic valley
#

Ok, one followup - how can I test automatic payouts that trigger these events in a test environment?

tidal wing
#

๐Ÿ‘‹ stepping in as Rubeus needed to step away

#

Unfortunately there is no way to trigger automatic payout events without just waiting until the automatic payout would occur on a daily basis. You can manually trigger the events via manual payouts.

civic valley
#

Tried with a manual payout:

Stripe::InvalidRequestError: Balance transaction history can only be filtered on automatic transfers, not manual.
tidal wing
#

Ah yes that will be an issue as there are no balance transactions associated to a manual payout since it is an arbitrary amount so there is no direct mapping to balance transactions.

civic valley
#

What are my options?

tidal wing
#

You either have to wait for the daily automatic payout or I believe our Support team can trigger these automatic payouts for you so you could reach out to them about this via https://support.stripe.com/contact/login

#

I believe we also already have an open feedback issue that this is a hard thing to test -- I can add on further feedback to that issue internally.

#

But yeah not a lot more I can do for you unfortunately.

civic valley
#

How do I enable the automatic daily payouts? Clicking this link in the test environment redirects to the live environment for some reason.

tidal wing
#

If you don't want this to affect your live account then I'd recommend creating a new account to just use for testing.

civic valley
#

for some reason I haven't been seeing any automatic payouts since 2023

#

My org's live account has automatic payouts and I want to keep that - the problem is the test account hasn't been doing those automatic payouts like I mentioned.

tidal wing
#

Can you share your account ID?

#

Or a PaymentIntent ID from your account?

civic valley
#

pi_3QNIoiHDgd7YgnZu1v0xotld

tidal wing
#

Your account is on manual payouts so yeah you wouldn't have automatic payouts occurring.

civic valley
#

Oh, I see. ๐Ÿ‘€

#

Hmm, take a look at po_1QEmuvHDgd7YgnZuizqTOSAx

#

I'm ABLE to look up the balance transactions for this payout.

tidal wing
#

Is it a manual payout?

civic valley
#

It's automatic

#

which is why I'm confused

tidal wing
#

Oh you are able to

#

Then that is expected... can you clarify the question here?

#

That was a debit of your external account

#

Due to a negative balance

civic valley
#

If my account is on a manual payout schedule, how am I seeing automatic payout events

tidal wing
#

I see yeah because it is a debit

#

So that doesn't rely on your payout schedule. If your account balance is negative at the end of the day then a debit of your external account is attempted.

#

Regardless of your payout settings

civic valley
#

Maybe I'm confusing something.

#

Since I have a platform + connect account setup, it seems that the connect accounts ARE on a automatic payout schedules, correct?

tidal wing
#

They very well could be, yes.

#

You set those individually

#

That doesn't rely on the setting you have on your platform account

civic valley
#

got it - it's because we're using the transfer model - we charge on the platform account and then immediately transfer to the connect account.

tidal wing
#

Yep makes sense

civic valley
#

So, the question then becomes, is there a way to listent for this payout events on individual connect accounts?

#

The business problem I'm trying to solve is when a payout occurs, I need to update a database with a timestamp of when that charge or refund is expected to be disbursed.

tidal wing
#

Not exactly. Connect Webhooks will always receive Webhooks from all of your Connected Accounts of that Event type but the Webhook also includes the Account ID so you would filter on your end for that if you only care about certain accounts.

civic valley
#

ok, i think this will work

#

thank you

tidal wing
#

Sure