News for hackers. Stuff that matters.
Re:“It's The Future” by buro9 on Wednesday August 17, 2016 @06:47AM (#12303636)
> have a separate service that handles everything regarding payments. It has worked out really well, because it allows us to fiddle around with pretty much everything else and not worry about breaking the payment part.

Is the payments service a single service that manages the whole transaction, or have you go for multiple services handling each part and, if so, how did you manage failure with a distributed transaction?

Re:“It's The Future” by mrweasel on Wednesday August 17, 2016 @06:57AM (#12303698)
It's a single service. It just sites between us and our PSPs. That way no other system needs to worry about integrating directly with the PSPs.
Re:“It's The Future” by notimetorelax on Wednesday August 17, 2016 @06:56AM (#12303683)
Not sure if it's the case here. But what works really well for us is queues with at-least-once guarantee. (For payment services you might need an additional check to guarantee exactly one execution.) I think you can find this queue offered by most providers.