#jaime-la-gym_best-practices

1 messages · Page 1 of 1 (latest)

gentle turretBOT
#

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

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

versed crow
#

That's up to you really. You don't have to reverse the transfers to refund the customer

#

In that separate charge and transfer flow, the platform is liable for refunds anyway

rough delta
#

So in the end it doesn't matter the order but if i dont have money on the plateform doest the refund wait for the account to have money ?

versed crow
#

It would go into pending

rough delta
#

And for m'y second question about a field to know if the reversal has been done and the money is on the plateform

versed crow
#

It should be available immediately

#

If you're referring to a transfer from 1 stripe account balance to another stripe account balance

rough delta
#

Yes im reffering to that

#

So no need to check anything if its form one stripe account to another ?

#

From*

versed crow
#

Yeah

#

The reversal could fail though

#

If connect account balance doesn't have enough balance

rough delta
#

Fail instant or it would pe pending at some point ?

versed crow
#

No it would fail instantly

rough delta
#

For that case what's the best practice ? Try again later or ?

versed crow
#

Yeah you'd need to wait until the account has enough balance

#

So listening for balance.available connect events could help

rough delta
#

If i try everyday until it work its not best practice i guess ? It would not be a common case in m'y system

versed crow
#

Yeah that's not best practice

#

But up to you

rough delta
#

If instead of trying until it works, i check thé balance with a 1st call and then if the balance is good i call the reversal, is it better practice ? Because listenning to all m'y balance change would be to heavy for m'y use

versed crow
#

Yeah that's fine

rough delta
#

Ty for your answer sry for m'y shaky english have a nice day