callback API
Posted: Wed May 29, 2019 10:20 pm
Hello,
we integrated mavens with our betting system,
the important part is user balance,when user recharging in our system,we change user balance and increase mavens balance via api, at the same time, we listening to callback api which sends from mavens server.
the problem is,when we increase mavens balance,we get callback for increase balance (as if user leave table and balance increased), as result user double charged in our system because of callback.
how can we fix this problem and whats the solution?
the first approach is,we separate the balances of systems, which user should transfer money between them wherever he needs.which is not usual in other integrated system and less user friendly.
but we looking for second solution
thanks in advance
we integrated mavens with our betting system,
the important part is user balance,when user recharging in our system,we change user balance and increase mavens balance via api, at the same time, we listening to callback api which sends from mavens server.
the problem is,when we increase mavens balance,we get callback for increase balance (as if user leave table and balance increased), as result user double charged in our system because of callback.
how can we fix this problem and whats the solution?
the first approach is,we separate the balances of systems, which user should transfer money between them wherever he needs.which is not usual in other integrated system and less user friendly.
but we looking for second solution
thanks in advance