question

whosbuddy avatar image
whosbuddy asked Jeffrey Blattman answered

How can I check if custom tender has tips enabled?

I would like to determine programatically for my custom tender app if tips are currently enabled for the merchant. There are several posts in the forum that suggest using

var saleRequest = new clover.remotepay.SaleRequest();
TipMode tipMode = sale.getTipMode()

However, I'm using 'com.clover.sdk:clover-sdk:latest.release' and com.clover.remotePay.sdk.SaleRequest isn't included in this SDK. There is also no mention of SaleRequest in the clover-android-sdk docs.


What is the new way of checking whether merchants have tips enabled?

semi-integrationsClover Flex
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Jeffrey Blattman avatar image
Jeffrey Blattman answered

There's not a good way to do this. "Tips enabled" isn't exposed in our Android SDK. You can call /v3/merchants/.../properties and that will return a field "tipsEnabled".

https://docs.clover.com/clover-platform/reference#merchantgetmerchantproperties

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community