From July 1, 2017, in accordance with Law 54-FZ, all online payments using bank cards must pass through the cashier issuing electronic checks. This means that all online retail is borne by online trading - registration of cash registers, maintenance, replacement of fiscal drives, storage of old FNs. The simplified option is not to purchase all the equipment, but to use the service on the rental of CCV and software. We want to talk about how we invented and implemented our ATOL Online service, why we needed to break and re-build business processes, as well as about the project team itself and the principle of service operation. For details - under the cat.
The first beginnings of the service idea appeared in the middle of 2016, when, after analyzing the requirements of 54-, we began to look for a solution for the market, which had not previously used (although obliged) cash registers, online trading. Companies that accept payment for content or goods via the Internet, as a rule, do not have their own infrastructure, but actively use cloud services. For them, the appearance of a physical device that needs to be registered, connected, serviced is an extra headache.
With experience in the development of cash registers, we made a prototype of the ATOL 42FS cash register, which can only be used for online payments. It does not have a printing module, it is such a small box with a LED and two connectors. Cashier is. But what next? It needs to be somehow integrated, exploited, so that it works 24/7, 365 days a year, because online trading goes on around the clock. ')
Both in online and offline commerce queues are possible. They are always formed by buyers, but if in a stationary outlet people are distributed between different cash registers themselves, then in an online store a queue forms transactions and (in non-operating mode) it will have to be managed at the software level. Like offline, if the queue is big and long, buyers turn around and leave without making a purchase, and online - long waiting for a response from the cash desk under heavy load will make it impossible to register a transaction. All this affects the economy of business.
The solution is the same - you need more cash registers. Even a small company makes optimal use of at least 2 cash desks. With a large number of purchases in the online store, smooth and comfortable work can be organized with the help of dozens of online cash registers. We will tell about it in detail, but for now let us return to the ideas.
Taking into account the recommendations of the major players in this market and payment services, we approached the idea of ​​some kind of universal service, saving Internet entrepreneurs from most of the problems when switching to CCT. In its finished form, it appeared by October; Yuri Yarkov and Eduard Bolmosov became its ideologues.
For the company it was a completely new experience: the content of the data center, building a model of monthly payments, working with a large number of users.
Screaming in the wilderness
We faced a problem: the market was poorly informed about the innovations threatening it in the legislation. Most did not know anything, and those who heard that 54-FZ concerns payments on the Internet, hoped that the law would not work, the deadlines would be postponed, ways would be found to work around it. Even those events that were conducted by the Federal Tax Service and other structures, were primarily focused on the segment of offline trade, the Internet stood aside.
At the beginning of the year, we realized that the market was not aware at all, and began active marketing communication, held several events. We began to acquaint the market with the basics of the technical implementation of legislation, the so-called formats of fiscal documents, according to which this whole ecosystem works. ATOL held a huge event on the RIF, a full-day seminar in four slots. It seemed that we covered the entire market, but in fact we reached far from everyone.
Awareness of the market that “the box office is needed, what to do?” Happened in June, and the peak came in the last two weeks before July 1. In September, when the first penalties under the new law begin, the second wave will surely rise.
Service anatomy
ATOL Online can be divided into three components. The first is the ATOL 42FS cash register as a device for fiscalization of payments.
The second is the infrastructure in which the cash offices are located. We rent a data center with a Tier 3 fault tolerance level. Cash registers are mounted in assemblies; 48 cash desks are installed on a dual-unit basis. They have 2 interfaces: USB is powered, Ethernet - control and data exchange.
The third component is software, frontend and backend. A frontend is a personal account through which the management of the service takes place: connecting to the service, authorizing, exchanging information necessary for fiscalization of the cash register. The backend monitors the state of technology and controls load balancing. After all, one legal entity can have both a cash desk, and 1000 or 10 thousand.
It is not enough one cash desk
Even for a small online store, one online ticket office is not enough. It should work 24 hours a day, 7 days a week, and a cash register is a device that can sometimes break down, stop servicing, and require the replacement of a fiscal drive (FN).
As soon as the company has a need for 100% availability of the operation of issuing electronic checks, since the risks of downtime for business are very high - it needs at least two cash registers. The probability of failure of two cash desks is very low at the same time: we place them in a special way, we do not store them in one rack, in one assembly, they are spaced inside the data center.
For companies with a large number of transactions become relevant restrictions associated with the work of the fiscal drive, which is located inside the cash registers. This is a third-party design certified by the FSB with a crypto processor inside. With FN associated bottlenecks in the work of the box office. Below - a couple of major.
1. Work speed. FN is slow. The total processing time per check is approximately 0.9 s. But in practice, there are network delays from time to time, since the check has to be sent to the CRF and get an answer from it. As a result, with the best possible scenario, you should not count on the speed of more than one check per second. If the store has a higher load and only one cashier, a queue will be formed. A request to form a check can be stored for up to five minutes, after which it “falls off” with a timeout. If the store has 50 transactions per second, in the ideal case you need to install 50 cash registers. We have a special calculator that can be used to calculate how many cash desks are necessary (and cost-effective) in order to provide the required throughput. It is also necessary to lay a reserve for the exit of cash registers or maintenance. Each defines the exact values ​​itself, but usually with a large number of cash desks, the “stock” is 10-15%.
2. Capacity FN. Fiscal drive can sign a limited number of documents. Typical capacity - 250 thousand documents. If such an FN is sent one document per second, it will be filled in 3 days. At the same time, the length of the check and the quantity of goods in it do not matter, since the FN stores only the total amount, which occupies approximately 40 bytes. Replacing the FN is a tax-related procedure, it requires re-registration and takes 1-2 days. If you change these drives every two days, it will be impossible to work. In order for the service not to stand idle, it makes sense to calculate the number of cash desks so that the FN replacement takes place once every few months, and it is better not more often than once every six months, and the cash desks stop for replacement by certain lots. That is, so that the system was not overloaded and protected from failures.
All major Internet companies put these risks into account when calculating and rent from us from 50 cash desks.
Internal startup
Everything was new for us: the project, the market, and the service. The project required the processing of all internal business processes in the company and the organization of customer service. Everything needed to be adapted and rebuilt for profit, as time was short. The creation of the ATOL Online service has become for the company an essentially internal start-up. At the start of the project, the number of the team did not exceed 10 people. Their forces in the first month was created a prototype. When they saw the prospects, the team began to grow, now about 40 people are actively involved in the development of the service.
Practically all divisions of the company are involved. These are development, maintenance service, which was created specifically for this project, technical support, presale service, sales department, customer service, product line. Even the production, which creates a box office.
Everything was like in a startup: an uncharted market, the search and implementation of ideas, their testing for potential customers. Used the Agile approach, the Kanban methodology. At first, we talked to online shopping tops, defined their needs and expectations, collected feedback, realized that people really needed such a service.
The moment when business owners believed in a startup happened in December, after the business plan was formed, the first iteration of the business model. The main difficulty was related to the lack of reliable information on the volume of the e-commerce market. Estimates vary greatly, from 20 to 100 thousand companies. We took as a basis that companies that conduct business with cards on the Internet, about 40 thousand, and each of them need at least one box office. Initially, a strongly pessimistic model was laid, but it also made it clear that this should be done.
Developers are actively involved in the development of the service, people are still gushing ideas, they are pleased to participate in the creation of something historical, something that nobody has done before.
Bloodless integration
Most concerns of the owners of Internet business raised issues of integration. It required the most simple solution. We have implemented several integration options directly from the CMS system and through payment services. We have a single API for all, JSON REST, fairly simple to implement. It is made according to all requirements of the standard of fiscal documents.
With payment systems, everything is quite simple. The site owner connects to our service, puts the cash register on the account, we fiscalize it, and at the final stage he receives the configuration file, there are 3 lines: group code, login, password. The user sets this data to the payment service in his personal account, there are relevant parameters for input. Everything, you can work. Now integration with the main players of the market: 14 CMS (1C-Bitrix, AdvantShop, NetCat, RetailCRM and others) and 19 payment services (for example, Yandex.Cassa, Robokassa, Internet acquiring from Sberbank and Tinkoff, etc.)
Perspectives
In the nearest plans for the development of the service - API modernization, support for the format of fiscal documents version 1.05, this will allow the user to correctly reflect information on advances, prepayments, gift cards. In addition, we plan to expand the set of user functions available from the personal account: add the ability to perform manual operations on returns and corrections, such a mini-CMS, as well as information on service monitoring and detailed statistics on cash registers.
There are many long-term plans, they can be divided into two blocks. The first is the work to improve the efficiency and stability of the system. The service should work like a clock. The second block is related to the optimization of the client's work, the issues of automatic registration of cash registers in tax, automation of interaction with the CRF.
There are ideas, a lot, you have to do. After all, ATOL Online for a company is an opportunity to diversify its solutions, to bring them to the emerging market of Digital-technologies, to enter a different consumer class. We have been developing cash registers for a long time and professionally, but we always wanted to do something more than just a piece of hardware, to give more service. This is not only our path of development, but also of many other companies that want to grow and develop in the future, as the market requires: the consumer is changing, and the business too.