Using Polar plugin with BetterAuth for Seamless Paid Authorization Experience!
Hello guys! In this video, we will look at the Polar plugin for BetterAuth. Polar is a payment processing platform and an MoR (Merchant of Record) and it's known for easiest integration and unmatched developer experience. The plugin does a lot of things for you, like creating customer on polar side when anybody signs up on your website, manage their subscription status under a authenticated route, and provide routes to upgrade to different plans. In this video, we will use an already set up BetterAuth instance and configure it to use Polar plugin and explore the different features available. We will also test out checkouts and configure webhooks. If you liked the content and found it useful, make sure you support me by clicking the subscribe button and sharing this video with friends in need. ๐ค Links My video on BetterAuth - https://youtu.be/HOVuVSmkloc My video on Polar - https://youtu.be/7oQr-Z-sCYU BetterAuth's documentation for the Polar plugin - https://www.better-auth.com/docs/plugins/polar Polar's documentation for the plugin - https://docs.polar.sh/integrate/sdk/adapters/better-auth Any suggestions? Leave in the comments below! TIMESTAMPS 0:00 - Introduction 1:28 - Looking at the code & configuring Polar instance 3:45 - Getting Polar access token 4:19 - Configuring the plugin in BetterAuth instance 6:32 - Creating new products for checkouts in plugin 8:10 - Further configuration 9:37 - Testing user creation happening on Polar side 10:20 - Testing checkouts for products added & correcting an error 15:06 - Checking user subscription state 16:33 - Configuring webhooks in the plugin 21:00 - Vibe coding โจ Creating UI for our backend 31:19 - Conclusion My links E-mail - [email protected] Blog - https://blog.atharva.codes Latest Links - https://links.atharva.codes Twitter - https://twitter.com/atharvabuilds LinkedIn - https://linkedin.com/in/atharvadeosthale #programming #programmer #javascript #nodejs #npm #reactjs #react #typescript #nextjs #next #payments #stripe #polar #betterauth #authentication #backend #nodejs #nextjs
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.