# Edwiser Bridge General Settings

### **Set Up Edwiser Bridge:** **Configure The General Settings**

1. Now that we have installed Edwiser Bridge and configured the Moodle™ website go to Edwiser Bridge –> Settings –> General tab in the WordPress website back end.
2. Once here carry make the following three settings based on your requirement.\
   – Check the ‘Enable Registration’ field if you want the students to be able to register for the courses from the front end.\
   – Select the page you want to display as ‘User Account Page’ when a registered user signs-in to the WordPress website.
3. Enter the language code in ‘*Moodle Language Code*‘ and **make sure that the language code in your Moodle and WordPress site is the same**.

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/06/Edwiser-Settings.png" alt="Edwiser Settings"><figcaption></figcaption></figure>

### **Add the Moodle Access Token**

* The next step would be to add the ‘*Moodle Access Token*‘ to the settings field provided by Edwiser Bridge. Essentially, it is this token that connects the two systems together.
* To add the ‘Moodle Access Token’ go to Edwiser Bridge –>  Settings –> Configurations. Now enter the Moodle website URL  to the ‘*Moodle URL*‘ field and token to the ‘*Moodle Access Token*‘ field and save the changes made.
* The format in which the Moodle site URL has to be added in the custom box is as follows <https://yourURL.com> or <https://yourURL.com/moodle> or <https://www.yourURL.com> or <https://www.yourURL.com/moodle> etc. **Note: Make sure that the Moodle site URL is as mentioned above in order to avoid cURL error. Best practice to add Moodle URL is copying the URL directly from the address bar and pasting it here.**
* You can also test the connection before saving the changes right in the settings option. On testing the connection, an appropriate message will be displayed to the user based on the connection status.

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/06/edwiser-configuration-connection.png" alt="edwiser configuration connection"><figcaption></figcaption></figure>

#### **Configure PayPal Settings**

To start selling the courses from WordPress, you will also have to configure a Payment Gateway. In this case, it is PayPal. Let’s go through the process of setting up PayPal on your WordPress website.

* Enter the email id which will be used to accept payments in the ‘*PayPal Email*‘ field.
* Next, choose your chosen currency of transaction from the ‘*PayPal Currency*‘ drop down box.
* Enter the country from which you will be operating the transaction in the ‘*PayPal Country*‘ field.
* In the ‘*PayPal Cancel URL*‘ field, you will enter the link of the page to which the buyer should be redirected should payment not go through.
* In the ‘*PayPal Return URL*‘ field, you will enter the link of the page to which the buyer should be redirected after the payment of a purchase has been completed.
* The ‘*Use PayPal Sandbox*‘ field should only be checked at the time of making test transactions. Uncheck the field once the website is made live.

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/06/edwiser-configuration-paypal.png" alt="edwiser configuration paypal"><figcaption></figcaption></figure>

* To give refunds to your students you have to add these details in Edwiser Bridge settings,

<figure><img src="https://cdn-lekef.nitrocdn.com/dEBhheJeLllzRDxwkgqiDjWYUMSokuqD/assets/images/optimized/rev-af1a6d6/edwiser.org/wp-content/uploads/2015/06/edwiser-bridge-refund.png" alt="edwiser bridge refund"><figcaption></figcaption></figure>

These settings are optional in nature, but if you are planning to set them up, then please refer to the following article:

* [How to get PayPal API Credits](https://edwiser.helpscoutdocs.com/article/561-how-to-get-paypal-api-credits)

#### Doc navigation

[< Two-Way Synchronization](broken://pages/uNX2iRpwtuD0ABJb96hH) [User Profile Page >](broken://pages/NMOfVnLAJLY7sKRwqGAA)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://remui-docs.edwiser.org/edwiser-bridge/edwiser-bridge-general-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
