#mason-terry_webhooks

1 messages ¡ Page 1 of 1 (latest)

halcyon ploverBOT
#

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

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

digital bane
#

Hello! Can you give me the ID of the associated payment which doesn't have a source transaction so I can take a look at that?

short venture
#

I don't know the specific one. We do not show that in our logs. We are getting a null reference error because we are expecting that data to be there. How common is it for that to be missing?

#

I will try to find out which payment this is happening for

digital bane
short venture
#

yes that is correct

digital bane
#

Yeah, that can absolutely be null in some cases.

short venture
#

when and why would that be? Are there a variety of reason?

digital bane
#

Mainly it's when the Transfer isn't funded by a charge, but instead by an available balance.

short venture
#

Is this fairly common when doing next day payouts?

digital bane
#

It depends on your situation. I can't say if it's common or not for you. If you could give me the specific Transfer ID in question I could have a look at that and tell you a bit more, but ultimately you do need to account for source_transaction being null sometimes.

short venture
#

this is the connected account id acct_1MtufP4hnber83gD

digital bane
#

Right, but I would need the specific Transfer where source_transaction was null.

#

The tr_ ID.

short venture
#

I believe it's this one tr_1QsWFTG3ZxgN8JF7mVQgJSnG

digital bane
#

Looking...

#

Ah, yeah, so that Transfer used a connected account as the source. The funds came from that account's available balance, not a particular transaction. That Transfer was created in this request, where you can see source_transaction is null in the response: https://dashboard.stripe.com/logs/req_QlzlntOeEcESnr

short venture
#

I'm just curious why that happens. Could next day payouts be a factor? We just implemented that for our customers.

digital bane
#

Not sure I understand your question. Why what happens exactly?

#

Why this Transfer was created?

short venture
#

I'm just trying to understand this so I can make sure to handle these scenarios going forward.

digital bane
#

Yep, I'm happy to help however I can, I just need more details about what you're asking about. What specifically are you confused about at this point? What are the unknowns you're concerned about?

#

Or, going at it from another perspective, why did you expect source_transaction would never be null?

short venture
#

I guess just lack of understanding when we built this. That's why I'm trying to understand the scenarios when this could happen. I guess for now, we just need to make sure that we don't expect this to always never be null.

digital bane
#

So, hang on, I want to clear things up, because this stuff is important. So this Transfer specifically surprised you because source_transfer is null. You also mentioned above something about next day payouts, which seems odd to me, because next day payouts seem to have nothing to do with this. Why did you bring that up?

#

I'm also wondering if this Transfer being created via the Dashboard has anything to do with it?

short venture
#

I saw that is was created via the dashboard and I'm asking our payment analyst about it as well. My product manager asked me if next day payouts could be a cause for it. That's why I asked.

#

The payment analyst said that it was because of a dispute

digital bane
#

A cause for what, specifically? A cause for the Transfer existing? A cause for source_transfer being null? A cause for something else?

short venture
#

I think I am understanding more now. A dispute was won and so a dashboard transfer was created to add the funds back into the account. And that's why source_transfer is null. I wasn't aware of it being a dashboard transfer.

digital bane
#

Yep!

short venture
#

Okay, I think I understand more now after your assistance. Thanks.

digital bane
#

Happy to help!