#bachir
1 messages · Page 1 of 1 (latest)
Hi there, what's your question?
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
OK, This is the expected behaviour. If the payment fails eventually, Stripe will automatically reverse transfer the funds from connected account to platform.
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.
I don't think an express/custom account can manage their payout, the payout schedule is managed by the platform
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.
Which Stripe doc are you following on?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
The parameters used to automatically create a Transfer when the payment succeeds
The amount that will be transferred automatically when a charge succeeds.
Thanks for the feedback. I'd pass along to the relevant team and fix the doc
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).
If you want to control the timing of the transfer to be dependent on the clearing of the associated payment, then you'll need to do it separately: https://stripe.com/docs/connect/charges-transfers#transfer-availability
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 ?
What do you mean by use case?
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
The default behaviour is to always initiate the transfer immediately, that's just how it works regardless of payment status