# Credit Card Form (Pro)

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

<div align="left"><figure><img src="https://4063963230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAM7rgk1NDmyfuYMNPCf%2Fuploads%2FdrkQcd0dxWVCEeL7JLKj%2Fimage%20(2).png?alt=media&#x26;token=2ce8663a-4ed3-4f50-9dbd-1f4e3caee487" alt=""><figcaption></figcaption></figure></div>

Navigate to Contact From -> Add New, we should see two parts:&#x20;

* Stripe Credit Card Field
* Stripe Checkout Form tab

<figure><img src="https://4063963230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAM7rgk1NDmyfuYMNPCf%2Fuploads%2FcRg5JXvY4jM5Z1O49gq6%2FGroup%2038.png?alt=media&#x26;token=5cc1f3d6-f333-4f11-880e-c1600e0eba39" alt=""><figcaption></figcaption></figure>

### Build your Form with Credit Card Field

In the form editor, click the <mark style="color:red;">**Stripe Credit Card**</mark> button. Give a name and insert this field. Here we can see the shortcode **stripe\_credit\_card** is generated into the form.

```
<label> Your name
    [text* your-name autocomplete:name] </label>

<label> Your email
    [email* your-email autocomplete:email] </label>

<label> Event
    [select* event "running|10" "walking|20" "swimming|30"] </label>

<label> tickets
    [number ticket min:1 max:99 "1"] </label>

<label> Card information
    [stripe_credit_card my-card] </label>

[submit "Submit"]
```

### Checkout Configuration

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

<figure><img src="https://4063963230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAM7rgk1NDmyfuYMNPCf%2Fuploads%2FokaicWezOWkDyoxUOigL%2Fstage.payaddons.com_wp-admin_admin.php_page%3Dwpcf7%26post%3D333%26active-tab%3D0.png?alt=media&#x26;token=85e9f4eb-adad-4287-acfe-fe1eca37b996" alt=""><figcaption></figcaption></figure>

Preview & Testing

<figure><img src="https://4063963230-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAM7rgk1NDmyfuYMNPCf%2Fuploads%2F3goYjCFXDuCnoYLeSRJx%2Fimage.png?alt=media&#x26;token=f5e6b8ac-ebd9-4918-bd22-26040341a95e" alt=""><figcaption></figcaption></figure>
