Demande ajout crédit coop entreprise

Bonjour,

Dans un premier temps j’espère être au bon endroit pour formuler cette demande.

Ma demande concerne l’ajout du module crédit coopératif entreprise. Le module particulier étant déjà actif. J’ai fait le tour de pas mal de plate-formes de connexion de banque et je crois comprendre que tout le monde passe par Woob… ?

Je ne suis pas dev mais je peut apporter une petite rémunération financière dans la limite de mes moyens si cela peut aider a mettre en place ce module. Je n’ai aucune idée de la somme de travail que cela implique. Peut-être qu’il faut plutôt faire une demande du coté de woob?

Bonjour,

Kresus se base en effet sur woob pour fournir la connexion aux sites bancaires.
Woob ne semble actuellement pas proposer la connexion à la partie entreprise pour ce module, il peut être intéressant de leur demander oui !

oki. Merci pour ta réponse

Salut!

Faisant partie d’une association où l’on recherche à rendre le plus transperant possible les sujets et notamment en ce qui concerne la trésorerie. Il nous semble que Kresus est le candidat idéal pour ça sauf qu’il ne prend pas en compte le Crédit Coopératif pour entreprise.

On garde un oeil de loin depuis plusieurs années sur ce super outil. Merci à vous et bon courage pour la suite! :slight_smile:

Salut !

Une nouvelle version 0.18 est sortie et celle-ci devrait prendre en compte les champs nécessaires côté woob pour pouvoir choisir si c’est un compte entreprise ou non !

2 « J'aime »

Ok merci pour le suivit de l’avancement.

Par ailleurs j’ai fait une demande auprés de woob mais je n’ai pas eu de suite pour le moment. Cela dit d’aprés ta nouvelle on dirait que ca bouge dans le bon sens :slight_smile:

Du coté du creditcoop, leur dev on sortis une version mobile pro il y a deux jours.

Je n’ai pas dû m’exprimer clairement désolé : avec la version récemment sortie tu devrais pouvoir accéder à ton compte pro crédit coop. Rien à attendre côté woob.

Je suis sur Yunohost ^^
Je vois que tu maintiens l’app aussi du coté de cet OS.
Elle est en 0.17 sur github a ce que je vois.
A bientot pour la 0.18 alors ^
^

Bonjour,

la 0.18.1 est désormais disponible avec YunoHost, ça devrait régler ton souci !

1 « J'aime »

Merci pour cette update. J’ai mis a jour il y a 10j, j’ai testé la connexion et c’était en bug, j’ai également mis a jour aujourd’hui et c’est la meme erreur.

Je ne sait pas si ca peut aider mais je te transmet qd meme l’info, le crédit coop a la particularité de proposer un petit générateur de code physique ou l’on insère sa carte bancaire. On tape son code de carte et le boitier génère un code.
Ils ont donc 3 double authentification différentes en comptant l’app mobile et les sms.

Concrètement au niveau du bug, j’ouvre kresus, je choisit ma banque, je tape mes id, je recoit un sms, je tape le code dans le navigateur puis paf "error when entering 2nd factor… blabla code expiré et aprés c’est la suite situé à [2022-07-09T23:31:34.026] [ERROR].

Voici les logs complet d’aujourd’hui.

[2022-07-09T23:26:03.190] [INFO] apply-config - Running Kresus with the following parameters:
[2022-07-09T23:26:03.193] [INFO] apply-config - NODE_ENV = production
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_LOGIN = user
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_DIR = /var/www/kresus/data/
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_USER_ID = null
[2022-07-09T23:26:03.193] [INFO] apply-config - PORT = 9876
[2022-07-09T23:26:03.193] [INFO] apply-config - HOST = 127.0.0.1
[2022-07-09T23:26:03.193] [INFO] apply-config - KRESUS_PYTHON_EXEC = /var/www/kresus/venv/bin/python
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_URL_PREFIX = /kresus
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_SALT = (hidden)
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_FORCE_DEMO_MODE = false
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_WOOB_DIR = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_WOOB_SOURCES_LIST = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_TRANSPORT = sendmail
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_SENDMAIL_BIN = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_FROM = kresus@faztelecom.fr
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_HOST = 127.0.0.1
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_PORT = 465
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_USER = null
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_PASSWORD = (hidden)
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_FORCE_TLS = false
[2022-07-09T23:26:03.194] [INFO] apply-config - KRESUS_EMAIL_REJECT_UNAUTHORIZED_TLS = true
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_APPRISE_API_BASE_URL = null
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_AUTH = null
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_LOG_FILE = /var/log/kresus/kresus.log
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_TYPE = postgres
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_LOG = error
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_SQLITE_PATH = null
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_HOST = localhost
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_PORT = 5432
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_USERNAME = kresus
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_PASSWORD = (hidden)
[2022-07-09T23:26:03.195] [INFO] apply-config - KRESUS_DB_NAME = kresus
[2022-07-09T23:26:04.147] [INFO] models/index - User has id 1
[2022-07-09T23:26:04.148] [INFO] init - Starting bank accounts polling et al...
[2022-07-09T23:26:04.154] [INFO] poller - > Next check of accounts on 10/07/2022 at 03:34:00
[2022-07-09T23:26:04.155] [INFO] poller - Checking accounts and operations for all accesses...
[2022-07-09T23:26:04.166] [INFO] poller - All accounts have been polled.
[2022-07-09T23:26:04.167] [INFO] poller - Maybe sending reports...
[2022-07-09T23:26:04.168] [INFO] report-manager - Checking if user has enabled daily report...
[2022-07-09T23:26:04.174] [INFO] report-manager - User hasn't enabled daily report.
[2022-07-09T23:26:04.174] [INFO] poller - Reports have been sent.
[2022-07-09T23:26:04.175] [INFO] init - Server is ready, let's start the show!
[2022-07-09T23:30:09.458] [INFO] HTTP - GET /kresus/manifest - 200 (37 ms)
[2022-07-09T23:30:10.573] [INFO] providers/woob - Calling woob: command version...
[2022-07-09T23:30:10.936] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:30:10.939] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-07-09T23:30:10.957] [INFO] HTTP - GET /kresus/api/all/ - 200 (427 ms)
[2022-07-09T23:31:12.883] [INFO] accounts-manager - Retrieve all accounts from access creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:12.893] [INFO] providers/woob - Calling woob: command accounts...
[2022-07-09T23:31:16.845] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:31:16.846] [WARN] providers/woob - stderr: 2022-07-09 23:31:15,599:WARNING:woob.creditcooperatif.browser.authenticationmethodpage:pages.py:237:is_other_authentication_method Found a fallbackFactorAvailable, try to fall back to other auth methods.
[2022-07-09T23:31:16.848] [INFO] providers/woob - Saving session for access from bank creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:16.944] [INFO] providers/woob - Browser question is required; propagating question to the user.
[2022-07-09T23:31:16.951] [INFO] HTTP - POST /kresus/api/accesses - 200 (4184 ms)
[2022-07-09T23:31:30.663] [INFO] accounts-manager - Retrieve all accounts from access creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:30.668] [INFO] providers/woob - Calling woob: command accounts...
[2022-07-09T23:31:33.242] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:31:33.242] [INFO] providers/woob - Saving session for access from bank creditcooperatif with login #identifiant caché#
[2022-07-09T23:31:33.268] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-07-09T23:31:33.269] [INFO] accounts-manager - -> 1 bank account(s) found
[2022-07-09T23:31:33.273] [INFO] accounts-manager - New account found:  COMPTE COURANT
[2022-07-09T23:31:33.273] [INFO] accounts-manager - => Saving it as per request.
[2022-07-09T23:31:33.294] [INFO] providers/woob - Calling woob: command operations...
[2022-07-09T23:31:33.759] [INFO] providers/woob - exited with code 1.
[2022-07-09T23:31:33.759] [INFO] providers/woob - Command returned an error code.
[2022-07-09T23:31:33.761] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-07-09T23:31:33.761] [INFO] providers/woob - Calling woob: command test...
[2022-07-09T23:31:34.024] [INFO] providers/woob - exited with code 0.
[2022-07-09T23:31:34.025] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-07-09T23:31:34.026] [ERROR] providers/woob - Got error while running command "operations": Unknown error: Le délai pour saisir le code a expiré, veuillez recommencer.
Traceback (most recent call last):
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
    results['values'] = self.get_operations(from_date)
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 589, in get_operations
    for account in list(self.backend.iter_accounts()):
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/module.py", line 86, in iter_accounts
    for account in self.browser.get_accounts_list():
  File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/switch.py", line 100, in wrapper
    return val(*args, **kwargs)
  File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/browsers.py", line 981, in inner
    browser.do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/cenet/browser.py", line 116, in do_login
    super(CenetBrowser, self).do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/compat/woob_browser.py", line 416, in do_double_authentication
    handle_method()
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 794, in handle_otp_sms
    self.handle_step_validation("SMS", "login")
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 869, in handle_step_validation
    AUTHENTICATION_METHODS[authentication_method](**params)
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 586, in do_otp_sms_authentication
    self.handle_2fa_otp(otp_type='SMS', **params)
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 540, in handle_2fa_otp
    raise BrowserIncorrectPassword('Le délai pour saisir le code a expiré, veuillez recommencer')
woob.exceptions.BrowserIncorrectPassword: Le délai pour saisir le code a expiré, veuillez recommencer

[2022-07-09T23:31:34.027] [ERROR] providers/woob - 	(error code: GENERIC_EXCEPTION)
[2022-07-09T23:31:34.052] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-07-09T23:31:34.053] [INFO] controllers/accesses - 	deleting access...
[2022-07-09T23:31:34.067] [ERROR] helpers - when creating a bank access: Unknown error: Le délai pour saisir le code a expiré, veuillez recommencer.
Traceback (most recent call last):
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 706, in fetch
    results['values'] = self.get_operations(from_date)
  File "/var/www/kresus/build/server/providers/woob/py/main.py", line 589, in get_operations
    for account in list(self.backend.iter_accounts()):
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/module.py", line 86, in iter_accounts
    for account in self.browser.get_accounts_list():
  File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/switch.py", line 100, in wrapper
    return val(*args, **kwargs)
  File "/var/www/kresus/venv/lib/python3.7/site-packages/woob/browser/browsers.py", line 981, in inner
    browser.do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/cenet/browser.py", line 116, in do_login
    super(CenetBrowser, self).do_login()
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/compat/woob_browser.py", line 416, in do_double_authentication
    handle_method()
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 794, in handle_otp_sms
    self.handle_step_validation("SMS", "login")
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 869, in handle_step_validation
    AUTHENTICATION_METHODS[authentication_method](**params)
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 586, in do_otp_sms_authentication
    self.handle_2fa_otp(otp_type='SMS', **params)
  File "/var/www/kresus/data/woob-data/modules/3.0/caissedepargne/browser.py", line 540, in handle_2fa_otp
    raise BrowserIncorrectPassword('Le délai pour saisir le code a expiré, veuillez recommencer')
woob.exceptions.BrowserIncorrectPassword: Le délai pour saisir le code a expiré, veuillez recommencer

[2022-07-09T23:31:34.072] [INFO] helpers - Error
    at new KError (/var/www/kresus/build/server/helpers.js:59:22)
    at callWoob (/var/www/kresus/build/server/providers/woob/index.js:188:15)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async _fetchHelper (/var/www/kresus/build/server/providers/woob/index.js:245:16)
    at async Object.fetchOperations (/var/www/kresus/build/server/providers/woob/index.js:270:12)
    at async pollTransactions (/var/www/kresus/build/server/lib/accounts-manager.js:215:34)
    at async AccountManager.syncTransactions (/var/www/kresus/build/server/lib/accounts-manager.js:338:24)
    at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:145:37)
    at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:31:34.097] [ERROR] HTTP - POST /kresus/api/accesses - 500 (3453 ms)
[2022-07-09T23:32:09.549] [ERROR] helpers - Assertion error: Expected variable to be defined
Error
    at panic (/var/www/kresus/build/server/helpers.js:31:46)
    at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
    at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
    at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:32:09.553] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-07-09T23:32:09.553] [ERROR] helpers - when creating a bank access: Assertion error: Expected variable to be defined
Error
    at panic (/var/www/kresus/build/server/helpers.js:31:46)
    at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
    at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
    at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:32:09.555] [INFO] helpers - Error: Assertion error: Expected variable to be defined
Error
    at panic (/var/www/kresus/build/server/helpers.js:31:46)
    at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
    at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
    at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
    at panic (/var/www/kresus/build/server/helpers.js:33:11)
    at unwrap (/var/www/kresus/build/server/helpers.js:44:9)
    at Function.byCredentials (/var/www/kresus/build/server/models/entities/accesses.js:110:37)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async createAndRetrieveData (/var/www/kresus/build/server/controllers/accesses.js:107:22)
    at async create (/var/www/kresus/build/server/controllers/accesses.js:180:22)
[2022-07-09T23:32:09.559] [ERROR] HTTP - POST /kresus/api/accesses - 500 (43 ms)