Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLD Blocking accounts #396

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

PLD Blocking accounts #396

wants to merge 2 commits into from

Conversation

andreshndz
Copy link

Contexto

Bloquear una cuenta: No permitir que salga ni entre dinero de esta. Esto no implica que la cuenta esté dada de baja en STP

Actualmente no se puede bloquear una cuenta para recibir transacciones. La única manera es cambiando la información del allowed_rfc y allowed_curp de la cuenta del cliente.

Solución

Nuevo estado pld_blocked
En cuanto una cuenta entre en bloqueo por PLD, llega una task que bloquea la cuenta sin darla de baja en STP.
Cuando llegue una orden nueva: si la cuenta está bloqueada, se regresa el dinero.

@andreshndz andreshndz added the enhancement New feature or request label Jan 24, 2023
@andreshndz andreshndz requested a review from alexviquez January 24, 2023 21:22
@andreshndz andreshndz self-assigned this Jan 24, 2023
@codecov
Copy link

codecov bot commented Jan 24, 2023

Codecov Report

Merging #396 (34c8769) into master (0e3a4e1) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #396   +/-   ##
=======================================
  Coverage   99.61%   99.62%           
=======================================
  Files          26       26           
  Lines        1047     1056    +9     
  Branches       93       93           
=======================================
+ Hits         1043     1052    +9     
  Partials        4        4           
Flag Coverage Δ
unittests 99.62% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
speid/models/transaction.py 99.35% <100.00%> (ø)
speid/tasks/accounts.py 100.00% <100.00%> (ø)
speid/types.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e3a4e1...34c8769. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant