Why is the balance_transaction null in Stripe’s test mode?

0
3
Asked By CuriousCoder42 On

I'm testing payments with Stripe Connect in test mode, and while everything seems to work (the payment shows up in the dashboard with a status of 200, succeeded), I'm having trouble getting the net, fee, and gross information. The balance_transaction remains null, even after a while, despite the payment being visible in the dashboard. Has anyone else experienced this? Could this be an issue specific to test mode, and will it work correctly in live mode? Thanks for any insights!

2 Answers

Answered By QuestioningUser56 On

I’m not entirely sure about your exact setup, but when you mention "the database," are you talking about your own app's database or Stripe's database? Just trying to clarify!

CuriousCoder42 -

I'm referring to my app's database where I'm trying to fetch the net, fee, and gross values from Stripe for a specific transaction.

Answered By HelpfulDev99 On

In Stripe's test mode, it's not uncommon for the `balance_transaction` to be null, even if the payment is marked as succeeded on your dashboard. This data may take time to populate or might not be fully simulated in test mode. When you switch to live mode, you should see the `balance_transaction` filled out properly.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.