Install in Bitrix24 as Local Application
Guide are available on this page or at the link https://onlinetechretail.com/logistics/bitrix24/en/novaposhta-ukrposhta-meest-dhl/
To install Logistics sync locally, you need to:
Pay attention to point 4. - without local application codes, it will not work, you will lose access to the portal and will receive an error retrieving data
1. If the application has already been installed on the bitrix24 portal - delete the application on the Market->Installed page
(Required) before installing a new local application, delete the existing installed application and all local versions of the application.
2. Add a local application on the Market->For Developers->Other->Local Application page
Local application settings:
Your handler path: https://onlinetechretail.com/bitrix24/coreonlinetechretail.novaposhta_v5/
Initial installation path: (empty string)
Menu item text : Logistics sync
Permissions: CRM, Application embedding, Users (minimum) Commercial catalog (catalog)
Save local application.
3. Check that all employees who need access to the application are added to the menu of the just added local application - “Employee access permissions”.
If you need a specific department with subdivisions, then the subdivisions must also be added.
If you need a specific department with subdivisions, then the subdivisions must also be added.
4. IMPORTANT!!! without this the application will not be able to update the acces token and will lose access to the portal
Open the application:
Please note that the application should be opened by an account with the necessary access rights to the deals and that it will be constantly used for the operation of the application and will not be deleted from the portal.
Also note that you shoud have only one local application with the URL of our application, i.e. there is a possibility that you will open one local application, and save the codes of the local application from another - this will lead to an error, the application will not be able to authorize your keys:
Copy the client_id and client_secret (different from the ones at the screenshot):
On the “general settings” tab, open “local application settings”:
Save the client_id and client_secret of the added local application in the corresponding fields, this is necessary for the correct operation of the application, so that it does not lose access to the portal and can automatically move deals according to the settings.
(Required) After this, refresh the page to make the necessary settings in the Bitrix portal.
5. After that, the menu item Logistics sync or Logistics sync will appear in the Market section, where you can make settings, and in the deal, the item Logistics or Logistics, where the shipment is made.
The "Logistics" tab in the deal can be in the visible part of the menu or under the "More" link:
6. If you need to add it to the left menu for quick access to settings. You need to open the application settings page, refresh the browser to open it to the full page and click the “star” above the application, which will add it to “favorites”, after which an item will appear in the left menu:
7. The Express shipping field (if you use it) must be reflected in the transaction:
This item may be under “select from another section”.