>>Question, before this PR, no one have this kind of problem before?
I am sure people would have faced this issue and figured out solutions like
this PR.

>>A simple retry or double click at any of the apps would cause issues,
right?
It might not have been so obvious as clients like the Mifos community-app
(most common UI used with Fineract) handle double clicks at their end.
However, your point is valid

Regards,
Vishwas


On Wed, 25 Mar 2020 at 07:19, Sergio Junior <[email protected]> wrote:

> Vishwas,
>
> I really appreciate your response, missed that PR because it was closed, i
> will take a look.
>
> Question, before this PR, no one have this kind of problem before? A
> simple retry or double click at any of the apps would cause issues, right?
>
> Thanks!
>
> Em qua., 25 de mar. de 2020 às 01:24, Vishwas Babu A J <
> [email protected]> escreveu:
>
>> Hello Sergio,
>>
>> Here is a pr https://github.com/apache/fineract/pull/515 which aimed to
>> address this problem by relying on the client to optionally supply a unique
>> id with each request. Maybe you can build on the same (it was missing test
>> cases and api doc updates) and get it merged ?
>>
>> Regards,
>> Vishwas
>>
>>
>>
>> On Mar 24, 2020, at 7:39 PM, Sergio Junior <[email protected]> wrote:
>>
>> Hello everyone,
>>
>> Im integrating a system with Fineract, and doing some tests with the
>> Savings API (Deposit/Withdrawal functions), nothing is considered “Unique”,
>> so if for any reason my system interpret a call as failed (maybe a reverse
>> proxy fault, tcp issues etc) and perform a retry, Fineract will Credit (or
>> Debit) a transaction multiple times, no field is considered an Identifier
>> and i couldnt find any resource to notify the API that a transaction is a
>> retry or a new one.
>>
>> Whats the idea for such scenario, to maintain consistency and avoid
>> duplicates?
>>
>> Thanks!
>>
>>
>>
>
> --
> Atenciosamente,
> Sergio Luiz Miziara Junior
> Tel.: (011) 8727.6447
>

Reply via email to