Поговорить с Гватемалой о потери связи с БД транзакций

Issue #278 closed
Ihor Bielykh created an issue

узнать что делать если не видим MsSql

Comments (10)

  1. Ihor Bielykh reporter

    You need to save those transactions in a stack, if you can't connect to sql server, until you have connection again and send them again.

  2. Oleg Moiseenko

    We cant post to stack. We need to print receipt. So we just cant process any payment that needs to print receipt...

  3. Javier Alay

    The thing is that here in Guatemala, a receipt has to have some legal information in order to be valid. This information is in our SQL table and we are going to implement a program that will print this legal receipt. We can't print a receipt without the legal information. The program will have a trigger that when you insert data into our table, the program will fill the remain data and print the receipt. If there is a transaction and you can't connect to the SQL server then the program will not print the receipt. That's why we need that if you lost connection to the SQL server then you save the transactions and when the communication is restablished then you send those transactions so we can print the receipt.

  4. Oleg Moiseenko

    but the client is need to have the receipt? so we cant process operation without printing a receipt?

  5. Javier Alay

    Yes, is requiered that the client must have the printed receipt (Because of the Guatemalan laws). You can process operation but the information must be sent to the SLQ table. You can send the information to the SQL table after the operation is done, that's why we were asking you if you can save the transaction information and send it to the SQL server once the connection is restablished.

  6. Oleg Moiseenko

    we can save. but...

    the client pays us money...

    we cant bring him the receipt

    he just go away

    we will print receipt in 1 hour or later....

    The client pays us money and didnt have a receipt. Is this situation possible?

  7. Log in to comment