question

aavci avatar image
aavci asked David Marginian Deactivated commented

Cancelling an order with `deleteOrder` and avoid error message

How can the order be canceled from an application by avoiding the "Error - The current order has been deleted." message?

This would be for an app that is viewing the current order in the register. The app would have a button to delete the existing order.

OrderConnector has a method called deleteOrder. Calling this successfully deletes the order but leaves the Register app in an error state.


OrdersClover Android SDK
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

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Sorry, you will have to provide some context. It sounds like you are trying to delete an order that is currently in view in register or something.

5 comments
10 |2000

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

aavci avatar image aavci commented ·
Yes that is correct.
0 Likes 0 ·
aavci avatar image aavci aavci commented ·
I updated the question
0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ aavci commented ·

I don't think that is possible. Obviously, we want to notify the merchant that what they are/were looking at no longer exists.

0 Likes 0 ·
Show more comments

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