Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

customers: health check should decrypt account number #604

Open
adamdecaf opened this issue Oct 21, 2020 · 0 comments
Open

customers: health check should decrypt account number #604

adamdecaf opened this issue Oct 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@adamdecaf
Copy link
Member

PayGate Version: v0.9.0-dev

What were you trying to do?
Currently the Customers/Accounts health check does not attempt to decrypt the account number. We should do this (perhaps just once?) to ensure the full suite of API calls works. Decrypting account numbers is a common code flow in PayGate and ensuing the decryption keys are valid is a good health check.

https://github.com/moov-io/paygate/blob/v0.9.0-dev1/pkg/customers/health.go#L28-L38

What did you expect to see?
PayGate should make it obvious when its performance is known to be degraded.

@adamdecaf adamdecaf added the enhancement New feature or request label Oct 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant