Plugin / GoodID WP Connect

Id&Trust

Installation

Installation

Plugin pre-requisite

To enable the GoodID WP Connect plugin you must sign up to become a Client on GoodID.
To signing up please contact us in email [email protected] .

Required settings

Once you become a GoodID Client you receive your identifier ( client_id ) and secret (client_secret). Into the GoodID menu on the administrator interface you need to set these along with the data (claims) that you need from a user for registration and even the mapping rules between the received data and WordPress and Woocommerce. Additionally you need to set whether you want the GoodID plugin to register new user into wp_users table or your want to store users data only in session.

Display GoodID button

My account, Checkout and Login pages

On the admin interface in the GoodID menu you can set whether you want to display GoodID button on these pages and even set if you want to automatically hide the type of default login or not.

In these cases we always display GoodID login button in default size and we always using the default claim set.

Shortcode

You can add an extra Sign in with GoodID button to any place on your website with this shortcode: [goodid_login_button]. The button will only be visible if the user is not logged in already.

When you want to display GoodID login button by using short code you have some additional options to set. These are:
* size : The supported values are: small , default, large
* claimset: You can set the ID of the claimset that you want to use.

For example:
[goodid_login_button size=”large”]

Event settings

To enable the digital pass functionality on your site please set the Event ticket template ID in GoodID menu on administrator interface. You can receive one from us on [email protected]
After that you are able to enable or disable event pass functionality and set event data to specific product on product setting page.

What kind of data can I request from the user with GoodID and how?

In the GoodID tab of your WordPress admin interface you have two settings, that define the requested data and its storage.

The Claims setting defines what data do you ask.
Please always include "email": {"essential": true}, "email_verified": {"value": true} as requesting a verified e-mail address is necessary for the wordpress plugin.
The value of the essential parameter defines whether filling the claim is required or optional.

The following is a short example:

{
    "id_token": {},
    "userinfo": {
        "email": {
            "essential": true
        },
        "email_verified": {
            "value": true
        },
        "family_name": {
            "essential": false
        },
        "middle_name": {
            "essential": false
        },
        "given_name": {
            "essential": false
        },
        "billto.company_name": {
            "essential": false
        }
    }
}

A default claimset is included in the plugin as default-claims.json.

The list of all supported claims can be found here: http://goodid.s3.amazonaws.com/manual/3.+GoodID+Scopes+and+claims.pdf

The Mapping setting defines the mapping between the requested claims and the WordPress or WooCommerce fields.
The user_email field must not be mapped in the mapping, because it is automatically handled by the plugin.

This is a short example:

{
    "wordpress": {
        "first_name": [
            "concatenate",
            "middle_name",
            "given_name"
        ],
        "last_name": "family_name"
    },
    "woocommerce": {
        "billing_company_name": "billto.company_name"
    }
}

The mapping is divided into groups for clarity.
If you have any other plugin which handles custom data about the user, you can also map that data from GoodID in a new group. You can name a group anything.

A single mapping item uses one of the following formats:

1.
"wordpress_field_name": "goodid_claim_name"

2.
"wordpress_field_name": [
    "concatenate",
    "goodid_claim_name1",
    "goodid_claim_name2",
    ...
]

3.
"shipping_state": [
    "get_wc_region",
    "address.country_code_iso_2",
    "address.region"
]

4.
"billing_state": [
    "get_wc_region",
    "billto.address.country_code_iso_2",
    "billto.address.region"
]

The first version is the easiest, it means mapping a single GoodID claim to a single WordPress (or any plugin) field.
With more mapping items, you can map a single GoodID claim to any number of WordPress fields, but a WordPress field must have only one mapping. If a GoodID claim is optional and not filled by the user, mappings which refer to it have no effect.

The second version maps the concatenation of any number of GoodID claims to a WordPress field. The claims that are filled by the user are separated by a space. If no claim is filled by the user, then the mapping has no effect.

The 3rd and 4th version describes a mapping between GoodID address data and WooCommerce state. The special syntax is needed because WooCommerce uses a special state code which we have to calculate from a country code and a region.

A default mapping is included in the plugin as default-mapping.json.

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

3.2.2

First Released

12 Dec, 2017

Total Downloads

373

Wordpress Version

4.0 or higher

Tested up to:

5.2.4

Require PHP Version:

5.6 or higher

Tags

Contributors

This plugin has been closed.

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.