how to auto-fill with entity reference??

I have the first content type that is vendors content type with a three field_groups i.e. name, location and contact details. My second content is Payment. It requires users to select a vendor name. When they select a vendor name, I want to autofill both location and contact details based on the vendor name the user entered. I can not get this to work.

Do you know if it is possible, that when a user uses the first content type to find the vendor locations and details associated with that vendor name, (autofill a vendor name and contacts) base on the vendor name they provide?

Drupal version: