Here is the document to setup the Advocado in DinePlan
DinePlan Version | 2.270308.1 |
Step 1: Configure Settings
Go to BackOffice → Advocado Settings → Enter the Values and save
...
Before we configuring configure the Advocado in DinePlan, we should get the following from the Advocado Team
Url | Url of the Advocado System |
---|---|
UserNameAdvocadoApiUrl | Url from the Advocado System |
AdvocadoUserName | Username for of the Advocado SystemCRM |
PasswordAdvocadoPassword | Password for the Advocado System |
Outlet Id | Id of the Outlet that has been mapped in Advocado system. |
OutletName | Name of the OutletCRM |
OutletId | Outlet from the CRM |
OutletName | Outlet Name from the CRM |
VoucherCalculationType | To apply the Advocado voucher, we need the discount calculation type from DinePlan |
CashbackCalculationType | To Apply the Cashback, we need the calculation type from the DinePlan |
StoreValueCalculationType | To Apply the Cashback, we need the calculation type from the DinePlan |
StoreValueTopupProduct | The Product will be used for Store Value Topup |
CashbackCampaignId | Id for the Cashback |
Once we have all this information are available, it should be set in DinePlan as below
Go to BackOffice → Advocado Settings → Enter the Values and save
...
Here are the steps to be done for Advocado
Create Payment Type
Attach the Payment Processor
I. Config Advocado Menu Item
Add Voucher item
...
Add Free Item
...
Note that Alias Code must match with item SKU on Advocado
...
Step 2: Add Action, Command and Rules
Go to the
BACK OFFICE -> AUTOMATION -> AUTOMATION COMMAND and add a new command called “Advocado” as below:
...
BACK OFFICE -> AUTOMATION -> ACTIONS and add a new action called “Advocado” as below:
...
Remember to choose PaymentTypeName and input OutletId. paymenttype is using when we make payment for Topup. That is why this action needs to be used on the Payment screen.
...
3. Go to the
BACK OFFICE -> AUTOMATION -> RULES and add a new rule called “Advocado” as below:
...
Mapping:
...
III. Using Advocado
Go to the Payment screen, click Advocado
...
2. Advocado screen shows up
...
Input CallingCode, Phone Number, or Card Number to search Member
3. Member info screen
...
4. Topup
...
Top Up successful
...
IV: Add Advocado Payment action
Go to the
BACK OFFICE -> AUTOMATION -> ACTIONS and add a new action called “Advocado Submit” as below:
...
2. Add
Advocado Submit action to Payment Processed rule: Go to the BACK OFFICE -> AUTOMATION -> RULES and edit rule: RU_PAYMENT_PROCESSED:
...
V: Payment successful
...
That's it
Here is the Advocado Recommended flow for POS Integrations
...