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
d8a693fb
Commit
d8a693fb
authored
Aug 26, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to make the submission from verified to payment go through again.
parent
0387d766
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
lms/templates/verify_student/photo_verification.html
+15
-7
No files found.
lms/templates/verify_student/photo_verification.html
View file @
d8a693fb
...
...
@@ -147,11 +147,11 @@
$
(
"#pay_button"
).
click
(
submitToPaymentProcessing
);
$
(
"#confirm_pics_good"
).
click
(
function
()
{
if
(
this
.
checked
)
{
$
(
"#pay_button"
).
removeClass
(
'disabled'
);
$
(
"#pay_button
_frame
"
).
removeClass
(
'disabled'
);
}
});
$
(
"#pay_button"
).
addClass
(
'disabled'
);
$
(
"#pay_button
_frame
"
).
addClass
(
'disabled'
);
initPhotoBlocks
();
initVideoCapture
();
...
...
@@ -384,11 +384,19 @@
<div
class=
"next-step"
>
<p>
Photos don't meet the requirements?
<a
href=
""
>
Retake the photos
</a>
.
</p>
<input
type=
"checkbox"
name=
"match"
id=
"confirm_pics_good"
/>
<label
for=
"match"
>
Yes! My details all match.
</label>
<p
class=
"m-btn-primary"
id=
"pay_button"
><a
href=
"#"
>
Go to Step 4: Secure Payment
</a></p>
<p
class=
"tip"
>
Once you verify your details match the requirements, you can move on to step 4, payment on our secure server.
</p>
<form
id=
"pay_form"
method=
"post"
action=
"${purchase_endpoint}"
>
<!-- <a href="#">Go to Step 4: Secure Payment</a> -->
<!-- <input type="hidden" name="csrfmiddlewaretoken" value="${ csrf_token }"> -->
<input
type=
"checkbox"
name=
"match"
id=
"confirm_pics_good"
/>
<label
for=
"match"
>
Yes! My details all match.
</label>
<input
type=
"hidden"
name=
"course_id"
value=
"${course_id | h}"
/>
<p
class=
"m-btn-primary"
id=
"pay_button_frame"
>
<input
type=
"button"
id=
"pay_button"
value=
"Go to Step 4: Secure Payment"
name=
"payment"
>
</p>
</form>
<p
class=
"tip"
>
Once you verify your details match the requirements, you can move on to step 4, payment on our secure server.
</p>
</div>
</div>
</section>
...
...
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