14 ms·
> 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 ever
by buro9 10y ago
> 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?
- notimetorelax 10y agoNot 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.
- mrweasel 10y agoIt'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.