Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 7 Next »

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


  • Correct Address Format:


Avenue or Street

Av. Paulista

R. Augusta

Number:house number

building number, floor and apartment

1024

1098, 1º andar, apto. 101

NeighbourhoodBela Vista
CitySão Paulo
State Code (States in Brazil have abbreviation codes)SP
CountryBrasil
Postal Code01310-000
NameLívia Amaral
Street/ Avenue Name + NumberAv. Paulista, 1098, 1º andar, apto. 101
NeighbourhoodBela Vista
City + State CodeSão Paulo - SP
CountryBrasil
Postal Code01310-000
  • Fields - translation:


EnglishFull NameStreet/ AvenueNumberUnitCityStateNeighbourhoodPostal CodeE-mail AddressPhone Number
Portuguese TitleNome CompletoRua/AvenidaNúmeroComplementoCidadeEstadoBairroCEPE-mailNúmero de telefone
  • Field form example:  Numero is separated from Rua
  • Put CEP first (for type ahead autofill purpose)



You can use this as a zip code lookup:

https://developers.ebanx.com/api-reference/full-api-documentation/ebanx-payment-2/payment-reference/reference-zipcode-operation/


  • Notes:
  • This field form is only an example. Do not copy that.


  • Use field translations from the table
  • Use CEP for postcode
  • CEP - 8 digits, use format ‘nnnnn-nnn’

Required fields: Full Name, Street/ Avenue, Number, Unit (optional),Neighbourhood (optional), City, State, Postal Code, E-mail Address, Phone Number (optional)

  • On mobile version - show numpad for postcode and phone number. Example:



Development ticket:  DFSB-198 - Getting issue details... STATUS


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

Submitting to CRM

One example: 
Av. Pedroso de Morais, 457
Sala 410
São Paulo, SP
05419-000
-
[Street Name], [House Number] - Address1
[Complement ] - Address2
[City], [State]
[Postal Code]
-
To submit that to CRM, please use the following format:
Address1 -> Street name, number
Address2 -> complement
============================================================================================================

Suggestion for API integration


Even better, is to have a simple integration with an API that simply finds the address through the zip code. That is how our major websites work in Brazil.
The first step is to collect the zip code (CEP):
After inputting the information, call the CEP API (details at the end of the email), and auto-fill the address found, making sure that the customer fills the house number (has to be mandatory), and complement as optional.
In case that there is no address found, we can use the Google API to help the customer with the address, but as an exception. The CEP API should be very reliable.
See below the details on how to integrate the CEP API.

Simple GET call and you will have a Json as response.

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.