> For the complete documentation index, see [llms.txt](https://cf7-docs.payaddons.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cf7-docs.payaddons.com/basics/contact-form-7-payment-element.md).

# Payment Elements Form (Pro)

<div align="left"><figure><img src="/files/Zw07vXwhdqlxLni4IVmy" alt=""><figcaption></figcaption></figure></div>

{% hint style="danger" %}
In this sample, the Professional plan is required.
{% endhint %}

Navigate to Contact From -> Add New, we will use two parts:

* Stripe Payment Element Field
* Stripe Checkout Form tab

<figure><img src="/files/iakdXvydhqxXNkK9xZwN" alt=""><figcaption></figcaption></figure>

### Insert Stripe Payment Element Field

In the form editor, click the **Stripe Payment Element** button. Give a name and insert this field. Here we can see the shortcode **stripe\_payment\_element** is generated into the form.

Some examples:

{% code overflow="wrap" %}

```
[stripe_payment_element my-field payment_methods:automatic theme:stripe layout:tabs apple_pay google_pay]
```

{% endcode %}

{% code overflow="wrap" %}

```
[stripe_payment_element my-field payment_methods:card| payment_methods:sofort|google_pay|apple_pay theme:night layout:accordion apple_pay google_pay accordion_radio accordion_spaced]
```

{% endcode %}

<figure><img src="/files/wu9xeApAi6Nc730d5Eym" alt=""><figcaption></figcaption></figure>

#### **Payment Methods**

By default, the stripe checkout page will list all available payment methods in which your stripe account is activated. If you want only to allow some of them, you can choose them here.

#### Theme:

Three themes supported so far: Stripe, Night, Flat

<div align="left"><figure><img src="/files/QwndTB3t6fzWqCJTkxxY" alt=""><figcaption></figcaption></figure></div>

#### Layout

Customize the Payment Element’s layout to fit your checkout flow: Two layouts supported so far: **Tabs**, **Accordion**

<figure><img src="/files/HEvFxvyQihtqVIftpNCr" alt=""><figcaption></figcaption></figure>

#### Default Collapsed

Controls if the Payment Element renders in a collapsed state.

<div align="left"><figure><img src="/files/AN3d26wXDWhez9d039EN" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/bR8C8Kq1U4Rqf1LRTL6v" alt=""><figcaption></figcaption></figure></div>

#### Include Radio (Only for Accordion layout)

<div align="left"><figure><img src="/files/Huml1nXC9HJ9kM8ceFif" alt=""><figcaption></figcaption></figure></div>

#### Include Spaces (Only for Accordion layout)

<div align="left"><figure><img src="/files/sciciVGl8BBd81x106d7" alt=""><figcaption></figcaption></figure></div>

### Checkout Configuration

After inserting this field, we can now set up the pricing under the **Stripe Checkout Form** tab.

<figure><img src="/files/va5D6IUi2HhVh0pmoyBA" alt=""><figcaption></figcaption></figure>

### Preview & Testing

<figure><img src="/files/8SSOYrhlIjAykmT81Y8U" alt=""><figcaption></figcaption></figure>
