question

elven avatar image
elven asked Richelle Herrli commented

E-Commerce refund charge_Error 404 Not Found

After I successfully completed a charge, I received a successful transaction return message from Clover. However, when I used the returned ChargeID to Refund Charge, Clover returned a message of 404 which was not found. I would like to know the reason for this.

api function is v1/charges and v1/refunds

clover-response-charge-success.png1

1662626749481.png2

e-commerce apiecommerceRefund
1662626739527.png (30.4 KiB)
1662626852663.png (25.8 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

·
Richelle Herrli avatar image
Richelle Herrli answered Richelle Herrli commented

According to our logs, the merchant UUIDs for the charge and refund do not match. A charge UUID belongs to a single merchant (location) and cannot be used on refunds for a different merchant (location).

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

elven avatar image elven commented ·

Thank you for your reply. I will check the configuration


0 Likes 0 ·
elven avatar image elven commented ·

The problem of 404 has been resolved, but now I receive a normal return after doing Refund charge, but the Status is always "failed".

I pass the ChargeID to the interface according to the requirements on the API documentation. Both transaction and return are the same merchant.

Please give me some advice, I don't know why it keeps failing


1662700232931.png1

1662700329901.png2

0 Likes 0 ·
Richelle Herrli avatar image Richelle Herrli ♦♦ elven commented ·
I need more context on the payload you're sending, as well as the endpoint you're using.
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