#Cavalaa
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Are you using Direct charges or destination charges?
I'm not sure, where can I find this, also I'm getting this webhook error with the payment: Response
500 ERR
{
"error": "record not found"
}
That's likely unrelated to your original question. Let's tackle one question at a time ๐
Can you share your account ID?
but the payment is still going through
sorry haha for the main account or connected account?
Main account
acct_1JfOhcAm5odgtJUY
I don't see a connect integration on this account, are you sure this is the correct ID?
there's two accounts it says I'm a member of here's the other? acct_1N5RdcHr1zToFGh7
Hmm I think the old one is the right one, let me take a look at recent API requests.
Okay looking at these two requests
https://dashboard.stripe.com/logs/req_lAfx60pAhoNpLG
https://dashboard.stripe.com/logs/req_ONEDp2caGBfbQ4
It looks like you're creating destination charges where the funds settle on the platform and a transfer to the connected account is made after deducting application fees.
With Destination charges, the platform account is responsible for Stripe fees
https://stripe.com/docs/connect/destination-charges#flow-of-funds-app-fee
But it says on my main balance that im due a payout for these fees but the connected account hasnt been deducted anything?
The connected account isn't responsible for any fees so they won't see any deductions.
ok so for example, if a user wants to deposit 1 GBP i charge 1.23 GBP to cover the fees, the full 1.23 is landing in the connected account, so i have to create another transfer of .23 from the connected account to the main account to pay for this?
You are currently creating destination charges so flow of funds look something like this
1/ When you charge 1.23 GBP, it comes in to the platform account
2/ The amount is transferred to the connected account
3/ Whatever you've specified as application_fee_amount on the payment gets credited to the platform account balance automatically and connected accounts sees that amount debited automatically
4/ When platform gets the application fee amount, Stripe fees get deducted automatically
You don't need to manually make these transfers from & to the connected account
ah ok perfect thank you, i'm just missing this application fee variable then, that'll solve that
Could you help with the other problem at all?
Sure, do you have an example event ID I can take a look at?
500 on an endpoint usually points to code on your server crashing somewhere
Ideally you'd find relevant information in your server logs, I can take a look at what your server is responding with to see if there's any errors specified there but most likely you'd need to look into your server logs and find the exact error message there
that's not a valid event ID of a stripe object. Typically you'd see evt_xxx prefix on webhook events
apologies here it is evt_3NBHeiAm5odgtJUY0hAe0pdW
Thanks. Unfortunately, not seeing anything else on our end except for
{"error":"record not found"}
I'd recommend looking into your server logs and see what function is returning this error in the first place.
ok i'll try look into it thank you for your time!