Did You Know?

Stay Ahead In Digital Economy

Integration

Author: admin 53 views

Maps

Before you start using the Maps JavaScript API, you need a project with a valid billing account and multiple enabled APIs. To learn more, see how to Get an API Key.

After you follow the Google guide on how to generate such a key, navigate to Listing Types  Settings  Integration  Maps and insert your key into the field Google map API key, then save the changes.

The APIs

Back to your Google Developers Console, make sure that you have the following APIs enabled:

  • Maps JavaScript API
  • Places API
  • Geocoding API
  • Apart from the APIs, make sure that you have a valid billing method, otherwise your request won’t be approved.

Billing

Google Maps are not a free service. They will give you some free views each month, but when you start getting some serious traffic, it will start charging you, using your primary billing method.

Here you can check the pricing options.

Social logins

We have integrated fast login methods using social media APIs for Facebook and Google.

Facebook sign in

Very easy, just navigate to Listing Types  Settings  Integration  Account, mark the checkbox Enable Facebook sign in, and it will ask you to enter Facebook API ID and Facebook API secret.

You need a Facebook developer account to obtain these. Follow this article to see some examples.

Google sign in

Similar to Facebook sign in, you need to follow the same path Listing Types  Settings  Integration  Account, then mark the checkbox Enable Google sign in, and it will ask you for Google client ID and Google client secret.

Have a look at the following article Integrating Google Sign-In into your web app.

After you set everything up, the social sign in buttons will automatically appear in the login process.

User registration & roles

Registration

In order to enable the user registration, first, make sure that you have enabled this for your WordPress installation. Go to your admin dashboard, then navigate to Settings  General, and check the option Anyone can register (Membership). For multisite, this option is slightly different.

User role

There are two user roles: Customer and Business. These roles are different that the standard WordPress roles, let’s say that this is just a flag.

Both user roles are doing the same, the only different is that some sections in the user dashboard will be hidden for the standard customer.

You can pre-define the user role, or you can leave your customers to choose their role, navigate to Listing Types  Settings  Integration  Account and mark the option Users can choose a role.

New user verification

In that same section, if you uncheck the option Users can choose a password, then the default WordPress verification will be triggered and an email with the user password will be sent.

But if you keep the option checked, then the users will be able to set their own password and the WordPress login screen will be bypassed.

FAQ

Can I change the names of Customer and Business roles? — Yes, you can easily change these by simple translating the strings.

Loading...