Tax service uses document data instead of customer email
ID: 548671
No Fix
Published on 3/23/2022
•
Last update on 2/16/2024
Summary
The checkout, when assembling the payload for the tax service, uses the document data (whether corporate or not) in place of the email. In this way, the clientEmail
variable retains the definition of the document that was received and not the email itself.
Simulation
Make a simulation for the FFM by correctly passing the customer data in the clientProfileData
and notice using the debug mode the request that is made to the tax service the clientEmail
variable using the information that was passed in the corporateDocument
or document
(depending on the type of document)
Workaround
Don't take into account the clientEmail
, but the email that is inside the clientData
. There the data is correct.