You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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:
You create a clinet - you've done that.
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
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.
Once your account is activated by the bank, now you're ready to download their (bank) keys:
@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:
const response = await client.send(iniOrder);
client.send(iniOrder).then(r => console.log(r)).catch(e => console.log(e));
Hope this will help.
Regards,
Vlad
Originally posted by @vladhristov in #1 (comment)
The text was updated successfully, but these errors were encountered: