Creating your Stripe Webhooks
Note: This guide is for the Zippy Courses WordPress plugin. If you are using the Zippy Courses All-In-One Platform, check out this guide instead.
If you use Stripe to collect payments in Zippy Courses, you will need to add your Zippy Courses domain as a Webhook in your Stripe account. This is how Stripe notifies Zippy Courses when payments have been processed so that Zippy Courses can automatically grant students access to your course.
To set up your webhooks, first log in to your Stripe Dashboard, then click on API in the navigation menu on the left.
Next, click the Webhooks tab. If you have set up Webhooks for other services, you may see those listed in this menu. Click the Add Endpoint button to create a new webhook endpoint.
The webhook for your site will be your domain name plus ‘/payment/notification/stripe’. So if your domain name was http://yoursite.com, your webhook URL would be http://yoursite.com/payment/notification/stripe/.
Note: If you have an SSL certificate installed on your site, make sure that your webhook reflects that. In that case, the example would change to https://yoursite.com/payment/notification/stripe/.
Enter your webhook URL using the format described above, and click Add Endpoint.
After doing so, you should see this endpoint listed in your account’s list of web hooks:
Once you've done that, you're all set! Stripe will automatically send transaction information to your Zippy Courses site, and Zippy Courses will process this information and grant your students access to your courses.