Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds refresh bank keys endpoint #223

Merged

Conversation

hey-johnnypark
Copy link
Collaborator

@hey-johnnypark hey-johnnypark commented Jul 30, 2021

closes #165

This is the first step of tackling the issue that a bank updates their bank keys.

Source: https://www.hamburger-volksbank.de/firmenkunden/zahlungsverkehr/service/bankschluesselwechsel-ebics.html

It mentioned that you need to execute HPB order again when the keys are rotated.

This fix provides an endpoint that can be called so that the keys are updated.

I tested it with GLS Bank.

BEFORE calling the endpoint

direct_debits were in status failed due to 091008/EBICS_BANK_PUBKEY_UPDATE_REQUIRED - Bank key invalid

AFTER calling the endpoint

[{"at":"2021-07-29T10:01:34.176+00:00","status":"file_upload","reason":"TS01"},{"at":"2021-07-29T10:01:34.199+00:00","status":"es_verification","reason":"DS01"},{"at":"2021-07-29T10:01:34.254+00:00","status":"order_hac_final_pos","reason":""}]

@hey-johnnypark hey-johnnypark merged commit bd6c6de into railslove:master Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Bank-Keys
2 participants