Integration of tetyafanya.online with WEB API PRRO Cashälot: automatic fiscalization of receipts and sending
Task Description
It is necessary to connect the site tetyafanya.online to WEB API PRRO Cashälot, so that after a successful online payment, a fiscal receipt is automatically generated and sent to the DPS, and the fiscal details are saved in the order and sent to the client (link/QR/PDF).
The contractor needs to implement a full cycle: opening/closing shifts, registering receipts (including cancellations for returns), Z-reports, handling offline mode, logging, and securely storing keys KEP/SmartID/PIN.
Required Result (what should work)
Auto-fiscalization upon payment
After the webhook "successful payment" from the payment provider, the site callsRegisterCheckin Cashälot:with AutoOpenShift=true (if the shift is not open — open automatically),
get Url/QR of the receipt (for the order tab and the email to the client),
save NumFiscal (fiscal number), date/time, and status (online/offline).
Returns / cancellations
On the event "refund/cancellation" — register the cancellation receipt viaRegisterCheck(DOCSUBTYPE=CheckStorno) by passing the details of the original receipt (StornedCheck).Shift and Z-report
Auto-close the shift via
CloseShiftwith the parameter ZRepAuto=true (if Z has not yet been generated).Ability to manually call
RegisterZRepfrom the admin panel.View the totals of the current shift via
LastShiftTotals.
Offline mode
In case of FSKO unavailability, work offline: accumulate documents, then automatically go online and re-register offline receipts; in case of desynchronization —Cleanup.Receiving receipt/Z
Ability to pull the completed receipt/Z from the server by fiscal number (GetCheck/GetZRep) for display/resending to the client.Security of keys and settings
Add a settings screen: upload certificate/key (or SmartID/KeyPin), bind to the required NumFiscal PRRO.
Store secrets outside web-root, in
.env/protected config storages.Support for simplified mode KeyPin (if enabled in the back office), where Certificate/PrivateKey/Password are not passed in commands.
Admin interface
In the order card: fiscalization status, NumFiscal, link to receipt (Url), QR (img), offline/online flag, log of the last attempts.
Buttons: "Resend receipt", "Generate Z-report", "Close shift", "Cleanup/synchronization (Cleanup)".
Notifications to the client
After a successful payment, send an email with a link/QR to the receipt (and/or an attachment of HTML/PDF visualization, if
Visualization/VisAsHtmlis used).
Logs and resilience
Log of API requests/responses (secure masking of personal and key data).
Retries on temporary failures; queue for resending.
Alerts in the admin panel on
ErrorCode/ErrorMessage.Technical Implementation Details (what exactly the developer should do)
1) Connection to Cashälot
Configure
Setupfor storing KEP/SmartID parameters (Certificate/PrivateKey/Password/UseSmartId) or use KeyPin according to the enabled integration in the back office
At startup, check server availability (ServerState) and PRRO status (TransactionsRegistrarState).2) Flow "Payment → Receipt"
Listen to the payment system webhook "successfully paid".
Form the receipt structure (service, amount, taxes/excluding VAT), call
RegisterCheckwith:NumFiscal= fiscal number of PRRO;Check= receipt data (service/item/total/payment);AutoOpenShift=true(if the shift is not open, open automatically);GetQrCode=true, if necessaryVisualization/VisAsHtml.
API response: save
NumFiscal,NumLocal,OrderDateTime, flagOffline,UrlandQrCodein the order.
3) Refund/cancellation
On the refund event —
RegisterCheckwith type CheckStorno, passing StornedCheck (orStornedCheckToConvert) to correctly calculate the shift totals.
4) Shift and Z-report
When closing the day —
CloseShift (ZRepAuto=true);Alternative: a separate button
RegisterZRep(if needed before closing).View shift totals —
LastShiftTotals(for the admin screen).
5) Offline / desynchronization
When
OfflineDocumentsPresent→ periodically attempt auto-registration;When
InconsistentRegistrarState→ runCleanup(with informing the admin), where necessary.
6) Receiving documents
Upon admin request —
GetCheck/GetZRepwith the optionVisualizationandGetQrCode(for resending to the client).
Applications 1
-
Здравствуйте, есть опыт привязки кашалота к сайту, могу проконсультировать вас
-
Current freelance projects in the category Content Management Systems
LearnWorlds Administrator-ConfiguratorTask Set up the ready-made LearnWorlds platform for an elite online course. Do not develop the architecture — implement the already prepared structure manually in the admin panel. ———————— What needs to be done: Branding ⦁ Connect your domain ⦁ Upload the logo, set up… Content Management Systems, Web Programming ∙ 9 hours 54 minutes back ∙ 8 proposals |
Responsive Portolio Website Design ( wordap - selling and buying website )I need a clean, modern portfolio site that follows my existing brand guide and adapts beautifully to desktop, tablet, and mobile. The site’s job is simple: highlight my work through high-impact photos, embedded videos, and detailed case studies so visitors immediately understand… Content Management Systems, Web Programming ∙ 1 day 4 hours back ∙ 39 proposals |
Transfer the fully ready adaptive HTML5 structure to WordPress.
268 USD
I am looking for an experienced WordPress developer who can convert our meticulously prepared static HTML5/CSS3 code into a high-performance custom WordPress theme. The frontend is almost ready (about 99%): semantic markup, metadata, and multilingual structure (hreflang) are… Content Management Systems, PHP ∙ 1 day 18 hours back ∙ 61 proposals |
Need a strong WordPress / WooCommerce specialist for the refinement of the MARSPRO website.We are looking for a responsible freelancer or a small team for the quality completion and technical refinement of the MARSPRO company website. The website is already operational, but there are many minor and significant technical issues left by the previous developer. We need a… Content Management Systems, HTML & CSS ∙ 2 days 8 hours back ∙ 44 proposals |
Development of a modern website for the Theater
223 USD
We are looking for a web developer to create the official website of a modern cultural platform. The project unites theatrical, artistic, educational, and cultural initiatives. It is necessary to create a modern responsive website that will simultaneously serve an image… Content Management Systems, Web Programming ∙ 2 days 10 hours back ∙ 110 proposals |