Skip to content

Add additional checks for course enrollment limit reached #3086

@brianhogg

Description

@brianhogg

Is your feature request related to a problem? Please describe.
Currently, there is only a check if the course enrollment limit has been reached when showing the pricing table. If two people are on the course access plan checkout page already and there is only one spot left, they are both able to check out.

Describe the solution you'd like
Add an additional check on the checkout page and before processing payment (or completing a free plan order) to see if the course enrollment limit has been reached. Also check before redirecting to an off-site payment method (ie. paypal).

This is not 100% since we don't want to take payment (ie. PayPal) and then refund it, costing money in processing fees without permission from a site admin.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions