Русский
Academy → Plugins

1C: test enquiry forwarding

Use a staging infobase to check that one selected form can pass an enquiry to 1C:Enterprise. For example, send a fictitious consultation request and find it in a separate register.

Automation example · preview · 1c-exchange

What visitors see

Visitors see an ordinary HOBA form with a consent checkbox. The confirmation says HOBA saved the submission; it does not show whether 1C received it.

What you need

A 1C specialist needs a separate 1C:Enterprise 8.3.22 or later staging infobase, the supplied receiver module, a dedicated account with minimal permissions, and private HTTPS access. The 1C credentials stay on the receiver side. The HOBA operator needs an installation with automation enabled, install rights, and an outbound HTTP grant. The public preview is for tests with synthetic data.

Where the data goes

After HOBA saves the submission, it sends the name, email, and IDs for the site, form, and submission. It sends these only for the selected site and form with recorded consent. Other form answers are not sent.

How to enable it

  1. Have the specialist create a separate staging register and configure the 1C receiver following the archive README. Verify that writes work and access is restricted before enabling the plugin.

  2. Create a test form with required name, email, and consent. The operator installs the package, allows outbound requests, and sets the site and form IDs and the exact allowed receiver hostname.

  3. Enable the version only on the staging installation with the private receiver. Keep someone able to review the saved HOBA enquiries for reconciliation.

Which settings go where

  • 1C specialist · in Designer for the staging infobase, create the HobaStageLeads register and HobaStage HTTP service and install the supplied module. The dedicated account credentials live in the private 1C publication settings, outside HOBA.

  • Operator · 1c-exchange 1.0.0: under Plugins → Unsigned plugin package approve http.request. Under Configure → Configuration JSON set site_id and form_id (site and form UUIDs) and allowed_hosts (an array with one exact hostname). API: PUT /api/v1/plugins/1c-exchange/1.0.0/configuration. The receiver URL is built from that host; the plugin sends no 1C login credential.

  • Form author · require name (text), email (email) and a checkbox for recorded consent. Use the saved form’s UUID, not its title or URL.

How to check it

Send a fictitious enquiry and find the row by its submission ID. Verify that another form does not create a row. Have the specialist replay an identical test request: one submission ID should leave one row.

If something does not work

HOBA retains the enquiry if delivery fails. A successful form response does not prove that 1C accepted it; check the register. There is no durable queue, backfill, or reverse sync. This tests enquiries; it is not a CommerceML product, stock, or order exchange.