#marius_code

1 messages · Page 1 of 1 (latest)

coarse talonBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

wise abyss
#

This is my code. And what i want is i am explaining below

I would like to share our current implementation and seek your guidance on the best approach moving forward.

At the moment, we are using Stripe Connect with Express accounts via the Stripe PHP SDK. Our current flow is based on a wallet system, where user payments are tracked internally in our database, and we are using the Transfers API to send payouts to connected accounts.

Our requirement is:

  • To process weekly payouts (every Monday) to our drivers/vendors
  • Payout amount is based on the wallet balance maintained in our system
  • If a user does not have a connected account, we create an Express account and complete onboarding
  • Once eligible, we transfer the available balance to their Stripe account

We would like your guidance on:

  1. Whether our current approach (Express accounts + Transfers API with internal wallet) is recommended from a Stripe compliance and best practices perspective
  2. If we should switch to Destination Charges or continue with our current model for weekly payouts
  3. The best way to implement automated weekly payouts (cron-based or Stripe-native approach)
  4. Any improvements or recommended architecture for scalability and reliability

We want to ensure that our integration aligns with Stripe’s best practices and avoids any potential issues in the future.

Looking forward to your suggestions.

#

earlier you give me Destination Charges + Automatic Payouts this suggestion. that i will impelement in future. but now need to fix this issue. Bcz i am adding the mone to drivers wallet. from there i need to do that

#

getting this response after using above code

slate plaza
#

hello! can you share the specific Stripe account ID for those drivers in your screenshot? It should have the prefix acct_

wise abyss
#

please check

slate plaza
#

it doesn't look like the onboarding process was completed for the connected account. You can complete the onboarding process by following the steps starting here: https://docs.stripe.com/connect/express-accounts#create-link. You'll want to use the Connect test details here : https://docs.stripe.com/connect/testing

Test a Connect integration, including requirement verification, adding funds, and payouts.

Learn about Express connected accounts. Express connected accounts are deprecated, so newer integrations don't use them.

wise abyss
#

one more thing i am creating this account when i am going to pay them so can i complete there onboarding process??

slate plaza
#

The account you shared is in test mode, so yes, you will need to complete the onboarding process yourself in order to test the flow end-to-end.

However, in a live mode scenario, it would not be you completing the onboarding. Your connected account users should be the ones going through and completing their own onboarding process themselves.

wise abyss
#

sorry but have few more doutes

slate plaza
#

sure, go ahead

wise abyss
#

i am creating the cron for make a payout. and when i am doing this i am checking if driver has connected account yes or no if yes then take them to the transfer api but if not then from here i am creating the connected account. so, when my cron is running how my driver can complete there on bording process bcz they don't know what is happning.

slate plaza
#

I recommend reviewing this page on Express accounts, which covers the full onboarding flow and how to handle it correctly:
https://docs.stripe.com/connect/express-accounts

In particular, the last section covers handling users who haven't completed onboarding:
https://docs.stripe.com/connect/express-accounts#handle-users-not-completed-onboarding. This section explains how to detect when onboarding is incomplete and how to generate a new onboarding link to send back to the driver so they can finish the process.

This way, your cron job can handle the fund transfers for drivers who are fully onboarded, while incomplete accounts are flagged and the driver is nudged to finish their setup.