Open xxdannilinxx opened 1 month ago
I will test passing the correlationID
field
To avoid duplicating customer you need to use the taxID field. The primary key of customer is the CPF/CPNP represented by this field
I believe you could have unique double keys, telephone number and taxID, as in quick and over-the-counter sales we do not fill in the CPF.
But that's Woovi's internal business rule, it's just a tip.
With each new charge, a new customer is created, it appears that records are duplicating.