The SMS Alert WordPress plugin connects with LearnPress to send SMS to students and admins. Messages can go out on course enrollment, course completion, order status changes and new instructors. It can also verify a student’s mobile number by OTP at registration.

New to the plugin? Start with the WordPress SMS plugin setup guide.

What can you do with LearnPress and SMS Alert?

I want to…

Section

Tell students about enrollment, completion or order status

Student notifications

Alert my team about the same events

Admin notifications

Collect a mobile number for order updates

Mobile number at checkout

Verify the number when a student registers

Signup OTP

Before you start

  • Install and activate LearnPress and SMS Alert, then connect your SMS Alert account.
  • Keep SMS credits in your account. Every SMS uses credits.
  • On India routes, message text must match an approved DLT template.

Which LearnPress events send SMS?

Event

Student

Admin

Order status: pending, processing, completed, cancelled, failed

Yes

Yes

Student enrolls in a course

Yes

Yes

Student finishes a course

Yes

Yes

Student notifications

  1. In the WordPress dashboard, open SMS Alert and select the LearnPress tab.
  2. Open Customer Notifications.
  3. Enable each event you want to send.
  4. Edit the message text and click a variable to insert it.
  5. Click Save Changes.

Order status SMS go to the billing phone saved on the order. Enrollment, completion and instructor SMS go to the billing phone saved on the user’s profile.

Admin notifications

  1. In SMS Alert General Settings, enter the number in Send Admin SMS To. You can add multiple numbers.
  2. Open the LearnPress tab, then Admin Notifications.
  3. Enable the events and edit each message.
  4. Click Save Changes.

Message variables

Message type

Variables

Order status

[username], [order_id], [order_status], [order_total], [order_currency], [payment_method_title], [checkout_email]

Enrollment and completion

[username], [course_name]

New instructor

[username]

The default templates also use [store_name]. [username] is the student’s login name.

Example enrollment message:

Congratulations [username], you have enrolled in [course_name] with [store_name].

Mobile number at checkout

SMS Alert adds a Billing Phone field to the LearnPress payment form. The number is saved with the order and used for order status SMS.

Signup OTP for LearnPress registration

  1. In SMS Alert, enable OTP verification on signup.
  2. The LearnPress registration form now shows a required Phone field.
  3. The student enters the number and requests the OTP.
  4. Registration continues after the OTP is verified.

Related: OTP verification on signup · Signup With Mobile · SMS Alert shortcodes

Troubleshooting

Problem

What to check

LearnPress tab is missing

LearnPress and SMS Alert are both active.

Student gets no order SMS

The status is enabled and the order has a billing phone.

No enrollment or completion SMS

The event is enabled and the user’s profile has a billing phone.

No admin SMS

Send Admin SMS To is filled and the admin event is enabled.

Phone field or OTP missing at signup

Signup OTP is enabled and your account is connected.

SMS rejected on India routes

Text differs from the approved template. See Template Mismatch Error.

Frequently asked questions

Can LearnPress send SMS notifications?

Yes, with the SMS Alert plugin. It sends SMS to students and admins for enrollment, course completion, order status and instructor events.

Yes. Enable the enrollment event under Customer Notifications and use [username] and [course_name] in the message.

Pending, processing, completed, cancelled and failed.

Yes. With signup OTP enabled, the LearnPress registration form asks for a phone number and verifies it.

Order SMS use the order’s billing phone. Enrollment SMS use the billing phone on the user profile.

Yes. Add multiple numbers in Send Admin SMS To.

On India routes, yes. The message must match an approved template.

Still can't find the solution for your Query?

Contact Support