Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

For any of the following errors we have been advised to use this error message:
Os dados do seu cartão estão incorretos. Por favor verifique as informações e tente novamente 
- Incorrect customer data;
- Invalid card number;
- Invalid card type;
- Security code mismatch.
We need to add validation for CPF and Phone number fields as well. Refer to below tickets.
CPF validation: 
Jira Legacy
serverSystem JIRA
serverIdb5f78b4b-8603-3879-a97e-a16b5dacbf76
keyDFSB-1193
Phone validation: 
Jira Legacy
serverSystem JIRA
serverIdb5f78b4b-8603-3879-a97e-a16b5dacbf76
keyDFSB-1270

============================================================================================================

We need to collect address details in local format. It helps us ensure correct addresses are recorded.

...


============================================================================================================

Submitting to CRM

One example: 
Av. Pedroso de Morais, 457
Sala 410
São Paulo, SP
05419-000
-

...

Address1 -> Street name, number
Address2 -> complement
Image RemovedImage Added
============================================================================================================

Using Find CEP API

Development ticket: 

Jira Legacy
serverSystem JIRA
serverIdb5f78b4b-8603-3879-a97e-a16b5dacbf76
keyDFSB-956


Please use the example below as reference on how exactly it should be. You may use the postal code 13087-430, which will return valid data, and 13087-400 will be invalid.

...

For the fields "Numero" and "Complemtento", you should do as following:
  • Numero -> That is the house number. This field should be mandatory, and we expect the customer to input that data. You will concatenate this field in the "address1" with a comma. example: Rua das Orquideas, 587
  • Complemtento -> Not mandatory. Only when someone leaves in apartments or any kind of complex with unit number.  You will concatenate this field in the "address2" with a dash.example: Chacara Primavera - unidade 22

============================================================================================================

Submitting CPF field

We need to send the CPF value in the place order call for Brazil. Currently it's not sending it, so we are getting a decline from EBANX.

Current JSON:
"customer":

{ "email":"andre.thivierge@emanagecrm.com", "phoneNumber":"60455555555", "firstName":"Andre", "lastName":"Thivierge" }

,

Please add the following values in Customer:
"customerIdentificationValue":"698.868.809-96", //CPF value taken from CPF field
"customerIdentificationTypeId":1 //always 1


Updated JSON sample:

"customer":

{ "email":"andre.thivierge34324@emanagecrm.com", "phoneNumber":"6045555555", "firstName":"Andre", "lastName":"Thivierge", "customerIdentificationValue":"957.734.334-19", "customerIdentificationTypeId":1 }