question

dolfin1986 avatar image
dolfin1986 asked dolfin1986 answered

How to determine Idempotency-Key associated with the refund created after app is crashed?

The steps :

1. Create Idempotency-Key and saved in POS DB

2. Created refund for $10 for payment 3333

3. App crashed , need to find out if the refund was created

4. Invoked REST API and found out there are two existing refunds for $10 for this payment

5. Need to find out Idempotency-Key associated with each of them to determine which one is the one just created and if it was created at all


Refund
10 |2000

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

bryanvargas avatar image
bryanvargas answered

The key should be saved immediately and you should have a record of it:

https://docs.clover.com/docs/tracking-transactions-with-idempotency-keys

If you are still having issues, I would recommend emailing in

developer-relations@devrel.clover.com with the data for DevRel to take a look.

10 |2000

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

dolfin1986 avatar image
dolfin1986 answered

Thank you for your response, but it does not answer my question. As you suggested I will email dev relations.

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