Paid status not updating MongoDB

Hello, I have a problem in mongoDB when paying for an order via Stripe. Everything is fine in the application stripe, it shows that the order was paid and everything, but in mongoDB it doesn’t want to change the “paid” status to true when the customer pays, also an order is created when he hasn’t paid. I asked stripe developers and they said that the problem will be in mongoDB . Someone want to see code ? (no errors in console or browser)

Hey @JaXo_N_A,

Welcome to the MongoDB Community!

Could you please share more details of the issue you are encountering such as relevant code snippets related to the payment process and updating the MongoDB document when the order is paid?

Additionally, let us know the framework or programming language you are using for your application (e.g., Node.js, Python, etc.) as it can be relevant to understanding the code and providing better assistance.