question

captainben avatar image
captainben asked bryanvargas commented

online receipt line items out of order with atomic api order creation

Trying to find a work around to another issue of the atomic api orders create via api not allowed to print when line item modifiers are on the order. As a workaround, attempting to make modifiers their own line items...however...while in the dashboard details they show in the proper order, when attempting to review the receipt online...they are not in order which is concerning.

Bug in the ordering receipt? Not understanding the disconnect of the 2. Appreciate suggestions.

Thanks.

REST 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

·
bryanvargas avatar image
bryanvargas answered bryanvargas commented

Is your API Payload have the items correct in the request? What other methods have you tried.

2 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.

captainben avatar image captainben commented ·

>> Is your API Payload have the items correct in the request?

Yes. You can see in the dashboard everything is great as shown in this screenshot.

screenshot-2023-12-14-at-83319pm.png

However in the virtual receipt, you can see it is out of order making it non readable:
https://sandbox.dev.clover.com/r/0BXVJ7G7X2KQ2

Please note, I am only doing method to make modifications as line items as a work around because when I attempt to create an atomic order in production and adding modifiers to line items and change the price and name of the modifier for the atomic order, it will create a perfect receipt ( https://sandbox.dev.clover.com/r/JCMRXHH0A0V7C ), but the receipt won't print in real life! Orders without modifications that are just atomic rest api created line items have no trouble printing which seems like a major bug if this is true.

Please review this thread I created, would love to know your thoughts on if i am doing something wrong or if this is a bug and could be addressed asap.
https://community.clover.com/questions/51274/re-ask-having-a-modifiers-in-atomic-rest-api-creat.html


0 Likes 0 ·
bryanvargas avatar image bryanvargas ♦♦ captainben commented ·

Again, Clover doesn't support custom items with modifiers to be printed. This is not a bug, and it is working as designed. Our docs even provided the prerequisites on working with Atomic order APIs and its limitations. Please use the API as it is designed to eliminate the problems you are running into: https://docs.clover.com/docs/working-with-orders#prerequisite

I'm asking for your actual JSON Payload to the API for me to take a look. Please make sure your private keys are not in the request.

0 Likes 0 ·

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