> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sellauth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Platform Integrations

> Take payments through an account you already hold on Lemon Squeezy, Pandabase or Whop.

These methods route your SellAuth checkout through a merchant account on another commerce platform. They are useful when that platform has already approved you, when it handles your tax, or when you prefer its payout terms.

[Shopify](/guides/payment-methods/shopify) and [Dodo Payments](/guides/payment-methods/dodo-payments) work the same way and have their own pages.

<Note>
  Webhook URLs look like `https://webhooks.sellauth.com/v1/PROVIDER/YOUR_SHOP_ID`. The exact URL with your shop ID is shown in the setup instructions on the payment method page in the dashboard.
</Note>

## Lemon Squeezy

Cards, Apple Pay, Google Pay, PayPal and Cash App. Lemon Squeezy acts as merchant of record, so it handles sales tax and VAT for you.

The setup is unusual in one respect. You create a placeholder product in Lemon Squeezy, and SellAuth charges against its variant.

<Steps>
  <Step title="Create an API key">
    On the [API settings page](https://app.lemonsqueezy.com/settings/api), click the **+** icon, name it SellAuth, and set the expiry as far out as it allows. Copy the key into **API Key**.
  </Step>

  <Step title="Copy your store ID">
    On the [Stores page](https://app.lemonsqueezy.com/settings/stores), it appears as `#XXXXXX` next to your store link. Copy the number into **Store ID**.
  </Step>

  <Step title="Create the placeholder product">
    On the [Products page](https://app.lemonsqueezy.com/products), create a product named **SellAuth Product** priced at **\$1**, leaving everything else at its default. Publish it.
  </Step>

  <Step title="Copy the variant ID">
    Click the three dots next to the product's Share button, choose **Copy variant ID**, and paste it into **Variant ID**. Save.
  </Step>
</Steps>

<Warning>
  Do not delete or unpublish the placeholder product. Every SellAuth payment charges against its variant, so removing it breaks the method.
</Warning>

## Pandabase

Cards, Apple Pay, Google Pay and Cash App.

<Steps>
  <Step title="Copy your store ID">
    Open the [Pandabase merchant dashboard](https://merchant.pandabase.io) and look at the URL: `.../dash/stores/shp_xxxxxxxxxxxxxxxx`. The `shp_...` part is your store ID.
  </Step>

  <Step title="Create an API key">
    In the sidebar go to **Developers > API Keys** and click **Create API Key**. Name it SellAuth, leave the note empty, set **Auth Mode** to **Bearer**, and grant all permissions, or at minimum read and write on Payments and Webhooks.
  </Step>

  <Step title="Paste and save">
    Copy the generated key into **API Key** alongside the store ID.
  </Step>
</Steps>

## Whop

Cards, Apple Pay, Google Pay and PayPal.

<Steps>
  <Step title="Copy your company ID">
    In the [Whop dashboard](https://whop.com/dashboard), select your business and read the URL: `https://whop.com/dashboard/biz_XXXXXXXXXXXX`. The `biz_...` part is your company ID.
  </Step>

  <Step title="Create an API key">
    Click **Developer** at the bottom of the sidebar, then **Create** next to Company API keys. Name it SellAuth and grant these permissions:

    ```
    plan:create
    plan:basic:read
    access_pass:create
    access_pass:basic:read
    ```

    Copy the key into **API Key**.
  </Step>

  <Step title="Create the webhook">
    On the same page click **Create Webhook** and enter your SellAuth webhook URL. Select only these events, and nothing else:

    ```
    payment_succeeded
    payment_failed
    dispute.created
    dispute.updated
    ```
  </Step>

  <Step title="Copy the webhook secret">
    Once created, click the blue secret (it looks like `ws_xxxxx`) to copy it, and paste it into **Webhook Secret**. Save.
  </Step>
</Steps>

## Troubleshooting

**Buyers pay but orders never deliver.** Check the webhook first for a wrong URL, missing events, or a secret that does not match what you pasted.

**Lemon Squeezy payments fail.** The placeholder product was deleted, unpublished, or its variant ID changed.

**Permission errors.** The API key is missing a scope. Create a new key with the permissions listed above rather than editing the old one.

## Next steps

<CardGroup cols={2}>
  <Card title="Shopify" icon="shopify" href="/guides/payment-methods/shopify">
    The same approach, through your Shopify store.
  </Card>

  <Card title="Supported payment methods" icon="credit-card" href="/guides/payment-methods">
    Everything else you can connect.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.