diff options
Diffstat (limited to 'packages/taler-wallet-core/src/deposits.ts')
-rw-r--r-- | packages/taler-wallet-core/src/deposits.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts index 23d6e1059..67262b821 100644 --- a/packages/taler-wallet-core/src/deposits.ts +++ b/packages/taler-wallet-core/src/deposits.ts @@ -1026,6 +1026,8 @@ async function processDepositGroupPendingKycAuth( }, ); + logger.info(`merchant pub: ${depositGroup.merchantPub}`); + logger.info( `kyc-check for auth longpoll result status: ${kycStatusRes.status}`, ); @@ -1036,6 +1038,9 @@ async function processDepositGroupPendingKycAuth( case HttpStatusCode.NoContent: return await transitionKycAuthSuccess(ctx); case HttpStatusCode.Accepted: + return await transitionKycAuthSuccess(ctx); + case HttpStatusCode.Conflict: + // FIXME: Consider also checking error code logger.info("kyc still pending"); return TaskRunResult.longpollReturnedPending(); default: |