#tonidorado

1 messages · Page 1 of 1 (latest)

copper cobaltBOT
frigid fox
#

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

#

That's the param to use with subscription checkout sessions

wintry junco
#

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

frigid fox
#

That way you can manually initiate the transfer whenever you want

copper cobaltBOT
frigid fox
#

That will be the most accurate way to time payouts

wintry junco
#

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.

frigid fox
#

No problem. Yeah separate charges and transfers is likely the route you'll want to go then

wintry junco
#

"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
],
],"

frigid fox
#

I thought you wanted recurring payments?

#

payment_intent_data is for one time payments

#

That's set in the connect account payout settings (per the previous links I sent)

wintry junco
#

"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."

frigid fox
#

Sounds good. You too!

copper cobaltBOT