question

krunal avatar image
krunal asked bryanvargas commented

Print Rest API : Print order receipt issue

I have used the Print REST API to print (Kitchen, Order) receipts automatically. The Print REST API does not print Order Receipt and Kitchen Receipt.
using the below code for printing receipt.

curl --location 'https://api.clover.com/v3/merchants/{
                 {mid}}/print_event' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
    "orderRef":{
        "id" : "JYM0V9AGTJFHW"
    }
}'

Please help me to fix this problem.

REST APIPrint
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

Do you know if the device is in customerFace mode (any pay display mode standby) or if the order has any custom items with modifiers trying to print (currently, custom items with modifiers are not supported to be printed)

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.

krunal avatar image krunal commented ·

Orders contain custom items with modifiers

What could be the reason for printing sometimes?

And because there are custom items in the order, why is there an issue in printing?

0 Likes 0 ·
bryanvargas avatar image bryanvargas ♦♦ krunal commented ·
Custom items with modifiers are not supported to be printed with Clover. I recommend using the Merchant's existing inventory with the existing modifier
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