Hi, I just made an upper and a lower limit, I made it of -6.
I have an account Michael with -3CC, and want to pay Charles with 2CC.

When I pay (it get's done), I have -5CC and it shows a message:
(Forbidden Simbol) Transaction would take Michael CC1:00 below the minimum balance of -CC6:00 .
And the submit button again, showing I could pay again (it already paid).

I supose it's the checking part after paying, but didn't have time to check,

thanks for reading!

CommentFileSizeAuthor
#2 timebank1.png53.97 KBjcir
#2 timebank2.png50.9 KBjcir
#2 timebank3.png58.16 KBjcir

Comments

matslats’s picture

Status: Active » Postponed (maintainer needs more info)

I've tested and I can't replicate this problem.
I may have fixed it previously.
can you get the latest dev code, and then tell me
what is the state of the transaction? completed or pending?
Are you sure the transaction completes? It will be in the database but with a state '-2', which doesn't count.

jcir’s picture

StatusFileSize
new58.16 KB
new50.9 KB
new53.97 KB

Hi, I just tried it again with the latest dev version, maybe I was not clear enough in the message, sorry if it's the case. I upload 3 pictures to show it better

Ok, I explain the case:
Max --> 12, Min --> -6
jacobo has -4.00CC
bdts has 0.00CC

jacobo pays 2 to bdts, and then the message appears:
X Transaction would take jacobo CC2:00 below the minimum balance of -CC6:00 .

The transaction is done (in the limits you can see it, in the database also, jacobo has -6.00, and bdts has 2 more. But looking at the picture you may not notice because of the message and that you can press Submit again.

The three pictures show the process:
1. Pay to 'bdts' 2.00 CC
2. Submit the payment
3. Payment done, but the message says that if you do it (it's actually doing it again) you'll get under the limit

I just looked if the same happened the other way round:
Michael has 2.00CC, and Charles 10.00CC,
Michael pays 2 to Charles, and the message shows the same message as above, but referring to the upper limit: X Transaction would take Charles CC2:00 above the maximum balance of CC12.00

thanks again for the good work!
When I've more time I would like to help with this project

matslats’s picture

I'm unable to replicate this.
Consider that the transaction enters the database the moment you attempt it, but it's status is -2, which does not count - literally.
My guess is that your form redirect isn't working and you are landing on the confirmation after the transaction is confirmed, and it is attempting to process the transaction again, and then failing.
Please make sure you are using beta2 before testing more.

matslats’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)