question

jms avatar image
jms asked

Order visible even though state is null

Hi, we have a merchant who claims that an order is visible in their Orders App even though the state=null and total=0

The payment for this order was done through clover e-commerce, which has failed due to a postal code issue. Since we do not want to show failed orders in either Clover Orders App or the Web Dashboard, we execute an additional call to reset the order state to null and total to 0

The additional call above is done because clover e-commerce internally recalculates total and updates state for the order, even for a failed payment. This method seems to work well both on sandbox and production.

Querying the order later on also verifies that the above changes are in effect and we can see that there is no state and that the total is 0. If so, how does this merchant see this order on their Clover Orders App?

Orderse-commerce api
10 |2000

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

0 Answers

·

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