#nate_best-practices

1 messages ¡ Page 1 of 1 (latest)

neat joltBOT
wooden cedarBOT
#

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.

neat joltBOT
#

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

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

wooden cedarBOT
nova quartz
#

I assume you're using Stripe Connect?

vapid berry
#

Yes so we have an account, the original plan was to have express accounts for our professional clients, and create invoices which I got working

#

the only issue I had was using a customer across multiple express accounts which is likely in our use case, so I got told instead of creating an invoice for the stripe connect account I should just raise one and set the destination for the connect account

#

problem is now is I am building a statement page which was previous just using stripe->balancetransactions->all, but this will no longer give me the info I need as all the pros transactions just come from the parent account as a transfer

#

I just don'e seem to be able to get a full workable process in place

#

but we do like the ease of onboarding and the dashboard that the express connect accounts provide

nova quartz
#

Is there a reason you're building your own dashboard?

#

the only issue I had was using a customer across multiple express accounts which is likely in our use case, so I got told instead of creating an invoice for the stripe connect account I should just raise one and set the destination for the connect account
I'm not sure I fully grasp the invoice part here

vapid berry
#

integration looks to be in either web or react native, my app is flutter

#

So my original plan was:
Pro registers for card payments,
Pro completes an appointment with their client and creates an invoice
Invoice created in my system & stripe where I store an ID
Stripe invoice payment link is used by customer to make payment
Webhook to reconcile when a stripe invoice is paid which settles invoice in my DB

#

and whenever I created an invoice or did anything with the PHP stripe sdk I would pass:
['stripe_account' => 'Pro_stripe_ID']

nova quartz
#

We generally only recommend doing that with Standard connected accounts

#

With express, platform should handle everything

#

integration looks to be in either web or react native, my app is flutter
Integration of what?

vapid berry
#

the stripe express dashboard integration I believe is web/react native

#

but we have an app written in flutter

nova quartz
neat joltBOT
vapid berry
#

looking at the dashboard that doesn't give them a simple statement though

#

we literally just want a list of pending/completed payments, with date/time, name of customer and amount

#

do you do a hosted onboarding process for standard connect accounts, that was our main reason for choosing express, we can just give them a sign up link

nova quartz
#

Going back to your previous question

problem is now is I am building a statement page which was previous just using stripe->balancetransactions->all, but this will no longer give me the info I need as all the pros transactions just come from the parent account as a transfer

Have you tried listing all transfers to the connected account using the List all Transfers API + destination parameter
https://docs.stripe.com/api/transfers/list

and expanding source_transaction ?
https://docs.stripe.com/api/transfers/object#transfer_object-source_transaction

That should help you find the payment that triggered the transfer