Docs For The Zapier Integration Testing Team

The following is a guide on how to test OnlineCourseHost.com integration with Zapier. 

We are going to show in this guide how to test all our Zapier Triggers and Actions using test accounts and a test credit card.

The Test Accounts That You Will Need

To test the integration you are going to need two accounts on the OnlineCourseHost.com platform:

- an admin account integration-testing@zapier.com, simulating the admin user that is setting up the Zapier integration in our platform, which is usually a course creator selling online courses using our platform

- a student account  zapier-tests-student@onlinecoursehost.com, used to simulate a student purchasing a course from a course creator using a test transaction (with a test credit card, not real money)

Note: the student account zapier-tests-student@onlinecoursehost.com  is the only account guaranteed to allow you to use a test credit card (not real money). If you create other accounts on the website, they will not accept test cards.

We provided the passwords to those two accounts when the integration was submitted for review.

Contact us at helpdesk@onlinecoursehost.com in case you no longer have the credentials for those accounts. 

You can request access to our company Slack, and ask any questions you have to the development team.

You can sign in with the above test accounts here in your test subdomain, which you are going to be using to test our Zapier integration: https://zapier-tests.onlinecoursehost.com/courses

To quickly do the tests, we recommend signing into one browser as an admin and using another browser as a student.

For example, you can use Chrome for the admin user and Firefox for the student user. This will speed up your tests and prevent having to constantly log in and log out.

Zapier Authentication

First, sign in with your admin account integration-testing@zapier.com and grab your Zapier authentication integration token.

Read here for how to grab your token and authenticate with Zapier: Where to find your integration token.

New Email Lead Trigger

This trigger is fired when a user or prospect subscribes to your newsletter, using any of the lead generation newsletter forms on your course website.

Steps To Test ( here is a video )
  1. Set up a simple Zap between OnlineCourseHost.com and Google sheet with the New Email Lead trigger
  2. Log in to the test website  https://zapier-tests.onlinecoursehost.com/courses using zapier-tests-student@onlinecoursehost.com, simulating a student
  3. Click on Newsletter from the top menu.
  4. Enter an email address and subscribe.
  5. Upon subscription, the trigger will be fired and you should see a new entry on your Google Sheets.

New Student Account Trigger

This trigger is fired when a user creates a new account on your course website.

Steps To Test ( here is a video )
  1. Set up a simple Zap between OnlineCourseHost.com and Google sheet with the New Student Account trigger
  2. Log out of your course website
  3. Click on Login and then click on sign up  on your test website  https://zapier-tests.onlinecoursehost.com/courses
  4. Enter the details to create a student account on your test website; alternatively, you can sign up with a Google account. You can use any Gmail or other free email that you have, but this needs to be a complete
  5. If you want to reuse an email that you already used in a previous test, you can sign in as an admin to your test website and go to Admin => Settings => Manage Students and delete an already existing student account
  6. Once the account is created on your test website, you should see a new entry on your Google Sheet

Course Enrollment Trigger

This trigger occurs whenever a student gets enrolled in a course. For example, this trigger is going to be called whenever the user purchases your course using Stripe or Paypal.

Steps To Test (here is a video)
  1. Set up a simple Zap between OnlineCourseHost.com and Google sheet with the Course Enrollment trigger
  2. Log into your course website with the zapier-tests-student@onlinecoursehost.com student account we provided to you.
  3. It's important that you use this exact account because this account is configured to support test transactions
  4. Click on the course landing page, and purchase it: https://zapier-tests.onlinecoursehost.com/courses/zapier-test-course, this will simulate a course purchase and enrollment
  5. To purchase the course, enter the following test credit card: 
  • any email
  • 4242 4242 4242 4242 alternating 4 and 2 digits until the box is filled in
  • any date in the future
  • any CVC 3-digit number 
  • Any country
  • Click pay
  1. You will be redirected to the course page, and the purchase will be completed.
  2. If you need to redo this test, you will have to log in to your course platform with your admin login detail provided to you and remove the course from the student. (see screenshot below)
  3. To remove a course from a student: Admin >> Manage Student >> Click the student >> Delete course
  4. After removing the course from the student, you will be able to repurchase the course again with the same student, after refreshing. This will allow you to test the trigger multiple times if needed.

Enroll Student Action

The Enroll Student Action allows you to enroll a student automatically from a third-party platform into your OnlineCourseHost.com platform.

Steps To Test (here is a video)
  1. Set up a simple Zap between Gmail and OnlineCourseHost.com.
  2. The idea is to kick in the Enroll Student Action when a new email is received in a mailbox with the subject "Create an account"
  3. In response to this email, an account should be created on OnlineCourseHost.com, and the student with that new account will be automatically enrolled and granted access to one of the courses
  4. The email address of the received email should be picked by the Enroll Student action
  5. Please enter any Name, and give a password for the new student that will be enrolled.
  6. To test this zap, make sure that there aren't any students using the same email for which you are trying to create an account
  7. Send an email to your email box, with the subject "Create an account"
  8. Once the Zap detects the email, an account should be automatically created on OnlineCourseHost.com, and you should have received an email with your credentials and a sign-in link
  9. sign-in to the platform using the credential received on your email, and confirm that indeed your student account has access to the course

And with this, you should have been able to test all our Triggers and Actions.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us