Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a3cea74a
Commit
a3cea74a
authored
May 22, 2015
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8162 from edx/refund-post-fix
Fixed call to refund creation endpoint
parents
b0b6967a
cc3bb305
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
lms/djangoapps/commerce/signals.py
+1
-2
No files found.
lms/djangoapps/commerce/signals.py
View file @
a3cea74a
...
...
@@ -82,8 +82,7 @@ def refund_seat(course_enrollment, request_user):
try
:
refund_ids
=
ecommerce_api_client
(
request_user
or
unenrolled_user
)
.
refunds
.
post
(
course_id
=
course_key_str
,
username
=
unenrolled_user
.
username
,
{
'course_id'
:
course_key_str
,
'username'
:
unenrolled_user
.
username
}
)
except
HttpClientError
,
exc
:
if
exc
.
response
.
status_code
==
403
and
request_user
!=
unenrolled_user
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment