[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Taler] WebEx wallet can't POST on Django site
From: |
Marcello Stanisci |
Subject: |
Re: [Taler] WebEx wallet can't POST on Django site |
Date: |
Thu, 4 Feb 2016 22:10:58 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
> Maybe the bank's confirmation/fulfillment page from the final POST of
> the frontend is supposed to trigger a signal, telling the backend that
> all went well? I mean, after the POST there has to be another page
> returned from the bank anyway, so having another tiny interaction with
> the wallet to flip a bit (without showing in the UX) seems fine there.
Yes, it's a solution that comes 'for free'.
> > One question remains: What happens if, after create-reserve, the user
> > fails to enter the right PIN? Will the reserve be marked as "failed"
> > (maybe by a DOM event from the bank)? Will it expire? What's the UX?
Recording the reserve would require more "staus flags" associated with
reserves, so more db work. And generating a new key pair when the user wants
to create a new reserve doesn't decrease sensibly the performance. And from
the UX perspective, I would suggest a "Reserve creation failed" message to
show to the user, and then he just restart the process.
The failure of course could occur after two/three attempts so the user
shouldn't be that annoyed to retry the whole thing (since he has been
quite careless!).
Marcello