# Simple Checkout Form

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FBtTG39q2VHvURtGF60K8%2Fsimple-checkout-form-b.png?alt=media&#x26;token=ab9f4a2d-6eea-400e-b7a2-ed37f01c039c" alt=""><figcaption><p>Simple Checkout Form</p></figcaption></figure>

Using this block, you can set up paid membership and charge your users for accessing certain sections (pages or blocks) of your Softr app. Prior to setting up this block, you need to [connect Stripe](https://softr.gitbook.io/softr-documentation/integrations/stripe) to be able to offer Stripe products (one-time products or subscriptions) to your users. So, let's go ahead and examine the block settings.

## Title and Images

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2F1jdJRhWCNM1LlXCodIYO%2Fsimple-checkout-images-b.png?alt=media&#x26;token=32a0b7e8-19ec-4f31-bab2-384f10aa7a6d" alt=""><figcaption><p>Logo, Title, and Background Image</p></figcaption></figure>

To start with, you can add a custom title, logo, and a background image in the **Feature** tab of block settings.

## Product Setup

Next, you need to set up the product that you want to offer to your users.&#x20;

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FyqdINc2RxHVuZweGrQNL%2Fcheckout-product-setup-b.png?alt=media&#x26;token=8fab13f4-1bb5-45c7-a6b1-49b97f2a155b" alt=""><figcaption><p>Product parameters</p></figcaption></figure>

The **Product** dropdown is a list with all your Stripe products. First you need to select a certain product, then fill out the rest of the product fields (**Name, Trial, Price, Interval, Description**) as you wish them to be shown on your checkout page. In the example shown below, we've chosen the **Maker (Website Builder)** product, and set the other fields to their corresponding values.&#x20;

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2F2pPOJ4wc5ffu4vj6d1MP%2Fmaker-b.png?alt=media&#x26;token=41b79de6-a1ad-4535-b9a4-90a9f53fa37d" alt=""><figcaption><p>Product selection</p></figcaption></figure>

Below, you can see how it looks on the actual checkout form.

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FPMVL9JpxhlNy6r42jyaO%2Fpublished-checkout-b.png?alt=media&#x26;token=2aefc0b6-5bc3-42db-b7f8-d5eec8503b8f" alt=""><figcaption><p>Published checkout form</p></figcaption></figure>

### Payment Details

Here, you can customize the placeholder text for the name and email fields.

### Discount Code

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FFuBtZGe8wQaVIWY6AM4n%2Fdiscount-code-b.png?alt=media&#x26;token=8486ee99-7608-4eda-a2d8-d55bde92c80f" alt=""><figcaption><p>Discount Code section</p></figcaption></figure>

Here you can choose to show a discount code fiel&#x64;**.** If it's enabled, you can modify the text for the discount button and coupon input field. **The form will accept** [**coupons**](https://stripe.com/docs/billing/subscriptions/coupons) **defined for the selected Stripe product.**

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FQBLJpm9HKkmlDxpePEph%2FScreen%20Recording%202022-09-01%20at%2015.29.14.gif?alt=media&#x26;token=656a1f02-bfc0-4a59-bf88-8b795a98afdb" alt=""><figcaption><p><strong>Applying a discount code</strong></p></figcaption></figure>

### Button

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FPSlg5uxYNB303SxL5UxR%2Fsubscribe-button-b.png?alt=media&#x26;token=0b43bb21-9fd8-4755-897f-0f041a674af2" alt=""><figcaption><p>Button settings</p></figcaption></figure>

Here, you can modify the **Text** of the payment submissions button. The **Action** of the button is predefined.

### On Checkout

<figure><img src="https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2FnQzoxLZlIxe1DqelGkWD%2Fon-checkout-b.png?alt=media&#x26;token=9bf58edd-6aba-4981-89e4-c46504589f63" alt=""><figcaption><p>On Checkout</p></figcaption></figure>

Lastly, you can choose to which page the user is taken after making the payment.

That's it. As soon as you have provided a checkout for a specific product, you can go ahead and define access conditions (for a [block](https://softr.gitbook.io/softr-documentation/memberships/block-visibility#select-condition) or a [page](https://softr.gitbook.io/softr-documentation/memberships/page-visibility#payment-and-other-conditions)) for users who have paid for the product.
