#CPF - quickbooks
1 messages · Page 1 of 1 (latest)
Hello, if this is a question about Quickbooks's integration, it would be best to reach out to Quickbooks's support team. We don't develop that integration so unfortunately we don't know what it can or can't do
Of course. But stripe is delivering the information with the stripe fee already taken out. So I am thinking it is a stripe problem. Sorry if I wasnt clear
If you are writing your own code here, you can check it as the fee property of the related BalanceTransaction
But if quickbooks is the one writing to the Stripe API, they would be the ones that need to check the fee that way in their own code
I can go in to that first part in more detail if you are writing this code, just want to make sure we are on the same page here
got it - thanks. We are writing our own code
I will have to check. This was set up through a wordpress site using woocommerce/strip and then syncing to quickbooks.
Gotcha. So if you are using PaymentIntents, a successful payment intent will have a charges array and the first charge in that array will be the successful Charge
And to get to the fee from the Charge, you would retrieve its balance_transaction and check the BalanceTransaction's fee property https://stripe.com/docs/api/balance_transactions/retrieve
Sorry for not knowing. I just need to instruct people how to solve for it so the accounting team is not manually entering the charges in
No worries at all, API help is exactly what this server is here for
thanks. Would this be in our wordpress site or in the stripe settings?
This is not a setting unfortunately, this would be something in custom code.
These fields are always sent with the relevant API objects, I was talking to how to see these values on those objects in your code.
Is this helpful/making sense so far?
Would that code live in the wordpress site or somewhere else?