I'm currently testing payments using Stripe Connect in test mode. Everything appears to be functioning correctly, since the payment shows up in the dashboard with a status of 200 and 'succeeded'. However, when I try to retrieve the net, fee, and gross information, the database entries are empty. Specifically, I've noticed that the `balance_transaction` is null, and it stays that way even after some time, despite the payment being visible in the dashboard. Has anyone experienced this? Is it possible that this is an issue specific to test mode and that it would work fine in live mode? Thanks for any insights!
3 Answers
I’m not sure about the specifics, but I've heard that there's an official Stripe Discord server where you might get more help. They are pretty responsive over there!
In Stripe's test mode, it’s pretty common for the `balance_transaction` to remain null for a while, even when the payment shows as succeeded in the dashboard. The data may take some time to populate properly, or sometimes it just doesn’t fully simulate the live environment. Once you switch to live mode, it should display correctly. Just make sure your code accounts for cases where it could be null for a bit.
When you mention "the database", are you referring to your own application’s database or the Stripe database?
I'm talking about my app's database where I'm trying to store the "net", "fee", and "gross" values from a transaction on Stripe.