Documentation
Feedback
Guides

Release Notes
Release Notes
Fixed
Price consistency at Checkout with discounts applicable to a specific number of installments
November, 11

{"base64":"  ","img":{"width":97,"height":20,"type":"svg","mime":"image/svg+xml","wUnits":"px","hUnits":"px","length":933,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/improvement-price-consistency-checkout-discounts-installments-0.png"}}

We have improved the way installments are calculated and displayed to our customers at Checkout. This change aims to provide accurate information on discounts in the appropriate contexts.

What has changed?

Before this change, customers could experience issues in the installments selector if there was a discount eligible only for orders paid in a limited number of installments.

This happened due to an inconsistency in the values available in orderForms (paymentData.installmentOptions object). This object is commonly used by Checkout interfaces to display installment options for a given payment.

Since the installmentsOptions object does not support the type of discount mentioned above, we launched the Cart installments API endpoint, which returns installment options’ values consistent with the applicable discounts, if there are any.

What needs to be done?

If your store uses our Checkout API connected to a different user interface, such as a proprietary app or website, you can implement this improvement using the new Cart installments API endpoint. After the implementation, price discrepancies will no longer be a problem.

Was this helpful?
Yes
No
On this page