#mkadin

1 messages · Page 1 of 1 (latest)

undone sunBOT
keen ermine
#

Can you share the payment intent id so I can take a look?

sand shoal
#

sure!

#

here's an example of a new one:

#

pi_3NYu5DCtnrbd5CKL1JuyDh1Z

#

and here's an example of how we did it before: pi_3NXnduCtnrbd5CKL1zVV1sHa

#

(sorry for the delay 🙂

keen ermine
#

No worries

#

Discord is busy so juggling many things at once

sand shoal
#

all good! Appreciate that this channel exists!

keen ermine
#

Oh the payment intent is still pending

#

Needs to succeed first before your connect account gets the funds

sand shoal
#

yea i don't want them to have the funds, but with the old API, it would still show up as a payment on their stripe page, and it'd be in their balance but not available to pay out

keen ermine
#

Once the payment intent goes to succeeded then they should see a payment on their page

sand shoal
#

and that will happen when the ACH finalizes?

#

That's a different behavior than before

#

I think we'll have to adjust our product if that's the case, maybe listen for a webhook..

#

also, will it be immediately available for withdrawal in that case?

keen ermine
#

So just to be clear for pi_3NXnduCtnrbd5CKL1zVV1sHa (which is the older flow) you see the money in your connect account already?

#

That doesn't sound right

#

The payment is still processing

#

Can you share a screenshot for what you're seeing?

sand shoal
#

yea i just want to be careful about PII

#

from the account page for the connected account

#

they have other stuff in the balance currently, but I think that 675.77 is within it

keen ermine
#

Can you paste that py_ id there?

#

Want to take a look at that

sand shoal
#

oh you're right, that's not a match, hold on

keen ermine
#

Can you paste it though? Want to check something

sand shoal
#

oh i got confused it is a match: py_1NXndv2Spj9v5npytREgLmdc

#

I'm also confused about this:

#

(new API)

#

vs this:

#

(old API)

keen ermine
#

Yeah I'm also a bit confused here. Will pull in a colleague to take a look. Both are destination charges without on_behalf_of, so platform should be covering fee in both scenarios

sand shoal
#

ok -- apprecaite you looking at it! I bet destination charges via ACH are somewhat rare

keen ermine
#

Will get back to you on this

sand shoal
#

Thanks! appreciate the help. I noticed that the old one has a transfer id, whereas the new doesn't, if that helps

undone sunBOT
sand shoal
#

Hi @hearty goblet thanks for taking a look :). Appreciate the help

hearty goblet
#

Hello! There are some timing differences between the old way of doing ACH and the new way. With the newer approach we don't create the Balance Transaction and Transfer and whatnot until we actually submit the ACH transaction to the network. This needs to happen during "business hours" which can vary a bit, but once the transaction is sent to the network the Balance Transaction and Transfer should appear as expected.

sand shoal
#

gotcha! My only concern is that I have one from a few days ago, that doesn't have those yet, let me find the example

#

this was from my original testing

hearty goblet
#

Looking...

sand shoal
#

ah but i see that this one has the transfer on it

hearty goblet
#

Yeah, looks like that one's in the expected state?

sand shoal
#

i think so yes

hearty goblet
#

For this one the Charge was set to pending at 2023-07-25 21:54:56 UTC and then we updated it with the Transfer and whatnot after submitting to the network at 2023-07-25 23:06:47 UTC.

#

You can listen for charge.updated Events to know when this happens, if it helps.

sand shoal
#

Yea i think that's the last thing I need to figure out -- we list the 'pending balance' on our UI which used to just passthrough the balance from you guys

#

but I'm thinking we will have to add in these processing transactions to that in our UI until they get to that stage

#

either we can listen to that webhook -- or should we expect once you have a transfer id on it, that the charge will be in their pending balance for their connected account?

hearty goblet
#

Yeah, once the Charge is updated and the Transfer exists there should be pending funds on the connected account.

sand shoal
#

ok awesome -- I appreciate the help! If there's a place internally where you take requests -- a sentence or two in the docs about this would be :chefs_kiss:

#

Thanks to both of you for the help!