Prepare the following:
- Create an incoming webhook in Bitrix24 with access to CRM (`crm`).
- Create two outgoing webhooks to `https://core.passquare.com/api/v2/b24`:
- Contact created (`ONCRMCONTACTADD`);
- Contact updated (`ONCRMCONTACTUPDATE`).
- Create these fields in the contact card:
- Card install link;
- Card number;
- Push message;
- Any other fields you want to show on cards.
- Create an Issue card field with a yes/no format. The finished field looks like a checkbox. If this field is missing, cards will be issued to all customers in Bitrix24 during sync.
- Send the following to Passquare support:
- Incoming webhook URL;
- Outgoing webhook keys;
- IDs of the fields you created. An ID looks like UF_CRM_xxxxxxxxxxxxx.
- If you have trouble getting the IDs, provide Bitrix24 access:
- `[account_name].bitrix24.ru`;
- Bitrix24 account login and password;
- The list of Bitrix24 contact fields that should appear on cards.
- Starting wallet card number. This number must be greater than the numbers of cards created earlier.
Use the self-serve setup guide.
Integration details
- Bonus accrual and redemption, and discounts, are configured and processed in your Bitrix24 system.
- The wallet card is synced with the Bitrix24 contact card.
- Integration and automatic data updates are available on any paid Bitrix24 plan.
- After a card is issued, the customer and card usually appear in Bitrix24 within a few minutes to a few hours. The maximum delay is 24 hours. Timing depends on system load and the update queue.
- When customer data changes in Bitrix24, Passquare and the customer card update within a few minutes to a few hours. The maximum delay is 24 hours. Timing depends on system load and the update queue.