question

todd-w-ark avatar image
todd-w-ark asked saqlain answered

Reflect modifications in order total

Using

To add 4 modifications to a single line item on an order. 2 of those modifications have a price attached. (See image below)


Except the OrderTotal does not reflect the cost of the modifications. If you view the receipt it does show it. But then, when you go to pay the order, it uses the pre-modificaions total. I even tried overriding the amount_paid in the "https://scl-sandbox.dev.clover.com/v1/orders/{order_id}/pay"

Is there some flag I need to pass in the order pay to get it to honor the adjustments to the order total made by the line item modifications?

1636568678010.png

1636568700235.png

OrdersREST APIPayments
1636568678010.png (156.1 KiB)
1636568700235.png (132.7 KiB)
10 |2000

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

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

I would highly recommend you look at using our atomic order endpoints to create orders - https://docs.clover.com/docs/working-with-orders..

If you manually add modifications after order creation or are using or non-atomic endpoints you are responsible for correctly updating the order total - https://docs.clover.com/docs/calculating-order-totals

10 |2000

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

jaske09 avatar image
jaske09 answered

It is from my understanding that merchants in the US have the option on their device to charge the customer for the credit card fee normally charged to the merchant https://testmyspeed.onl/.

10 |2000

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

lisawindy907 avatar image
lisawindy907 answered

The mechanic known as "reflect" makes an effect work not just on its target but also on its source. io games

10 |2000

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

julii avatar image
julii answered

The 10 year golden visa offers long-term residency to investors, skilled professionals, and exceptional talent. It provides stability, benefits like healthcare, and access to business opportunities, enhancing growth in the UAE.

10 |2000

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

saqlain avatar image
saqlain answered

Fund Recovery Services delivers professional services for victims of financial fraud. They ensure a strategic approach to reclaiming your assets.

10 |2000

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

saqlain avatar image
saqlain answered

Experience a blend of urban convenience and residential charm when you rent an apartment in el Metn. BeiTeck has a range of options to meet your needs.

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