Hacker News new | past | comments | ask | show | jobs | submit login

> 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?




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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: