Skip to content
  • There are no suggestions because the search field is empty.

eCommerce in CourseMill

Set up a payment vendor, course prices, and discount codes so students can purchase courses and curriculums.

If you are offering courses or curriculums for purchase, you need to set up an eCommerce interface and provide a connection to a third-party vendor for processing of payment information. Perform the following tasks in this order:

  1. Set up the vendor interface.
  2. Establish prices for each billable course or curriculum.
  3. Establish applicable discount codes.

Set up the vendor interface

eCommerce in CourseMill is designed to work with these payment vendors:

  • PayPal
  • PayTrace

The CourseMill application is then managed by the following properties.

Manage properties

  • CollectSecurityCode – Specifies whether the system requires the credit card's security code. Values: Yes or No.
  • Currency – Type of currency. Select 1 of 17 types in the drop-down box: $ - US Dollar; € - Euros; £ - Pounds Sterling; $ - Canadian Dollars; ¥ - Yen; ¥ - Chinese Yuan; $ - Australian Dollars; $ - New Zealand Dollar*; CHF - Swiss Franc*; $ - Hong Kong Dollar*; $ - Singapore Dollar*; kr - Swedish Krona*; kr - Danish Krone*; zl - Polish Zloty*; kr - Norwegian Krone*; Ft - Hungarian Forint*; K¢ - Czech Koruna*. An asterisk (*) means PayPal only.
  • TransactionGracePeriod – Specify the number of days. Values: number of days.
  • ShoppingCartDebugEnv – Specifies whether the transactions to the shopping cart provider go to the live eCommerce site or to the site's testing environment. Values: Yes or No.
  • ShoppingCartType – Specifies whether an eCommerce shopping cart is being used with the site. Values: P = PayPal, T = PayTrace, N = none.
  • PayPalBusinessEmail – Specifies the merchant business email address that is associated with receiving payments if using PayPal.
  • PayTracePassword and PayTraceUser – Specify the values needed with PayTrace to adequately get compensated when using their service.

Note: To show the proper eCommerce fields on applicable interface screens, CourseMill requires that the ShoppingCartType value be enabled and one of the vendor's information be completed. If these are not specified, the fields do not display.

Assign a price to a course or curriculum

Prices per course or curriculum are entered within the Course Detail or Curriculum Detail tab. This price is used in the shopping cart process when the student registers for the course or curriculum.

Note: If the price is left blank, the course does not display in the catalog. Only prices of 0 or greater than 0 are displayed.

What students see

Courses are listed on the Course Catalog screen for selection. Once selected, they are added to a shopping cart. The shopping cart can be accessed from the Shopping Cart button. If the student has a discount code that is not linked to a sub-org, it can be applied there.

Credit card information may be entered into the pop-up window. This information is passed to the vendor. If the credit card information is incorrect, a failed error message is returned to CourseMill and CourseMill displays the error returned by the eCommerce gateway. If a successful status is returned from the gateway, CourseMill registers the student in the course.

Note: Credit card data is NOT retained within CourseMill.

Discount codes

The system provides for the creation of discount codes, allowing you to provide discounts on courseware or allow a free course for specific users. CourseMill can create discount codes by organization. The discount is either a fixed dollar amount or a percentage. Each code must be unique within the organization and is assigned by sub-org so the amount can be deducted during the shopping cart registration process. For step-by-step instructions, see Managing discount codes.

Assign discount values

On the Add Discount dialog, select Amount or Percentage when creating the Discount Code, and then enter the amount.

Assign discount codes to sub-orgs

Discount codes can also be assigned at the sub-org level for one or more values in each level. With this feature, when users opt to key in the discount code when purchasing the course, if they are in that particular sub-org, the discount is applied in the shopping cart. If they are not in that sub-org, the discount is not available to them, and they get an error message.

Related articles