# GloriaFood

To connect the app, in GloriaFood go to your integrations section and click ‘Add Integration’ -> ‘Custom Integration’.&#x20;

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FO4TlVUVymDc1sqnOHRLc%2FScreenshot%20at%20Oct%2021%2011-59-50.png?alt=media&#x26;token=7f0c144d-1e91-4428-9ca4-7b682fff839c" alt=""><figcaption></figcaption></figure>

In the ‘Endpoint URL’ field enter&#x20;

\*\*<https://oracle-gloriafood.apps.digitalwallet.cards/on-order**&#x20>;

Generate ‘Master key’ and ‘Restaurant Token’, in ‘Email address' enter Contact email of the API owner.

In case food-clients ask to have their personal details forgotten, a notification will be sent to this email address.

Make the settings ‘Order type’, ‘Order status’ as shown in the screenshot. In 'Frequency' select 'Send every time an order is updated'.

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FtdOxUYPe3gJUjyBvcD7x%2FScreenshot%20at%20Oct%2021%2012-02-37.png?alt=media&#x26;token=fdde1a20-4e2a-43d7-98c9-81cbbe7a1d0c" alt=""><figcaption></figcaption></figure>

Also set the currency (the currency settings in GloriaFood and Boomerang should be the same)

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2F1txnuskdrOq2zdLvjMWn%2FScreenshot%20at%20Oct%2025%2021-42-29.png?alt=media&#x26;token=d1155817-7170-4aee-9a1f-9ea2af38ad11" alt=""><figcaption></figcaption></figure>

Now go to the integration section of your Boomerang account, connect the Gloria Food app:

1.Select a card template (stamp, cashback, discount or reward). Note with stamp and points mechanics (in stamp and reward cards) accrual should be done through the scanner, automatic accrual will not be done through the marketplace.&#x20;

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FiA11HIZHVIYxuiPzCwPi%2FScreenshot%20at%20Oct%2021%2012-05-57.png?alt=media&#x26;token=29e278cf-f8b2-437e-8680-34465fcad9d2" alt=""><figcaption></figcaption></figure>

2.Еnter the generated Restaurant Key, Restaurant Token&#x20;

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FHeNghHNST62OtAO8dHuQ%2FScreenshot%20at%20Oct%2021%2012-09-06.png?alt=media&#x26;token=03b3b7ff-488a-4e91-9434-0feba9a47d56" alt=""><figcaption></figcaption></figure>

3.Select an accrual rule (for the whole cheque; for a cheque over a certain amount; for certain items)

<div><figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FFUu8AYTR4qsASgZb2B1E%2FScreenshot%20at%20May%2023%2017-16-18.png?alt=media&#x26;token=3067570c-e160-4164-a761-90efad9e84a7" alt=""><figcaption></figcaption></figure> <figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FezJ8pNwJxgTs3N5NxiVW%2FScreenshot%20at%20May%2023%2017-16-31.png?alt=media&#x26;token=773b34cc-1201-42b6-bbc9-c0f0c36b24c4" alt=""><figcaption></figcaption></figure> <figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2F6wu3pbghcdc4fRQ1w2Aa%2FScreenshot%20at%20May%2023%2017-16-43.png?alt=media&#x26;token=c987b4e4-9618-4f82-ac0d-df3821dc74c3" alt=""><figcaption></figcaption></figure></div>

4.Select delivery channels for card installation links.

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2F7J9Sk06m6poFszaDimLy%2FScreenshot%20at%20Oct%2021%2012-07-36.png?alt=media&#x26;token=4c7c97f4-084a-4ec3-ae42-75e2b8f1a601" alt=""><figcaption></figcaption></figure>

On the GloriaFood order page, in the shopping basket, enter the customer's first name, last name, phone number and email.

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2Fx20VNjTGDEYgp8Fs8Thw%2FScreenshot%20at%20Oct%2021%2012-18-14.png?alt=media&#x26;token=52d4da73-d590-4a1a-ad1c-d49eeb0bb8da" alt=""><figcaption></figcaption></figure>

Pay for the order. As the order is accepted, the order details will be transferred to Boomerang.&#x20;

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FVN5oCBY9aOxCU7bpnyWH%2FIMG_1905.PNG?alt=media&#x26;token=3c4f8769-1851-4055-a915-c1fd47c4acbe" alt=""><figcaption></figcaption></figure>

If a customer with this phone number and email has a loyalty card, they will be awarded points. If the client is not in the system, it will be created and the card will be issued. If the order is canceled, the points will be deducted from the card.

<figure><img src="https://121681468-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBfW4nnOu4AysbkbyxNug%2Fuploads%2FK77llnfZKDdK8RMV79JC%2FScreenshot%20at%20Oct%2021%2012-22-39.png?alt=media&#x26;token=04c7f62a-5091-4c3f-a741-d75fcfe78a30" alt=""><figcaption></figcaption></figure>
