Skip to content

Commit

Permalink
fix broken redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Nov 12, 2024
1 parent c301e92 commit 3bd7c12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: You can now build SaaS with Polar using our API, Webhooks & OAuth.

Our mission at Polar is for developers to get paid coding on their passions. Empowering open source- and indie developers to build independent careers and businesses. All the way from first donation to IPO.

Today, we're introducing OAuth & Webhooks to support developers to build custom community- and customer experiences across their docs, sites and services.
Today, we're introducing OAuth & Webhooks to support developers to build custom community- and customer experiences across their docs, sites and services.

Enabling use cases like:
- Celebrate & reward sponsors, donors & issue backers on your sites
Expand All @@ -38,11 +38,11 @@ Let's start with creating your first Polar OAuth App.
3. Click `New OAuth App`
4. Set the `Application Name`, `Redirect URIs`, `Homepage URL` and select desired `Scopes`.
5. Optional: Add a `Logotype` and link to your custom `Terms of Service` & `Privacy Policy` for the application.
6. Click `Create`.
6. Click `Create`.
7. Store the given `Client ID` and `Client Secret` somewhere safe & secret.


You're now ready to integrate the Polar OAuth App 🎉 [Follow our complete integration guide here](https://polar.sh/docs/api-reference/authentication).
You're now ready to integrate the Polar OAuth App 🎉 [Follow our complete integration guide here](https://polar.sh/docs/api/authentication).

#### User Authentication Flow

Expand Down Expand Up @@ -80,7 +80,9 @@ Polar supports the following Webhook events (with more to come):
- `pledge.updated`
- `donation.created`

We follow the [Standard Webhook](https://www.standardwebhooks.com/) guidelines to make integration intuitive and familiar. [Checkout our docs](https://polar.sh/docs/api-reference/webhooks) for integration details and payload schemas for the available events.
We follow the [Standard Webhook](https://www.standardwebhooks.com/) guidelines
to make integration intuitive and familiar. [Checkout our
docs](https://polar.sh/docs/developers/webhooks) for integration details and payload schemas for the available events.

#### Add Webhook Endpoint(s)

Expand All @@ -97,7 +99,7 @@ That's it. Get ready to start receiving webhooks for the requested events 😍
We also provide a delivery overview for each Webhook Endpoint URL to make development easy. So you can debug historic webhooks sent along with their entire payload.

> [!NOTE]
> This is meant to aid development or debugging recent production issues vs. be an all-time historic database. Don't rely on more than 24-48h worth of history in the future.
> This is meant to aid development or debugging recent production issues vs. be an all-time historic database. Don't rely on more than 24-48h worth of history in the future.
### API & Docs (beta)  🏗️

Expand Down
6 changes: 1 addition & 5 deletions clients/apps/web/src/components/Pledge/FAQ.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,7 @@ const FAQ_MAINTAINER: FAQItems = [
Polar.sh
</a>{' '}
and we&apos;ll get you setup in no time. Questions? Checkout our{' '}
<a
href="/docs/faq/for-maintainers"
target="_blank"
className="text-blue-400"
>
<a href="/docs/support/faq" target="_blank" className="text-blue-400">
FAQ
</a>{' '}
to learn more.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const PledgeCheckoutContribute = ({ issue }: { issue: Issue }) => {

<a
className="text-xs text-blue-500 hover:text-blue-400 dark:text-blue-400 dark:hover:text-blue-300"
href="/docs/faq/for-maintainers"
href="/docs/support/faq"
>
Make sure you’re eligible to receive Stripe payouts.
</a>
Expand Down

0 comments on commit 3bd7c12

Please sign in to comment.