ecommerce icon indicating copy to clipboard operation
ecommerce copied to clipboard

intercept enrollment code fulfillment and make it do enterprise coupo…

Open iloveagent57 opened this issue 4 years ago • 0 comments

…n stuff instead.

How to use:

  • Find a local enrollment code SKU in your ecommerce service (or create one if none exist).
  • Modify the hard-coded enterprise catalog UUIDs to match your local test data.
  • Go to http://localhost:18130/basket/add/?sku=YOUR-SKU
  • Fill out the form and submit.
  • A new Enterprise Customer is created (or existing one, based on the org name provided in the form) automagically.
  • A new enterprise coupon for the course and your enterprise will be created, payment/fulfillment should succeed.
  • Go visit the enterprise admin portal at http://localhost:1991 and go to the Code Management screen.
  • You should now be able to manage vouchers/codes for the coupon that was just created when you checked-out.

iloveagent57 avatar Nov 12 '20 17:11 iloveagent57