Issue with full chargeback of orders with interest
ID:
Backlog
Published on 9/17/2021
•
Last update on 12/22/2022
Summary
The platform prevents the chargeback of amounts greater than the total amount of the order. This becomes an issue for the chargeback of orders in which the payment method involves interest.
In addition to the total amount, orders have an invoiced amount, which, for legal reasons, may not include the interest applied based on a payment method.
Consequently, the platform returns an error with status 400
when an attempt is made to issue a chargeback invoice with an amount greater than the one previously invoiced.
Simulation
- In your store, create an order with interest applied to the payment;
- Try performing a chargeback on the total amount paid via API with the invoice submission request;
- Notice that the API returns an error with
status 400
, indicating that it is not possible to issue an invoice of typeINPUT
with an amount greater than the total amount of the order.
Workaround
You can first issue a chargeback invoice with the invoiced amount (without interest), and then another one with the interest amount.