CommunityHire an ExpertSign Up
PaymentsPayPal
Payments

PayPal

Integrating PayPal with Softr to receive payments.

You can easily integrate PayPal on your Softr app to start receiving payments. You can either add a single button or, if you’re importing a list of products from a data source, you can add a PayPal link for each product in your database, so that customers can visit your store and make purchases. Let’s discuss each case separately.

Adding a Single Button

Your starting point is https://www.paypal.com/buttons/ where you can choose the type of button you want to have on your site. After generating the button, the code can be added inside a Custom Code block in your Softr app.

As an example, let’s use the Buy Now button:

Notion image

Follow PayPal’s configuration steps like providing a Product name and Price:

Notion image

Once done, click “Save and Create Button”:

Notion image

You will land on a page with your button code. Copy the code:

Notion image

Finally, add the link to a Custom Code block:

Notion image

Let’s assume you’ve created an e-commerce app. Thus, you have your product listing, and each product has a View Details button, which should be linked to the item details page. On the details page, there’s in turn a Buy Now button. So, let’s customize the Buy Now to link it to the item’s PayPal Buy Now button.

This time, when you create a button, switch to the Email Link tab, and copy the code.

Notion image

Now, you have the button link and need to add it to your data source to the corresponding product. We are going to use Airtable as our data source and create a PayPal Link field to add the button link there.

The “PayPal Link” field on Airtable

The “PayPal Link” field on Airtable

Next, on our product details page, we are going to set the Buy Now button action to External url and select the PayPal Link field.

Setting the external URL to the PayPal link field

Setting the external URL to the PayPal link field

So, that’s the process for one particular product, and you need to repeat it for all the products, creating a unique PayPal button for each one. When you’re done, the Buy Now button on the product page will redirect to the PayPal payment page, as shown below.

Testing the button

Testing the button

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.