Bill DeRusha
1f77810fad
Add configurable refund window
...
Add configuration model for enrollment refunds.
Use order info from otto in refund window calculation
Delete dupe tests. Extend tests to include window tests
Move ecom client from lib to djangoapps in openedx
2015-10-30 09:01:53 -04:00
Clinton Blackburn
9bb3f703d7
Updated receipt page to use order endpoint
...
The receipt page now retrieves data for orders instead of baskets. Going forward baskets will be deleted after an order has been placed, so there should be no permanent references to baskets. Orders will continue to be persisted permanently.
ECOM-2653
2015-10-28 12:12:57 -04:00
Renzo Lucioni
fda61b52aa
Reserve ecommerce worker username
...
Django's user model allows email addresses to be blank. However, edx-platform includes a migration requiring that email addresses be unique. Someone in our production environment already had a blank email address, so this migration was failing earlier.
2015-10-21 15:27:50 -04:00
Jim Abramson
88bfeafe4c
Merge pull request #10274 from edx/jsa/update-erac
...
Update from ecommerce-api-client 1.1 to edx-rest-api-client 1.2
2015-10-21 14:20:53 -04:00
AlasdairSwan
c622f03a6a
Merge pull request #10288 from edx/release
...
Release 2015-10-21
2015-10-21 13:16:35 -04:00
Ned Batchelder
322ca34b20
Remove pylint pragmas from "class Meta"
...
Also remove useless docstrings where they were added to keep pylint
quiet.
2015-10-21 07:37:00 -04:00
jsa
56b7b7007e
Update from ecommerce-api-client 1.1 to edx-rest-api-client 1.2
2015-10-20 17:44:19 -04:00
AlasdairSwan
bb5b1000e1
Revert "Reserve ecommerce service username on edx-platform."
...
Bad data migration: assumes the email address being used is unique
This reverts commit 448f4d51e6 .
2015-10-19 15:19:09 -04:00
Bill DeRusha
fe23052511
Merge pull request #9979 from edx/bderusha/boardman-traffic
...
Add IP to all python Segment tracking calls
2015-10-05 14:55:55 -04:00
Bill DeRusha
ca6633bd98
Add IP to all python Segment tracking calls
2015-10-01 21:21:16 -04:00
Ben Patterson
82b199b64f
Merge pull request #9908 from edx/benp/flaky-pythontest-sep2015
...
Flag test as flaky.
2015-10-01 11:23:16 -04:00
Peter Fogg
448f4d51e6
Reserve ecommerce service username on edx-platform.
2015-09-29 17:29:55 -04:00
Ned Batchelder
8ec2de9359
DRF 3.1 now uses request.data instead of request.DATA
2015-09-29 15:25:55 -04:00
Will Daly
8555630df7
Upgrade djangorestframework to v3.1
...
* Upgrade edx-submissions
* Upgrade edx-ora2
* Upgrade edx-val
* Upgrade edx-proctoring
* Update all edx-platform code that depends on DRF, including:
- auth_exchange
- cors_csrf
- embargo
- enrollment
- util
- commerce
- course_structure
- discussion_api
- mobile_api
- notifier_api
- teams
- credit
- profile_images
- user_api
- lib/api (OAuth2 and pagination)
2015-09-25 12:40:57 -04:00
Ben Patterson
a57802ebc7
Flag test as flaky.
2015-09-24 11:36:41 -04:00
Awais
cdfc9da4d9
adding validator to make sure course exists in db before creating in otto.
2015-08-26 20:50:18 +05:00
Renzo Lucioni
3a735591d1
Emit INFO-level messages when a mode does not have a SKU
2015-08-07 14:11:42 -04:00
Clinton Blackburn
b2b40e2770
Exposing course verification deadline via Commerce API
...
The course now supports reading and writing the verification deadline attribute.
XCOM-536
2015-08-04 14:04:04 -04:00
Clinton Blackburn
880da5a09d
Exposing course name via Commerce API
...
The course now includes a read-only name attribute.
XCOM-536
2015-08-03 15:16:45 -04:00
Jim Abramson
3a1f9bd816
Merge pull request #9084 from edx/jsa/xcom-497
...
commerce/api: Don’t allow setting expiration of prof modes.
2015-07-27 17:13:03 -04:00
jsa
03717f3940
commerce/api: Don’t allow setting expiration of prof modes.
...
XCOM-497
2015-07-27 15:56:53 -04:00
jsa
6c83bff5be
commerce/api: pass expiration_datetime when updating modes
2015-07-27 15:56:27 -04:00
Clinton Blackburn
56e9625a8f
Corrected CourseMode Display Name
...
The Commerce API now sets the correct display name for known course modes, but continues to default to the mode slug for unknown course modes.
2015-07-27 11:26:08 -04:00
Max Rothman
babf2420b3
Fix test failure due to missing settings import
2015-07-20 09:54:00 -04:00
Max Rothman
c97314413b
Merge branch 'release' into release-merge-test
...
Conflicts:
lms/djangoapps/commerce/urls.py
lms/djangoapps/commerce/views.py
2015-07-17 17:42:03 -04:00
aamir-khan
d5dda6470e
ECOM-1816: added the provider detail on the receipt page.
2015-07-16 18:25:03 +05:00
Renzo Lucioni
60c818f030
Import missing settings module in tests of commerce views
2015-07-15 19:03:26 -04:00
jsa
7449f68522
Support setting email opt-in in calls to the Otto shim
...
XCOM-499
2015-07-15 16:22:36 -04:00
Renzo Lucioni
d4a5ad4818
Mark basket creation and order retrieval endpoints as v0
...
These endpoints are currently for internal use only, but should be versioned nonetheless; Drupal will begin using the basket creation endpoint soon. No functionality has been changed. XCOM-494.
2015-07-15 16:22:29 -04:00
jsa
afa77f86bf
Support setting email opt-in in calls to the Otto shim
...
XCOM-499
2015-07-14 11:28:59 -04:00
Sarina Canelake
ba8fd1c21d
Eliminate instances of unused-import Pylint violation
2015-07-13 17:33:25 -04:00
Renzo Lucioni
609e6ca277
Mark basket creation and order retrieval endpoints as v0
...
These endpoints are currently for internal use only, but should be versioned nonetheless; Drupal will begin using the basket creation endpoint soon. No functionality has been changed. XCOM-494.
2015-07-13 16:27:58 -04:00
AlasdairSwan
51deec380e
ECOM-1661 removed nav links for logged out states
...
Add context for navigation states
added find course to dashboard sidebar and included check for context that Will adds in PR
removed nav_course_search context due to design change so replaced with nav_hidden
Removed rwd_header.js and all references as no longer being used.
Wrapped Find Courses in dashboard sidebar in if statement
2015-07-13 15:33:00 -04:00
Renzo Lucioni
3db2b5ff88
Commerce baskets API supports cross-domain session and OAuth2 authentication
...
Required in order to support requests from Drupal and mobile clients. XCOM-493.
2015-07-10 15:42:49 -04:00
Clinton Blackburn
b87c525109
Merge pull request #8866 from edx/clintonb/commerce-api-expiration-date
...
Updated Commerce API to return CourseMode expiration date
2015-07-09 17:00:03 -04:00
Clinton Blackburn
7d91361f32
Updated Commerce API to return CourseMode expiration date
...
XCOM-477
2015-07-09 15:30:48 -04:00
Nickersoft
2d13e9e886
LMS now passes JWT issuer and expiration date to ecommerce API client
2015-07-09 15:06:54 -04:00
Clinton Blackburn
cd60dd5606
Merge pull request #8771 from edx/clintonb/currency-comparison-fix
...
Comparing currencies with same case
2015-07-09 01:45:39 -04:00
Clinton Blackburn
b3437b7278
Corrected path to Commerce API
...
XCOM-312
2015-07-08 16:55:38 -04:00
Clinton Blackburn
301a874c5c
Enforcing lowercase currency for CourseMode
...
- CourseMode.save() always lowercases the currency value
- CourseMode currency comparisons have been updated to be case-insensitive
2015-07-06 23:38:25 -04:00
Clinton Blackburn
40282316d0
Creating Zendesk refund notifications via API
...
Refund notifications are now created using the Zendesk API. This ensures the correct requester information is set for the ticket, and allows for tagging of tickets.
XCOM-451
2015-07-06 17:36:14 -04:00
Clinton Blackburn
1ee3094dd3
Merge pull request #8670 from edx/clintonb/course-mode-api
...
Added Courses endpoint for Commerce API
2015-06-30 23:29:55 -04:00
Clinton Blackburn
45de93a250
Added course endpoints for Commerce API
...
XCOM-314
2015-06-30 22:36:47 -04:00
Renzo Lucioni
d330831871
Improve logging of ecommerce interactions
...
Adds standardized audit logging for checkout and enrollment change requests. XCOM-427.
2015-06-30 17:34:16 -04:00
Nickersoft
e184c78c0a
XCOM-416: Embargo restrictions are now enforced during logistration
2015-06-23 14:17:43 -04:00
Renzo Lucioni
d61cee95a8
Merge pull request #8500 from edx/renzo/commerce-cleanup
...
Avoid POSTing unnecessary payment processor parameter
2015-06-12 11:09:59 -04:00
Renzo Lucioni
2db79556bd
Avoid POSTing unnecessary payment processor parameter
2015-06-11 18:24:25 -04:00
jsa
e1dfdc0811
Receipt page now also handles Cybersource payment failures.
...
XCOM-398
2015-06-11 13:42:58 -04:00
jsa
f4b2c197db
don’t trigger a refund request in otto, if otto requested unenrollment.
...
XCOM-396
2015-06-08 11:07:16 -04:00
Clinton Blackburn
dbfd77e661
Disabled CSRF Validation for checkout cancel page
...
CyberSource will POST to this view if the user cancels payment. CSRF validation cannot be enabled when this happens.
ECOM-1689
2015-06-03 17:14:21 -04:00