Ecommerce Workflows

E-Commerce Service Request Sequence for a Free Product:

oscar_free_sequence.jpg

  1. User creates an order via the commerce endpoint in the LMS

  2. The commerce endpoint checks embargo rules

  3. The commerce endpoint creates a new order by calling the E-Commerce order endpoint

  4. The E-Commerce service’s fulfillment API will call to the LMS’s enrollment API

  5. Finally the E-Commerce order endpoint returns to the LMS commerce endpoint

  6. The LMS commerce endpoint returns to the user.


E-Commerce Service Request Sequence for a Paid Product:

oscar_paid_sequence_pay.jpg

  1. User requests a paid product via the LMS commerce endpoint

  2. Check embargo rules on the LMS

  3. Create a new order via the E-Commerce service’s order endpoint

  4. Order endpoint gets payment processor attributes, sets the order to ‘being processed’

  5. Order with payment processor attributes is returned to the LMS commerce endpoint

  6. Order returned to user, directed to payment processor (CyberSource)

oscar_paid_sequence_fulfill.jpg

  1. CyberSource indicates an order has been paid to the E-Commerce order endpoint

  2. E-Commerce order endpoint uses fulfillment API to call the LMS enrollment API

  3. Order is ‘Completed’ once fulfillment is complete.

  4. User is redirected to receipt page for paid and fulfilled order.