# Orders

## What is an Order in MasterStudy LMS?

In **MasterStudy LMS** an **order** refers to the transaction made by a user when they purchase access to a course. This order includes the details of the course bought, the payment processed through [integrated gateways](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/ecommerce/masterstudy-theme-manual-payment-methods), and the transaction status (completed or pending). Once an order is successfully placed, the user gains access to the course materials, and administrators can manage these orders through the special **Orders** tab in their dashboard.

{% hint style="success" %}
This guide will cover how users can make orders and how administrators can manage them within the MasterStudy LMS Plugin.
{% endhint %}

{% hint style="info" %}
This section covers the orders that have been made through [**payment methods**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/ecommerce/masterstudy-theme-manual-payment-methods) of **MasterStudy LMS**. [WooCommerce orders](https://docs.stylemixthemes.com/masterstudy-theme-documentation/woocommerce/woocommerce-lms-integration#purchase-process) should be managed by the **WooCommerce Orders tab**. Courses that have been purchased **by membership subscriptions** also should be managed by the [**Paid Memberships Pro Orders tab.**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/additional-features/masterstudy-theme-manual-membership-system)

***

However, the[ course purchase process](#how-to-make-an-order) and [order management](#how-to-check-orders) for students are **the same** for both MS LMS payment methods and WooCommerce.
{% endhint %}

## **Orders Management as a Student**

In **MasterStudy LMS,** instructors and admins can also purchase other instructors' courses.

### How to Make an Order?

**Making an order** is just a synonym of the **Purchasing Course(s).** So, if you decide to buy the course, click on the get now button and you will see the available methods to purchase the course:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2F62lt1E5UNQ4DIqcXdVsq%2Fimage.png?alt=media&#x26;token=23d3bf14-1fd0-452d-96e7-b487bd7192b3" alt=""><figcaption></figcaption></figure>

After that, the course will be added to **the cart.** You can go there by clicking **Go to Cart** button:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FBkwfXHuHhI9jdeV196Mx%2Fimage.png?alt=media&#x26;token=c8e74f9f-34b5-434a-84e4-91d5057c8ab0" alt=""><figcaption></figcaption></figure>

There is an availability to add several courses to the cart:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FLCChTKJkr0epVj1PQhRh%2Fimage.png?alt=media&#x26;token=d98567b6-4cf3-471d-ba7b-38dce9ddd154" alt=""><figcaption></figcaption></figure>

Review your order and choose the preferable [**payment method**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/ecommerce/masterstudy-theme-manual-payment-methods) then proceed with the payment:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FmMTLieCp658MBebyY0Ir%2Fimage.png?alt=media&#x26;token=28aae673-ee70-49a6-8dbd-f82ca60216ee" alt=""><figcaption></figcaption></figure>

After the successful payment, you will get the confirmation page with the order status:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2Fw0gy08ZIwbfrIZhtqIGB%2Fimage.png?alt=media&#x26;token=f16612ef-ce3a-43e3-88bc-8aba0f6ca115" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The user is automatically enrolled in the purchased course and can access the course materials through their dashboard.
{% endhint %}

If you configured the **SMTP** settings accordingly, the user and admin receive an order confirmation [**via email.**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/masterstudy-lms-pro-addons/masterstudy-theme-manual-email-manager)

{% embed url="<https://docs.stylemixthemes.com/f-a-q/smtp-settings>" %}

### How to Check Orders?

Users can review their made orders on the Orders tab in their dashboard:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FpSYX1YTtfacY9RSn4Uu5%2Fimage.png?alt=media&#x26;token=9b3f0daa-6f8f-4106-9cb9-9265d4dff745" alt=""><figcaption></figcaption></figure>

On this page, users can see the full list of their orders and detailed order info (ID, issue date, status, etc):

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FDWe8pIgcXHibnF0naz17%2Fimage.png?alt=media&#x26;token=b6e3be22-ba27-43a1-b4bb-b5a101d6cb4c" alt=""><figcaption></figcaption></figure>

* **Order ID** - a unique code that represents your order. Students can use this code to refer to their order with the admin.&#x20;
* **Date** - issue date of the order.
* **Payment method** - the way the student made the purchase.
* **Order Status** - the status of the order which indicates the course's accessibility to the student. There are 3 statuses:
  * **Completed** - the order has been confirmed successfully by the system or admin. T**he student has full access to the course.**
  * **Pending** - the order is awaiting moderation. Admin should check the payment and other details, then manually change the status to **Completed**. Cash (offline) payment methods and wire transfer orders will have pending status and online payment methods can have pending for some time. **The student doesn't have access to the course.**
  * **Cancelled** - the order has been canceled by the system or admin. **The student doesn't have access to the course.**

{% hint style="info" %}
**WooCommerce** orders are also displayed here for students.
{% endhint %}

***

## Orders Management as Admin

Administrators have complete control over order management, including checking the details of every order and managing transactions.

{% hint style="info" %}
This section covers the orders that have been made through [**payment methods**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/ecommerce/masterstudy-theme-manual-payment-methods) of **MasterStudy LMS**. [WooCommerce orders](https://docs.stylemixthemes.com/masterstudy-theme-documentation/woocommerce) should be managed by the [**WooCommerce Orders tab**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/woocommerce/woocommerce-lms-integration#purchase-process). Courses that have been purchased **by membership subscriptions** also should be managed by the [**Paid Memberships Pro Orders tab.**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/additional-features/masterstudy-theme-manual-membership-system)
{% endhint %}

### How to Check Orders?

Follow **WP Dashboard > MS LMS > Orders** to get the full list of orders on your platform:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FkA1QWD7loTHgJ3QgVs4O%2Fimage.png?alt=media&#x26;token=e281b4bc-5e77-440a-9747-44f1df971c8c" alt=""><figcaption></figcaption></figure>

### How to Update Order Status?

On the [**Orders tab**](#how-to-check-orders-1), **edit** the order that you want to modify:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FB3dpyAQj6tzMXHejpgt1%2Fimage.png?alt=media&#x26;token=558f8f69-4878-4e3a-a68c-0a9cb40a82f5" alt=""><figcaption></figcaption></figure>

On this page, you can also find the detailed order info. Change **order status** then click on the update button:

<figure><img src="https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDO9V_qgvV5cQdw04iz%2Fuploads%2FSaaAhvVNxW6zhv7CEa4A%2Fimage.png?alt=media&#x26;token=b242390a-b292-4008-bd02-15725c0d325c" alt=""><figcaption></figcaption></figure>

There are three types of order statuses:

* **Completed** - the order has been confirmed successfully by the system or admin. T**he student has full access to the course.**
* **Pending** - the order is awaiting moderation. Admin should check the payment and other details, then manually change the status to **Completed**. Cash (offline) payment methods and wire transfer orders will have pending status and online payment methods can have pending for some time. **The student doesn't have access to the course.**
* **Cancelled** - the order has been canceled by the system or admin. **The student doesn't have access to the course.**

{% hint style="warning" %}
If [**email settings**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/masterstudy-lms-pro-addons/masterstudy-theme-manual-email-manager) have been set accordingly, the admin will receive each time **a new order is placed.**

For payment methods[ **Cash (offline payment)**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/ecommerce/masterstudy-theme-manual-payment-methods#offline-payment) and [**Wire Transfer**](https://docs.stylemixthemes.com/masterstudy-theme-documentation/lms-settings/ecommerce/masterstudy-theme-manual-payment-methods#wire-transfer), the admin **should always manually change** the order status to **Completed** or **Cancelled** from **Pending** according to the payment status.

As for PayPal and Stripe, it is also recommended to check the received funds regularly and review the order statuses.
{% endhint %}
