# How to Add Custom Payment Amount Field in WordPress with Paymattic?

> Paymattic includes an amazing feature that is Custom Payment Amount to insert custom payment amounts in the form. Today We will show you how to add the Custom Payment Amount field with Paymattic.

- URL: https://paymattic.com/docs/how-to-add-user-defined-amount-field-in-wordpress-with-paymattic/
- Markdown: https://paymattic.com/docs/how-to-add-user-defined-amount-field-in-wordpress-with-paymattic/index.md
- Modified: 2025-03-21

---

# How can we help you?

Popular Search subscriptionstriperecurringtheuser

View Categories

In [Paymattic](/), the **Custom Payment Amount**field allows users to pay any amount based on their needs. This article will guide you on how to embed the Custom Payment Amount field to the WordPress Site through Paymattic.

## Adding Custom Payment Amount Field #

To learn how to add the Custom Payment Amount field to the Paymattic Form on your WordPress site, follow the steps with the screenshots below –

First, go to the **All Forms**section from the **Pymattic Navbar,**choosea**Form,**and click the **Pencil/Edit** icon to open the **Editor** page of that form.

If you do not have any existing form, read this [Create a Form from Scratch](/docs/how-to-create-a-form-from-scratch-with-paymattic/) or [Create a Form using Templates](/docs/simple-form-templates/) documentation to create one. **For example**, I choose an existing form to show the whole process.

![](https://paymattic.com/wp-content/uploads/2022/06/1.-Open-desired-form-3-scaled.webp)

Once you open the **Editor** page, add the **Custom Payment Amount**fields by typing the**“ / ”**or clicking the **Plus Icon** placed at the bottom.

We always suggest you keep the [**Name**](/docs/how-to-use-general-form-input-fields-in-wordpress-with-paymattic/#5-toc-title) and [**Email**](/docs/how-to-use-general-form-input-fields-in-wordpress-with-paymattic/#6-toc-title) field at the beginning of any Form.

![](https://paymattic.com/wp-content/uploads/2022/06/2.-Type-or-click-icon-3.webp)

For example, I choose the **Pluc Icon**option to select the **Custom Payment Amount**field under the **Donation & Product Fields** section from the**Choose Form Field**page.

Also, do not forget to add a [**Payment Method Field**](/docs/how-to-use-the-payment-method-fields-section/) for collecting payments.

![](https://paymattic.com/wp-content/uploads/2022/06/3.-Custom-Amount-field.webp)

## Editing/Customizing the Field #

You can see the **Custom Payment Amount**and other necessaryfields added to the form.

You can edit their field name and settings. To learn more about form editing, read this [Documentation](/docs/how-to-edit-forms-in-wordpress-with-paymattic/)*.*

Specifically, to edit the **Custom Payment Amount**field according to your needs, click the**Settings Icon** from the right-side corner.

![](https://paymattic.com/wp-content/uploads/2022/06/4.-Settings-Icon-3.webp)

Now, a pop-up page will appear with various settings options for customizing the field.

### General Settings #

All the Settings under the General Tab mentioned in the below screenshot are briefly explained:

- **Required**: Enable this option to make this field mandatory for users to fill in for a successful submission.

- **Default Value**: You can set the default amount for your users and use **Smartcode** like {querystring:YOUR_KEY} by clicking the**Shortcode Icon**.

- **Minimum Value**: With this option, you can specify the minimum amount users must pay.

Once you finish, click the **Update** button to save all your configuration.

![](https://paymattic.com/wp-content/uploads/2022/06/5.-General-Settings-1.webp)

### Advanced Settings #

Once you complete the General settings, go to the **Advanced** tab, and you will find some advanced settings for your **Custom Amount**field. These are:

- **Admin Label**: This label is used for the admin wants to see the field’s label from the back end.

- **Field Wrapper CSS Class**: This is used for adding a Custom CSS/JS for an entire field of a specific form using the Field Wrapper CSS Class element. To learn more, click [here](/docs/how-to-create-custom-css-js-in-wordpress-with-paymattic/).

- **Input Elements CSS Class**: This is used for adding a Custom CSS/JS for a specific input field of a form using the Input Elements CSS Class element. To learn more, click [here](/docs/how-to-create-custom-css-js-in-wordpress-with-paymattic/).

- **Conditional Render**: You can set conditional logic to display the field in the form that will be triggered by specific actions taken on a previous input field. To learn more about conditional renderings, click [here](/docs/how-to-use-conditional-logic-in-form-fields-with-paymattic/).

- **Enable Calculation**: Enabling this feature wil allow you to perform real-time mathematical operations for the **Number** and **Product**fieldswithin any [Payment Form](/docs/how-to-create-your-first-payment-form-in-a-minute-and-accept-payments-with-paymattic/). Now, add the desired equation under the **Calculation Expression** box to ensure what calculation you want to perform. To know the detailed guidelines of this **Calculation Feature**, read this [Documentation](/docs/dynamic-payment-item-field/#2-toc-title).

- **Enable Additional Checks**: Enable this option to set an extra layer of data integrity check.

- **Field ID**: This option is used for adding or tracking form fields. Plus, creating the custom CSS/JS for a specific form field.

Once you finish, click the **Update** button to save all your configuration.

![](https://paymattic.com/wp-content/uploads/2022/06/6.-Advanced-Settings-2.webp)

## Embedding Form into Frontend #

Here, you can see the **Custom amount**field and other necessaryfields are added to the form.

Now, to embed and display the form on a specific Page/Post, **copy** this **Shortcode** and paste it into your desired Page/Post.

Once you complete the edit, press the **Save** button to save all the changes you made. And, to see the **Preview** of the form, click the **Eye** icon.

![](https://paymattic.com/wp-content/uploads/2022/06/7.-save.-preview-and-shortcode-buttons.webp)

## Preview of Custom Payment Amount field #

Here is the preview of the **Custom Payment Amount**field in a Form.

![](https://paymattic.com/wp-content/uploads/2022/06/8.-Preview-of-Custom-amount-field.webp)

This way you can easily add the **Custom Payment Amount**field in Paymattic Forms!  
If you have any further questions, concerns, or suggestions, please do not hesitate to contact our [@support team](https://wpmanageninja.com/support-tickets/?utm_source=wpmn&utm_medium=home&utm_campaign=site#/). Thank you.

##### What are your Feelings

#### Share This Article :

- [![Facebook](https://paymattic.com/wp-content/plugins/betterdocs/assets/static/images/social/facebook.svg?v=4.8.1)](https://www.facebook.com/sharer/sharer.php?u=https://paymattic.com/docs/how-to-add-user-defined-amount-field-in-wordpress-with-paymattic/)
- [![X](https://paymattic.com/wp-content/plugins/betterdocs/assets/static/images/social/twitter.svg?v=4.8.1)](https://twitter.com/intent/tweet?url=https://paymattic.com/docs/how-to-add-user-defined-amount-field-in-wordpress-with-paymattic/)
- [![LinkedIn](https://paymattic.com/wp-content/plugins/betterdocs/assets/static/images/social/linkedin.svg?v=4.8.1)](https://www.linkedin.com/shareArticle?mini=true&url=https://paymattic.com/docs/how-to-add-user-defined-amount-field-in-wordpress-with-paymattic/)
- [![Pinterest](https://paymattic.com/wp-content/plugins/betterdocs/assets/static/images/social/pinterest.svg?v=4.8.1)](https://pinterest.com/pin/create/button/?url=https://paymattic.com/docs/how-to-add-user-defined-amount-field-in-wordpress-with-paymattic/)

Still stuck? How can we help? 

## How can we help?

Updated on March 21, 2025

[How to Add Item Quantity Field in WordPress with Paymattic?](/docs/how-to-add-item-quantity-field-in-wordpress-with-paymattic/)[How to Add Tax Calculated Amount Field in WordPress with Paymattic?](/docs/how-to-add-tax-calculated-amount-field-in-wordpress-with-paymattic/)

Powered by [BetterDocs](https://betterdocs.co)
