1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Can I use redis in payment system as ttl?

Discussão em 'Python' iniciado por Stack, Setembro 15, 2025.

  1. Stack

    Stack Membro Participativo

    I am working on a https://github.com/Katana-devel/car_rental_pet

    I want to create a payment system, but not a full-fledged one, because as I understand it, I can't make full-fledged payment system for a simple pet project. So I am making a workaround to demonstrate that I understand the logic and so on.

    I wanted to ask if I can use redis this way for the payment system:

    create Unconfirmed_payment - redis with TTL, etc. ->

    If the user hits the pay endpoint (kinda pay) -> the info is taking from redis and adding to postgres.

    It seems logical to me, but I've heard that NoSql databases cannot be used for payments.

    Are there more appropriate methods? For example, using appscheduler or something like that? Or it's okey?

    Give me an sound-advice please

    Continue reading...

Compartilhe esta Página