<commit_before># GoToWebinar Integration for CiviCRM Events #

### Overview ###

CiviCRM Events can be integrated with GoToWebinar

### Installation ###

* Install the extension in CiviCRM. More details [here](https://docs.civicrm.org/sysadmin/en/latest/customize/extensions/#installing-a-new-extension) about installing extensions in CiviCRM.
* Configure GoToWebinar details in **Events >> GoToWebinar Settings** (civicrm/gotowebinar/settings?reset=1)
![Screenshot of integration options](images/webinar-setting-page.jpg)

* After a successful authentication, a list of upcoming webinars will be fetched and displayed on the screen. (Note: First name, last name & email are the only fields that get pushed to the webinar for now. Webinars with additional mandatory fields will not get participants added from CiviCRM)

![Screenshot of integration options](images/setting-page-after-auth.jpg)

### Usage ###

* Setup CiviCRM Event with a Webinar Key
![Screenshot of integration options](images/manage-event.jpg)

* When participants register for that civiCRM Event, those participants are automatically created for GoToWebinar Event

### Changelog ###

#### Ver 3.0.0 ####
* Migrated to a new Webinar API which uses OAuthv2 standard
* Auto refresh to obtain new access token and refresh token

#### Ver 2.0.0 ####
* Migrated to new Webinar API.
* Re-Autheticate when the accesstoken become invalid/expired
* Display warning, if a webinar has additonal mandatory fields
* Display failure messages on thank you page, if push pariticipant to Webinar failed

### Support ###

<EMAIL>

<commit_msg>Updated READ.ME<commit_after># GoToWebinar Integration for CiviCRM Events #

### Overview ###

CiviCRM Events can be integrated with GoToWebinar

### Installation ###

* Install the extension in CiviCRM. More details [here](https://docs.civicrm.org/sysadmin/en/latest/customize/extensions/#installing-a-new-extension) about installing extensions in CiviCRM.
* Configure GoToWebinar details in **Events >> GoToWebinar Settings** (civicrm/gotowebinar/settings?reset=1)
![Screenshot of integration options](images/webinar-setting-page.jpg)

* Create an "app" on the GoToWebinar apps page. Copy the Consumer Key and Consumer Secret into the settings page in CiviCRM. You will also need to use the username and password that you use to log into the GoToWebinar website. The username and password will not be saved in CiviCRM.

* The authentication will get refreshed occassionally. It will attempt to reauthenticate when trying to fetch webinar information on event pages and on the settings page. If you see a notice that GoToWebinar is disconnected, first try to refresh the settings page. If that doesn't work you may need to provide your username and password again. That should be rare.

* After the successful authentication, list of upcoming webinars will be fetched and displayed on the screen. (Note : Firstname, lastname & email are the only fields that get pushed to webinar for now. Any webinars with additional mandatory fields will not be getting the participants added from CiviCRM).

* After a successful authentication, a list of upcoming webinars will be fetched and displayed on the screen. (Note: First name, last name & email are the only fields that get pushed to the webinar for now. Webinars with additional mandatory fields will not get participants added from CiviCRM)

![Screenshot of integration options](images/setting-page-after-auth.jpg)

### Usage ###

* Setup CiviCRM Event with a Webinar Key
![Screenshot of integration options](images/manage-event.jpg)

* When participants register for that civiCRM Event, those participants are automatically created for GoToWebinar Event

### Changelog ###

#### Ver 3.0.1 ####
* Updated Installations instructions from FreeForms fork 
* Changed labels on settings screen to mirror GoToWebinar as per FreeForms fork

#### Ver 3.0.0 ####
* Migrated to a new Webinar API which uses OAuthv2 standard
* Auto refresh to obtain new access token and refresh token

#### Ver 2.0.0 ####
* Migrated to new Webinar API.
* Re-Autheticate when the accesstoken become invalid/expired
* Display warning, if a webinar has additonal mandatory fields
* Display failure messages on thank you page, if push pariticipant to Webinar failed

### Support ###

<EMAIL>
{'fraction_non_alphanumeric': 0.07484890748489074, 'fraction_numerical': 0.004416550441655044, 'mean_word_length': 4.95983379501385, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2416189', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1184, 'n_words': 532}