Menu
Feedback
Start here

Known issues

Known issues
Inconsistency in payment method boleto bancário expiration dates
Payments
ID: 489460
Backlog
Published on3/28/2022
Last updated on11/25/2022
1 min read

Summary

Some Boleto Bancário generated from ItauShopLine connector may have an expiration date different from the one configured in the affiliation

This happens because, to determine the expiration date, we look for a field in our code that says the date and time of the exact moment of creation of the slip and then we add up the number of days allowed for the boleto to expire. However, using the time zone GMT+0 and not Brazilian time zone (GMT-3) and then the boleto generated from 9 pm onwards consider the following day as the base day for this calculation, causing some Boletos Bancários to have one more day in the calculation of the due date

This problem was mapped from a case with ItauShopLine, but it can happen to others connectors, depending on purchases country and also from the particular functioning of each connector.

Simulation

  1. Go to affiliations and set up ItauShopLine with the expireDays = 1
  2. Create a Payment Condition for the Boleto Bancário Payment Method to be processed by the ItauShopLine
  3. After 9 pm, Go to checkout and make a purchase with Boleto Bancário Payment Method
  4. Open the boleto bancário and observe the expire date

Workaround

N/A

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