Update Polar SDK checkout API for v0.42.5 compatibility#3360
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…cts array Co-authored-by: RobbieTheWagner <2640861+RobbieTheWagner@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
Coverage Impact Unable to calculate total coverage change because base branch coverage was not found. 🚦 See full report on Qlty Cloud »🛟 Help
|
65f9681
into
dependabot/npm_and_yarn/polar-sh/sdk-0.42.5

The Polar SDK API changed between v0.20.2 and v0.42.5, breaking the checkout flow. The
checkouts.custom.create()method no longer exists.Changes
polar.checkouts.custom.create()topolar.checkouts.create()productPriceIdnow passed asproducts: [productPriceId]array per new API requirementsThe new API requires
productsas an array of product IDs. The SDK was completely regenerated in v0.6.0, eliminating thecustomnamespace.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.