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