RanceLab

Browse setup guides, tutorials, and troubleshooting articles for RanceLab.

Release Notes RanceLab Release 2.848

Download Link

You can download the update package by clicking below

Rancelab Release 2.848

Do not send Zomato/Swiggy orders in Eward

Scenario

If there is any kind of pos discount on the bill, It should not get points, and it should be optional. And also if the order is placed from Zomato or Swiggy or any food delivery app, Eward point should not be generated

Solution

In Mode of Payment (M > A >  M) > Vendor Setting > Add below tags in EWards JSON:

"SendDiscountedBill": "No"

"DoNotSendBillForMOP": "'Zomato', 'Swiggy'"

Sample JSON will be:

{"AddOrUpdateCustomerAPI": "http://13.127.190.250/api/v1/merchant/rancelabAddCustomer", "RedeemPointAPI": "http://13.127.190.250/api/v1/merchant/rancelabRedeemPointRequest", "OTPVerificationAPI": "http://13.127.190.250/api/v1/merchant/rancelabRedeemPointOtpCheck", "SendBillAPI": "http://13.127.190.250/api/v1/merchant/rancelabAddPoint", "CheckPointsAPI": "http://13.127.190.250/api/v1/merchant/rancelabCustomerCheck", "MerchantID": "0000", "MerchantEmail": "abc123sample@gmail.com", "CustomerKey": "XXXX", "SendDiscountedBill": "No", "DoNotSendBillForMOP": "'Zomato', 'Swiggy'"}

Note:

In bill either there is item discount or bill discount eWards point will not generate if you set 'SendDiscountBill = No' in JSON.

For Zomato or Swiggy order if we finish the transaction with this particular MOP, then the point will not be generated.