question

Lee Tickett avatar image
Lee Tickett asked Lee Tickett answered

Add ServiceCharge through SDK

Found this post https://community.clover.com/questions/441/service... but it's a bit confusing. Could you confirm whether it is possible to add a service charge using the SDK?

We have been able to add a service charge using the API but the merchant needs to press the sync button in order for the service charge to appear in the register.

Alternatively, if there was a mechanism to force the register to refresh (but I don't think that's possible according to https://community.clover.com/questions/205/how-to-...
Orders
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

Lee Tickett avatar image
Lee Tickett answered
Forgive me- it's been a long day! Simple as;

orderConnector.addServiceCharge(orderId, serviceChargeId);
10 |2000

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