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

@anandsahil This information should be in the README #31

Open
FridgeWalaby opened this issue Feb 12, 2020 · 2 comments
Open

@anandsahil This information should be in the README #31

FridgeWalaby opened this issue Feb 12, 2020 · 2 comments

Comments

@FridgeWalaby
Copy link

@anandsahil
Hi,
First part, where you define clinet is OK.
You do not have to generate keys yourself. It is done automatically when initialisation process is started.
Here are the steps:

  1. You create a clinet - you've done that.
  2. You send initialisation process orders (INI and HIA) like that:
  • get INI order - you've done it;
  • with async/await: const response = await client.send(iniOrder);
  • without async/await client.send(iniOrder).then(r => console.log(r)).catch(e => console.log(e));
  • do the same for HIA order
  1. You have to generate and print ini letter. You can do it like this:
const bankName = 'Zürcher Kantonalbank';
const template = fs.readFileSync('your_path_to_this_file/ini.hbs').toString();
const letter = new ebics.BankLetter({ client, bankName, template });

await letter.serialize('bankLetterFilename.html'); // or then, catch
  • Open the html file. Print it. Send it to the bank. Now they are suppose to activate your account.
  1. Once your account is activated by the bank, now you're ready to download their (bank) keys:
  • Execute HPB order and get the keys
const hpbOrder = ebics.Orders.HPB;
const response  = await client.send(hpbOrder);
await client.setBankKeys(response.bankKeys);
  1. Now you're ready to go.

Hope this will help.

Regards,
Vlad

Originally posted by @vladhristov in #1 (comment)

@jpbuttet
Copy link

Very helpful, thank you.
JP

@Nezran
Copy link

Nezran commented Nov 1, 2021

Thanks !

I am new to this ISO and i have to implement it. But there is no informations on the about... Can you help me ?

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

No branches or pull requests

3 participants