Services
Paddle
Sell software subscriptions through a checkout where Paddle acts as the seller and handles customer sales tax.
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.
- When to use it
- 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.
- What it costs
- No monthly fee. 5% + 50¢ per checkout sale, with tax, fraud checks and buyer support included. Checked 9 Nov 2026.
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.
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. It’s free and takes test payments only.
- Paddle account.
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.
Copy the prompt for these steps
I’m following “Take payments with Paddle” on BuildLadder. What the guide says I’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. This comes from https://buildladder.com/tools/paddle#payments. If you can open web pages, read https://buildladder.com/tools/paddle.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address. How to work with me: - Go through the steps below in order, one at a time. - Do what you can yourself in this folder: write code, run commands, check settings. If a service has an official command-line tool, like the Vercel CLI, you can offer to use it. Ask me before you install anything, sign in to anything or spend money. - When a step needs me, like making an account or clicking in a dashboard, tell me exactly what to do in small steps. Then wait until I say it’s done. - The actions, checks and fixes in each step were written for me, the reader. Where one says “your AI tool”, that means you, and “Say:” means something I would say to you. - Never ask me to paste passwords or secret keys into this chat. I type those into the service’s own settings. - After each step, tell me how to check it worked. Once Git is set up, save a version each time a step works. Then ask if I’m ready for the next one. - Use plain words. I may never have coded before. ## 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.
The steps
- Steps marked AI tool are done by your AI tool when you paste the prompt. The rest are yours.
- Save a version after every step that works.
- If a screen looks different from a step, ask your AI tool where the setting moved.
- Never paste a password or secret key into the chat.
A test account, ready to use
Create a sandbox account and a product
Paddle’s sandbox is a separate practice account with its own sign-in. Payments there use test cards, so you can build and test without moving real money.
- 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.
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.
Save your client-side token in .env
Paddle’s checkout runs in your web page using a client-side token. The token is safe in page code, and keeping it in .env makes the switch to real payments easy.
- 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.
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”.
A working checkout
Add a checkout for one product
Your AI tool adds a Buy button that opens Paddle’s checkout over your page. Paddle handles the card details and the tax, so your code never sees them.
It worked when: The Buy button on your site opens Paddle’s checkout with your product and price, marked Test Mode.
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.
Buy it with a test card
Pay for your own product with Paddle’s test card. Nothing is charged, and you see exactly what a customer sees.
- 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.
A real card is refused.
That’s expected. The sandbox only takes test cards, and live accounts only take real ones.
React when a payment succeeds
A webhook is a message Paddle sends your site when someone pays. Your site uses it to give buyers what they paid for, even if they close the page early.
It worked when: Your site has a webhook route, and your AI tool gave you the web address Paddle should send events to.
Keep: The web address your AI tool gave you, for “Send Paddle’s events to your site”.
Check this step
- Did your AI tool explain how the route checks that each message really came from Paddle?
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.
Send Paddle’s events to your site
A notification destination tells Paddle which events to send and where. Its secret key lets your site check that each message really came from Paddle.
- 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.
Check this step
- Open the menu next to your destination and choose View logs. Does it show the event was delivered?
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.
Switch to real payments
Your sandbox doesn’t carry over, so you set things up again in a live account. You make each change yourself, and your AI tool can explain any of them.
- 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.
Check this step
- Does Website approval show your domain as approved?
- Does a purchase with your 100% discount make your site do the one thing you asked?
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.
Stuck? Try these, in order
- Stop asking it to “fix it”. Say exactly what’s wrong.
Paste this into the same chat. It asks your AI tool to find the problem with you.
Troubleshooting promptI’m following “Paddle” on BuildLadder and something isn’t working. This comes from https://buildladder.com/tools/paddle. If you can open web pages, read https://buildladder.com/tools/paddle.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address. Ask me which step I’m on, what I tried and what happened, one question at a time. Look at the files in this folder if you can. Then explain the problem in plain words and suggest the smallest fix. Don’t change anything that already works.
- Check the service isn’t down.
If you use one of these, open its status page before changing any code: Supabase, Vercel, Netlify, Cloudflare, Stripe, Clerk, Firebase, Resend, GitHub, Expo, Claude, OpenAI.
- Go back to your last saved version.Troubleshooting prompt
Take my product back to the last saved version that worked. First show me which version that is and what will change. Don’t delete anything else.
- Make the change smaller.Troubleshooting prompt
Let’s make a smaller change. Undo what you just tried. Then do only the first part of it, and tell me how to check that part works before we go on.
- Ask a person.
Copy this, fill in each line, and post it in a community like r/vibecoding. Take out any keys or passwords first.
Problem reportWhat I'm building: (one sentence) What I asked my AI tool to do: (the last request) What I expected: (what should happen) What happened instead: (what you see) The exact error, if any: (copy it here) What I've tried: (each attempt, in order) My tools: (AI tool, website or app, hosting)
Look things up
Questions people ask
- Why does a payment company want to check my business before I go live?
- How do I switch from test payments to real ones?
- Do I need a company to take payments?
- Should I use a merchant of record, or handle sales tax myself?
- Why does my app need a webhook to know someone paid?
- All answers
Words used on this page
- Test mode
- Test mode is a practice space in a payment service. Stripe calls it a sandbox. You pay with fake card numbers, so you can check everything works without moving real money.
- Merchant of record
- A merchant of record is the company that legally sells to your customer. It collects and pays sales tax and VAT for you, and its name can appear on the buyer’s card statement.
- Subscription
- A subscription charges a customer again and again, like every month or every year, until they cancel. A one-time payment charges them once.
- API key
- An API key is a long code that tells a service your app is allowed to use it. Many keys are secret, so treat them like passwords and keep them out of shared code.
- Environment variable
- An environment variable is a named setting stored outside your code, such as an API key or a database address. Your app reads it when it runs, so secrets stay out of your shared files.
- Git
- Git is a free tool on your computer that keeps a history of your product's files. It lets you save versions, compare them, and go back if something breaks.
- Checkout
- A checkout is the page where a customer enters payment details and pays. Payment services host one for you, so card details never touch your own code.
- Frontend
- The frontend is the part of a website or app that people see and click. That includes the layout, text, buttons, and forms.
- Webhook
- A webhook is a message one service sends to your app when something happens, like a payment going through. Your app listens at a web address and reacts.
- Backend
- The backend is the behind-the-scenes part of an app that visitors never see. It runs on a server, where it saves data and checks who is signed in.
- Production
- Production is the live version of your website or app that real people use. Changes there affect everyone, so you test them in a preview first.
Official pages
- Paddle: client-side tokens
- Paddle: go-live checklist
- Paddle: respond to webhooks
- Vite: browser settings at build time
- Next.js: browser settings at build time
- Check fees
- Read Paddle's docs
- Check what you can sell
- Paddle
Updated · Paddle