WP Simple Pay Documentation

Documentation, Reference Materials, and Tutorials for WP Simple Pay

Tips & Tricks

Join our Newsletter

Please enable JavaScript in your browser to complete this form.
Get tips, tricks, and resources delivered directly to your mailbox.
WP Simple Pay
Save 70%!

How to Create Custom Form Field Smart Tags

If you use our custom form fields to collect user data, you may wish to use that data for other purposes. Below, you will see how to collect custom form field data, use it in your payment confirmation pages and various emails, and record it in the Stripe Dashboard.

When adding a custom field, enter the label you want to show in the Stripe dashboard into the Stripe Metadata Label area.

You are automatically presented with the appropriate smart tag:

Generating a WP Simple Pay smart tag

Once copied, the smart tag can then be pasted into your payment confirmation page, one of your WP Simple Pay emails, etc.

Using a WP Simple Pay smart tag
An example showing the smart tag pasted into a payment confirmation page

All custom form field labels and the submitted data will automatically be sent to the Stripe Payment object Metadata section.

Creating Advanced Smart Tags

To output additional information related to payments or subscriptions, use the {payment:key}, and {customer:key} smart tags to access Stripe object data.

You can generate your own Smart Tags to access properties of the Customer, PaymentSubscription, or Invoice records, such as:

For example:

Not all nested objects are expanded or available.

Using these custom smart tags, you can create more personal and flexible payment confirmation pages and emails.

Still have questions? We’re here to help!

Last Modified:

Start Accepting Payments Today

Start accepting one-time and recurring payments or donations on your WordPress website.