#bachir

1 messages · Page 1 of 1 (latest)

shell vineBOT
tough delta
#

Hi there, what's your question?

thin breach
#

For ACH payments, when specifying a transfer_data when creating the payment intent, why is the transfer to the connected account made when the payment transitions to "processing" instead of when it succeeds ? Is there a way to specify the transfer only when the payment succeeds or does the transfer need to be done manually ?

#

There is more context in the other thread, as I was answering to the followup question from your colleague

tough delta
#

OK, This is the expected behaviour. If the payment fails eventually, Stripe will automatically reverse transfer the funds from connected account to platform.

thin breach
#

Yes but the issue is that they managed to payout the money to their bank account before the payment was successful, and by this time, they already withdrew the money from their bank account.

tough delta
#

I don't think an express/custom account can manage their payout, the payout schedule is managed by the platform

thin breach
#

Indeed, we have a scheduled payouts every week, but that still makes it exploitable once they figure out the schedule, right ?

#

I'm just curious why isn't the transfer made when the payment is successful (which is written in the Stripe doc, as the screenshots in the other thread shows) not processing.

tough delta
#

Which Stripe doc are you following on?

thin breach
#

The parameters used to automatically create a Transfer when the payment succeeds

#

The amount that will be transferred automatically when a charge succeeds.

tough delta
#

Thanks for the feedback. I'd pass along to the relevant team and fix the doc

thin breach
#

Shouldn't the transfer creation timing be fixed instead ? Or at least give the possibility in the API to control this timing (on ACH payments for example, wait until the payment succeeds instead of processing).

shell vineBOT
fathom minnow
thin breach
#

I get that, but I'm just wondering what's the use case where you'd trigger the transfer once the payment is processing instead of succeeded ?

fathom minnow
#

What do you mean by use case?

thin breach
#

Why is Stripe preferring to trigger the transfer creation for ACH payments when the payment is in processing state, and not wait until it is effectively succeeded ?

#

when specifying transfer_data

fathom minnow
#

The default behaviour is to always initiate the transfer immediately, that's just how it works regardless of payment status