#tonidorado
1 messages · Page 1 of 1 (latest)
No you shouldn't have to intiate a transfer
One should be made automatically
You can use the exact same flow in the above link for subscriptions
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's the param to use with subscription checkout sessions
Thank you very much for the help. Do you know if it's possible to add a date for the transfer to occur in the payment_intent_data
No if you need to do that they you will have to use separate charges and transfers instead: https://stripe.com/docs/connect/charges-transfers
That way you can manually initiate the transfer whenever you want
That will be the most accurate way to time payouts
However, you could attempt to use the delay_days param on your payout schedule: https://stripe.com/docs/api/accounts/object#account_object-settings-payouts-schedule-delay_days
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
There's some more info here: https://stripe.com/docs/connect/manage-payout-schedule
Ok, I'm going to read the documentation and see how I can rethink this because I need the transfers to occur on a specific date depending on the product. I assumed that I could add a date to the transfer, but it seems that I need to look into it further. Thank you very much for everything.
No problem. Yeah separate charges and transfers is likely the route you'll want to go then
"One last question about your last message. Would something like this work?
'payment_intent_data' => [
'application_fee_amount' => round($data['comission_total'] * 100), // Platform fee (in cents)
'transfer_data' => [
'destination' => $dataSup[0]->id_stripe, // ID of the connected provider's account
'delay_days' => 7, // Set a delay of 7 days for the transfer to occur
],
],"
I thought you wanted recurring payments?
payment_intent_data is for one time payments
In either case delay_days isn't an available param on the session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's set in the connect account payout settings (per the previous links I sent)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
"It depends on the product, it can be recurring or not, the customer chooses. Thank you very much, I'm going to check the documentation. Have a nice day."
Sounds good. You too!