Skip to content

Commit

Permalink
Merge pull request #599 from ostelco/feature/add-logs-jumio
Browse files Browse the repository at this point in the history
Add logs for jumio verifications
  • Loading branch information
prasanthu authored May 7, 2019
2 parents b370e5c + 5116c94 commit b1fc032
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ object Neo4jStoreSingleton : GraphStore {
body = FCMStrings.JUMIO_IDENTITY_VERIFIED.s,
data = extendedStatus
)
logger.info(NOTIFY_OPS_MARKER, "Jumio verification succeeded for ${customer.contactEmail} Info: ${extendedStatus}")
setKycStatus(
customerId = customer.id,
regionCode = scanInformation.countryCode.toLowerCase(),
Expand All @@ -1192,6 +1193,7 @@ object Neo4jStoreSingleton : GraphStore {
body = FCMStrings.JUMIO_IDENTITY_FAILED.s,
data = extendedStatus
)
logger.warn(NOTIFY_OPS_MARKER, "Jumio verification failed for ${customer.contactEmail} Info: ${extendedStatus}")
setKycStatus(
customerId = customer.id,
regionCode = scanInformation.countryCode.toLowerCase(),
Expand Down

0 comments on commit b1fc032

Please sign in to comment.