# Paddle

> Sell software subscriptions through a checkout where Paddle acts as the seller and handles customer sales tax.

Web page: https://buildladder.com/tools/paddle

Suppose you charge a monthly fee for a scheduling app. In a Paddle checkout, Paddle is the merchant of record. That means it sells to the customer and handles payment and applicable sales tax. Your app still needs to give the buyer access to the right plan.

Use a test subscription and follow the customer from checkout back into the app. Then try a cancellation and check when access ends. Those moments matter as much to the customer as the payment screen.

- Made by: Paddle
- Official site: https://www.paddle.com
- Cost: No monthly fee. 5% + 50¢ per checkout sale, with tax, fraud checks and buyer support included. Checked 9 Nov 2026.
- What you need first: A Paddle account. For live payments, Paddle verifies your business and approves your website’s domain.
- Who it helps: When you sell software or an online tool to people in many countries, and want tax, fraud checks and buyer support handled for you.
- When to skip it: If you sell physical goods or human services like consulting. Paddle doesn’t allow them.
- Updated: 2026-11-10

## Take payments with Paddle

Add a Paddle checkout for one product. You practice in a separate sandbox account with test cards first, then switch to real payments after Paddle checks your business.

What you’ll end up with: A Buy button on your site that opens Paddle’s checkout, takes a test payment, and tells your site when someone has paid.

### You’ll need

- A website or web app you’re building with your AI tool, running on your computer.
- PLAN.md, with the software or online tool you want to sell and its price.
- To take real payments: your site online on your own domain, with terms, privacy and refund pages.
- Paddle sandbox account (https://developer.paddle.com/sdks/sandbox): It’s free and takes test payments only
- Paddle account (https://www.paddle.com): It has no monthly fee and takes a fee from each sale

### Your part

- Create the sandbox account, the product and the client-side token.
- Copy tokens and secrets into your .env file.
- Pay with a test card, then pass Paddle’s checks in a live account.

### Step 1 of 7: Create a sandbox account and a product

This step is mine to do. Walk me through it, one action at a time:
- Open developer.paddle.com/sdks/sandbox and follow the link to the sandbox signup page. This account is only for testing.
- Enter your personal and business details, then click Continue. Follow any email check Paddle asks you to complete.
- Go to Paddle, then Catalog, then Products. Click New product.
- Enter the product name and pick a tax category, then click Save. Standard and SaaS are there for every account.
- On the product’s page, under Prices, click New price. Enter the amount. For a subscription, set the billing period, like Monthly.
- A price with no billing period is a one-time charge. Click Save. Your AI tool will ask for its price ID later, and that ID is safe to share.

It worked when: Your Paddle sandbox account holds one product with its price.

If something goes wrong:
- You signed up at paddle.com instead. That made a live account. Sandbox accounts are separate, so make one from the sandbox signup page too.
- You don’t know if Paddle allows what you sell. Read Paddle’s Acceptable Use Policy before you build. It lists what you can’t sell.

### Step 2 of 7: Save your client-side token in .env

This step is mine to do. Walk me through it, one action at a time:
- Ask your AI tool: “Which file in this folder should hold my Paddle settings, and is it ignored by Git? Don’t ask me for any value.”
- If that file isn’t ignored by Git yet, ask your AI tool to add it to .gitignore before you go on.
- In Paddle, go to My account, then Settings, then Authentication. Click the Client-side tokens tab.
- Click New client-side token. Give it a name and a description, then click Save.
- Click the menu button next to the new token and choose Copy. Sandbox tokens start with test_.
- Open the file your AI tool named, such as .env. Add PADDLE_CLIENT_TOKEN= followed by the token, then PADDLE_ENVIRONMENT=sandbox on the next line.

It worked when: A file that Git ignores holds PADDLE_CLIENT_TOKEN and PADDLE_ENVIRONMENT=sandbox.

If something goes wrong:
- You can’t find Authentication. Look under My account, then Settings, in the left menu. If it moved, search Paddle’s docs for “client-side token”.

### Step 3 of 7: Add a checkout for one product

Read PLAN.md in this folder. It says what I want to sell.

I want to add Paddle payments for one product, in my Paddle sandbox only. No real money.

Before you write code, check Paddle’s current official docs at developer.paddle.com for Paddle.js and the overlay checkout. Then build the smallest version that works:
- load Paddle.js, set its environment from PADDLE_ENVIRONMENT, which is “sandbox” for now, and start it with the client-side token from PADDLE_CLIENT_TOKEN
- a Buy button on the page where people decide to buy, which opens Paddle Checkout for one price
- a thank-you message or page after they pay

Rules:
- Read the price ID from a PADDLE_PRICE_ID environment variable, because it changes when I take real payments. Tell me where to find it. It’s safe to share.
- If my framework needs special names for values the browser reads, tell me the new names. I’ll rename them in .env myself.
- Never put a Paddle API key in code that runs in the browser.
- Keep everything that already works. Ask before you change something big.

Paddle also needs a default payment link. Tell me what address to enter and where, and I’ll set it in the dashboard myself.

When you’re done, explain in plain words what you changed, and how I can see the Buy button.

It worked when: The Buy button on your site opens Paddle’s checkout with your product and price, marked Test Mode.

If something goes wrong:
- The checkout doesn’t open, or mentions a default payment link. In Paddle, go to Checkout, then Checkout configuration. Under Default payment link, enter your site’s address and click Save.
- The default payment link asks for a domain you don’t have yet. Paddle’s sandbox does not need domain approval, and its default payment link can use any domain. Carry on with the test payment. You need your own domain only for real payments.
- You see a forbidden error. Sandbox and live values don’t mix. Check the token starts with test_ and PADDLE_ENVIRONMENT says sandbox. Then ask your AI tool to restart your site.

### Step 4 of 7: Buy it with a test card

This step is mine to do. Walk me through it, one action at a time:
- Open your site and click your Buy button.
- Enter an email address. In the sandbox, emails to Gmail or other outside addresses go to your account’s main email instead.
- Enter the card number 4242 4242 4242 4242, any name, any future expiry date and the CVV 100. Then pay.
- Try once more with the card 4000 0000 0000 0002. The checkout should say the card was declined.
- In Paddle’s sandbox, open Transactions and find the test payment.

It worked when: The 4242 card pays, the 4000 card is declined, and Transactions lists the payment that went through.

If something goes wrong:
- A real card is refused. That’s expected. The sandbox only takes test cards, and live accounts only take real ones.

### Step 5 of 7: React when a payment succeeds

The test checkout works. Now I want my site to react when a payment succeeds, using a Paddle webhook.

Check Paddle’s current docs on webhooks and signature verification first. Then:
- Add a webhook route on my server that listens for transaction.paid, the event Paddle’s docs say you can start giving access on.
- Verify every event with Paddle’s official SDK, using the raw request body, the Paddle-Signature header and the secret key from the PADDLE_WEBHOOK_SECRET environment variable.
- When a payment succeeds, do this one thing: (say what should happen, like “email the download link” or “mark the order as paid”).
- Give access from the webhook, not from the thank-you page, because people can close the page before it loads.
- Make it safe if the same event arrives twice, and answer Paddle within 5 seconds, as its docs ask.

If my site has no server part, stop and explain my options before you build anything.

Paddle has to reach this route over the internet. Following Paddle’s docs, tell me the simplest way to do that while I build on my computer, and the exact web address to give Paddle. I’ll create the notification destination in the dashboard and put its secret key in my .env file myself.

Keep everything that already works. When you’re done, explain what changed and how to check it worked.

It worked when: Your site has a webhook route, and your AI tool gave you the web address Paddle should send events to.

Before we move on, check with me:
- Did your AI tool explain how the route checks that each message really came from Paddle?

Keep for later: The web address your AI tool gave you, for “Send Paddle’s events to your site”.

If something goes wrong:
- Your AI tool says your site has no server part. Ask it to compare two choices in plain words: adding a small server, or a host that runs code for you. Pick one before it builds.

### Step 6 of 7: Send Paddle’s events to your site

This step is mine to do. Walk me through it, one action at a time:
- In Paddle, go to Events, then Notifications. Click New destination.
- Give it a name. Keep the notification type as webhook, and paste the web address your AI tool gave you.
- Pick the transaction.paid event, then click Save destination.
- Click the menu button next to your destination and choose Edit destination. Click the copy icon in the secret key field.
- Add PADDLE_WEBHOOK_SECRET= followed by the secret to your .env file and save it. Ask your AI tool to restart your site.
- Make another test payment with the 4242 card.

It worked when: After a test payment, your site does the one thing you asked.

Before we move on, check with me:
- Open the menu next to your destination and choose View logs. Does it show the event was delivered?

If something goes wrong:
- The webhook fails with a signature error. Copy the secret key from Edit destination into your .env file again, then restart your site.
- Nothing happens after a payment. Open View logs for your destination and tell your AI tool what it shows. The sandbox makes 3 attempts within about 2 minutes.

### Step 7 of 7: Switch to real payments

This step is mine to do. Walk me through it, one action at a time:
- Put your site online first, with terms of service, privacy and refund pages, prices that match Paddle, and a contact email.
- Sign up for a live Paddle account. In Get started, open Verify your account and fill in your personal and business details.
- Submit your domain in My account, then Settings, then Website approval. Live checkouts only open on an approved domain.
- Create your product and price again. Then create a live client-side token, which starts with live_.
- In your host’s settings, set PADDLE_CLIENT_TOKEN, PADDLE_ENVIRONMENT and PADDLE_PRICE_ID to the live token, production and the live price ID. Keep the exact names your AI tool chose, including any public prefix. Then put your site online again so browser code gets the new values.
- Once your domain is approved, go to Checkout, then Checkout configuration, and set the Default payment link to your live site.
- In Events, then Notifications, create a live destination for transaction.paid. Save its secret key in your host’s settings as PADDLE_WEBHOOK_SECRET.
- To test without paying, make a 100% discount and buy with it, as Paddle’s go-live checklist suggests.

It worked when: Your account is verified, and your public site has a live checkout with live values only in your host’s settings.

Before we move on, check with me:
- Does Website approval show your domain as approved?
- Does a purchase with your 100% discount make your site do the one thing you asked?

If something goes wrong:
- Verification is taking a while. It often takes about 10 minutes, but can take longer. Finish anything Paddle asks for in Get started, and check your email.
- The live checkout won’t open but the sandbox worked. Check your domain is approved and every setting in your host uses live values. Then put your site online again.

Compare Paddle with the other options: https://buildladder.com/concepts/payments.md
