Menu
Feedback
Start here

Known issues

Known issues
Request for Settlement of Orders Does Not Account for the Value of Interest
Order Management
ID: 1130035
Backlog
Published on11/5/2024
Last updated on11/5/2024
2 min read

Summary

When an order has interest applied, the total value of the transaction ends up being higher than the original value of the order. However, during the process of sending the settlement request from the order system to the payment gateway, the system only sends the order amount, without taking interest into account, which results in a settlement request with an amount lower than the total transaction amount, which can prevent the transaction from being completely captured. In some cases, the transaction may remain in “Capturing” status indefinitely.

Simulation

Create an order using a payment method that has interest calculation configured.

After finalizing the purchase, follow the normal order handling flow and send the invoice with the total amount of the order, including interest.

In the transaction details on the gateway, you will see that the capture request will be sent with the order amount, without accounting for interest.

Workaround

To avoid new cases: The merchant can enable automatic capture on connectors that accept interest. This way, the capture will be carried out directly on the connector, using the total amount of the transaction, including interest, and eliminating the dependence on the amount sent by the order system.

To adjust orders already in “Settlement” status: For orders that are already in “Settlement” status and are waiting for the amount to be updated with interest, the solution is to explicitly call the settlement APIs from the payments area to adjust the transaction amount.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback