question

Sukhbir Singh avatar image
Sukhbir Singh asked zgreathouse Deactivated answered

Is it possible to add tax and tip amount to order using OrderConnector?

@glenn at clover
Payments
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

zgreathouse avatar image
zgreathouse Deactivated answered
(Please review our Guide for Asking & Answering Questions.)

It is not possible to add tax or tip amount to an order using the OrderConnector. Primarily because neither field belongs to an order.

TaxRates:
The tax rate of an item belongs to the item itself. You can view the InventoryConnector's many methods surrounding getting existing taxRates and applying taxRates to items here.

TipAmount:
The tipAmount belongs to the payment. How you add a tip amount to a payment object is highly dependent on your payment flow and which Clover device form factor (Flex, Mini, Station...etc) you are running your application on, so you would need to provide more context for us to provide support for adding a tipAmount.
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