question

jamescdev avatar image
jamescdev asked David Marginian Deactivated edited

Some Line Items missing when creating orders

I recently came across a weird bug, I'm currently developing an app for online ordering using the Clover API, when I try to make 2 orders at the same time I get all line items from order A but no line items from order B. What could be the cause of this?

screen-shot-2021-01-05-at-50923-pm.png

REST APIe-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.

1 Answer

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

You are getting rate limited, you never actually added any line items to the second order. You should be checking that you get a 200 on all requests, not making a request and assuming that it worked. https://docs.clover.com/docs/api-usage-rate-limits. Also, you should be testing/developing against sandbox, not production.

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