# Checkout Element Form (Pro)

<figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FrIMAP2gltQggcMWF0iP5%2Fimage%2058.png?alt=media&#x26;token=67b0c70c-ecec-46f4-b03d-27fb6d658e18" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
In this sample, both the <mark style="color:red;">**Elementor Pro**</mark> and our <mark style="color:red;">**Payment Addons Pro**</mark> are required
{% endhint %}

### Create form fields

1. To begin, create a new page or post, and use Elementor for editing.
2. Next, drag and drop the Elementor Form onto your page (you can search for it using the keyword "form" or find it under the "PRO" category)

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2Fk9m2NaX2wkgfR6PdROW2%2Fimage.png?alt=media&#x26;token=e7b5e18b-494c-4a00-a61f-972429e4b145" alt=""><figcaption></figcaption></figure></div>

3. Add form fields one by one, such as Email, Name, Quantity, and Event. It's important to assign meaningful **IDs** to the email and event fields, as they will be used as the customer's email and payment price, respectively. These IDs are crucial because they will be linked with **shortcodes**.

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FfygwmARwWNcVz3UOLxzh%2Fimage.png?alt=media&#x26;token=6e861e4a-2850-4b5f-b32e-c563d660a7f2" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FgTwwvaLaPDHm6S58TsAQ%2Fimage.png?alt=media&#x26;token=744dad32-6669-4b57-8c62-65f8f0a48889" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
You can replace the **Event** field with any field that represents a price, whether it's a fixed value like in this example or a number input field that allows users to enter a dynamic price. The key is to ensure that the field is properly linked to the payment process.
{% endhint %}

### Add Payment Element field

Continue above, we can insert a <mark style="color:red;">**Payment Element**</mark> type field which is exclusively available for our Professional plan users

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FRfGsq959NWpQOKpq6b8F%2Fimage.png?alt=media&#x26;token=08309661-f014-443d-ae29-a6b0379c7d56" alt=""><figcaption></figcaption></figure></div>

<div data-full-width="false"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FREvM5QXK6GvWXNjmFA8P%2Fimage.png?alt=media&#x26;token=e800d02b-6e53-45de-b0af-d8b19bb61f95" alt=""><figcaption></figcaption></figure></div>

Our form UI settings are now complete and will look similar to the example below. However, the payment form is not yet complete, as we still need to add the form submission action to process payment collection.

### Form submission actions

Similar to other built-in submissions like '*collection submission'***, '***Email', 'Redirect', etc,* we provide a payment submission called \`<mark style="color:red;">**Payment Element submission**</mark>\` to handle the checkout-related collection.

Once we select the action, two sections will show up below and I will explain them one by one:

* [x] Payment Element UI
* [x] Payment Element Submission

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FDgbERb0hhw704iYpKwva%2Fimage.png?alt=media&#x26;token=a133a36a-d5b0-4cea-98a6-166f7819e3e5" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FRTAx61edUQ5wv8ZkckzG%2Fimage.png?alt=media&#x26;token=0e678760-efc5-4abd-a312-56a58a570645" alt=""><figcaption></figcaption></figure></div>

### Payment Element UI

![](https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FZ6nJEkwOIKkpR3cp9lfX%2Fimage.png?alt=media\&token=727e8fb3-4d62-4cd6-873b-2e0ca81b3cd5)

#### Google Pay & Apple Pay

Whether to append wallets like Apple Pay or Google Pay within payment methods.

{% hint style="warning" %}
1\), We need to activate Google & Apple Pay in Stripe payment method setting <https://dashboard.stripe.com/settings/payment_methods>

2\), The Apple Pay needs domain verification, you can follow the stripe guide between to verify it
{% endhint %}

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FkvXwf714G3K4IejjuVkT%2Fimage.png?alt=media&#x26;token=65a1b098-bce0-4068-a042-1d70f0540ed2" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FallVDMvGURU7emDDfAFj%2Fimage.png?alt=media&#x26;token=56ac5f82-4793-4ed0-8aa7-465c4e7f48e4" 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.

{% hint style="warning" %}
Some of the payment methods may become unavailable if they do not support the currency.
{% endhint %}

#### Payment Methods Order

Customize the default payment method order. Unspecified methods display after defined ones (e.g. Card & Google Pay means Card first, then Google Pay and others).

#### Theme

Three themes supported so far: Stripe, Night, Flat

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2F45Rz3Pzftn6BzEvSnP2r%2Fimage.png?alt=media&#x26;token=f8211ba8-14a3-402f-b75b-3f0e65627301" 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="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FjPUOfb5CFGfUXrDn3299%2Fimage.png?alt=media&#x26;token=3082450f-6421-462a-bfdf-952360d5dc69" alt=""><figcaption></figcaption></figure>

#### Default Collapsed

Controls if the Payment Element renders in a collapsed state.

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FbXWUGU2LSjgFB2y6YhfO%2Fimage.png?alt=media&#x26;token=9a1727ce-b9d4-4a90-aa10-ad3c196bf148" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FlON71HSKPgOqgP7GHzE8%2Fimage.png?alt=media&#x26;token=bd24ca60-6766-4445-89ad-5ce41e8e7acf" alt=""><figcaption></figcaption></figure></div>

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

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FCAec3uYhd47aPVtqLv5N%2Fimage.png?alt=media&#x26;token=79c3cfae-13ef-4eb0-a9e5-28a92b3e549c" alt=""><figcaption></figcaption></figure></div>

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

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2FRzNVJOoIdtPxS4sVHZaK%2Fimage.png?alt=media&#x26;token=9d8371a2-e545-4dfe-9f15-6dff69f88d1d" alt=""><figcaption></figcaption></figure></div>

***

### Payment Element Submission

All the configurations are the same as the Credit Card Form Submission, please refer to the form submission section for a detailed explanation:

{% embed url="<https://docs.payaddons.com/elements/checkout-credit-card-form-pro#form-submission-actions>" %}

<div align="left"><figure><img src="https://1993841678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6FFXqELmFsGrfOxBauwC%2Fuploads%2F1tMzldLdzsPOTPZvCu1M%2Fimage.png?alt=media&#x26;token=de17868e-140a-4b75-84b2-694d44db4f74" alt=""><figcaption></figcaption></figure></div>
