question

ahmed2403 avatar image
ahmed2403 asked ahmed2403 commented

Refund Order ID

Please see attached screenshot. When we're trying to process a refund we get error message in our code (debug mode):

ORDER_NOT_FOUND Could not find order for orderId: 100158



We're using Clover Mini (USB) device with .NET.


We're passing 100158 as the order ID and 809XN010QT8B8 as the payment ID.

semi-integrations
cloverrefund.png (503.9 KiB)
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

·
Frank Faustino avatar image
Frank Faustino Deactivated answered ahmed2403 commented

The order ID is a 13-character UUID similar to the payment ID 809XN010QT8B8.

You'll have to get the order that's associated with the payment. Please refer to our Windows SDK documentation. https://clover.github.io/remote-pay-windows/4.0.2/cloverconnector/html/classcom_1_1clover_1_1sdk_1_1v3_1_1payments_1_1_payment.html#a5d0a1782b00ddaaa1f957aca918432a4

Here's an example implementation: https://github.com/clover/remote-pay-windows/blob/f00a9387de26df8d34738b8315c784e8d0b12b78/examples/CloverStarterExample/RefundExample.cs

1 comment
10 |2000

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

ahmed2403 avatar image ahmed2403 commented ·

Is there anywhere on the Clover device I can see the order ID as well from the transactions area? The screenshot in my first post was from the device.

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