Plugin Documentation

Detailed guide to all features, payment gateways, and settings of CP Contact Form with PayPal.

How It Works

From the WordPress administrator perspective, setting up a form takes three steps:

  1. Add and arrange your form fields in the visual Form Builder.
  2. Configure the form processing, email notifications, and PayPal/payment gateway settings.
  3. Publish the form on any page or post using the Gutenberg Block, Elementor widget, Publish Wizard, or shortcode.

From the visitor (end user) perspective, the workflow is as follows:

  1. The user fills in the form fields.
  2. If PayPal / payment integration is disabled:
    1. The user clicks "Submit" and the website administrator receives a notification email with the submitted data.
    2. The user receives an automated confirmation ("thank you") email.
    3. The user is redirected to your designated "Thank You" page.
  3. If PayPal / payment integration is enabled:
    1. The user clicks "Submit" and is redirected to PayPal (or completes on-site payment).
    2. In the background: The submission is saved in your WordPress database and marked as "Not Paid".
    3. The user completes the payment at PayPal.
    4. In the background: PayPal sends an Instant Payment Notification (IPN) to your site. The plugin verifies the payment, marks the submission as "Paid", and sends the notification email to the administrator.
    5. The user receives an automated confirmation email.
    6. The user is redirected to the "Thank You" page on your WordPress website.

Installation

To install the plugin in WordPress, follow these steps:

  1. Download the plugin .zip file to your computer.
  2. Log in to your WordPress administration dashboard and go to Plugins.
  3. If you have an older or free version of the plugin installed, deactivate and delete it first (your existing forms and submissions are safely preserved in the database).
  4. Click the "Add New" button at the top of the Plugins screen.
  5. Click "Upload Plugin" and select the .zip file downloaded in step 1.
  6. Click "Install Now" and then "Activate Plugin".

Quick Start Wizard & Starter Templates

Launch a fully configured PayPal payment, donation, booking, or contact form in under 2 minutes using the guided 3-Step Quick Start Wizard under CP Contact Form with PayPal >> Quick Start Wizard.

  1. Step 1 — Pick a Starter Template: Choose a ready-to-use template tailored to your workflow instead of building fields from scratch:
    • Free Edition Templates: Paid Consultation / Contact, PayPal Donation Form (Open Amount), Event / Workshop Registration, Simple Service / Product Order, and Minimal Contact Form.
    • Platinum Edition Templates: Service Packages & Add-Ons (with dynamic radio/checkbox pricing), Paid Consultation / Booking (with interactive date picker), Event / Workshop Registration (with priced ticket-tier dropdown), PayPal Donation Form, and Pay Now or Pay Later Order (optional PayPal).
  2. Step 2 — Connect PayPal & Pricing: Configure your base price, tax rate, currency, and PayPal method (PayPal Standard email-only setup or PayPal REST API Smart Buttons with a live Test API Connection verifier for both Sandbox and Live modes).
  3. Step 3 — 1-Click Page Publishing: Automatically create a new WordPress page (Draft or Published) or append the form to an existing page using the native Gutenberg block or shortcode.
Tip: When you select PayPal REST API (Smart Buttons) together with an open-amount donation ($0 base price), the Quick Start Wizard automatically inserts and links a visitor-editable Donation Amount field so Checkout always receives a valid positive total.

Inserting a Form on a Page

  1. Configure your form under CP Contact Form with PayPal in the WordPress admin menu.
  2. You can embed the form using the CP Contact Form with PayPal block in the Gutenberg Block Editor, the Elementor Widget, the Publish Wizard button, or the classic editor icon:

    Insert Form

  3. Alternatively, paste the shortcode [CP_CONTACT_FORM_PAYPAL id="1"] directly into any page or post. When viewed on the public website, the shortcode renders your live payment form:

    Rendered Form

Managing Forms

Navigate to CP Contact Form with PayPal in your WordPress admin menu to view your list of forms:

Forms List

For each form in the list, you have the following options:

  • ID: Unique identification number of the form, used in shortcodes.
  • Form Name: Internal name used to identify the form in the admin area.
  • Rename / Update: Saves changes to the form's name.
  • Settings: Opens the visual Form Builder and configuration tabs for the form.
  • Publish: Opens the 1-click Publish Wizard to embed the form in a new or existing page/post.
  • Messages: Opens the searchable, printable list of submissions (both paid and unpaid) for that form.
  • Clone: Creates an exact duplicate of the form and its settings.
  • Delete: Deletes the form and its settings.
  • Shortcode: One-click copyable shortcode for embedding the form on any page or post.
Revenue & Conversion Stats & WordPress Dashboard Widget

Track payment performance directly inside WordPress without third-party analytics scripts:

  • Multi-Currency Total Collected: Automatically aggregates completed payment totals grouped by currency across the Forms List (last 30 days), the filtered Messages screen, and the native WordPress Dashboard Widget.
  • Paid Conversion Rate & Status KPIs: Displays Paid vs. Total submissions, conversion percentage, Pending/Unpaid counts, and Refunded counts (refunded entries are excluded from collected revenue).
  • At-a-Glance Form Pills: Each form in the Forms List displays its price, payment method, Live/Sandbox environment pill, and setup status indicators.
  • Platinum Analytics Upgrades: The Platinum Edition expands stats with Average Order Value (AOV), interactive SVG Daily Revenue Trend Charts (14-day, 30-day, and custom date-filtered windows with per-bar hover tooltips), and a Per-Form Revenue & Conversion Breakdown table.
Checking Submissions

Messages Screen

Click the "Messages" button next to any form to view its submissions. The Messages screen includes a filter bar to search submissions by keyword, date range, or form.

From the Messages screen you can manually toggle a submission's status between Paid and Not Paid, process PayPal refunds, edit or add entries (in the Platinum version), print the list, delete individual or bulk entries, and export submissions to a CSV file.

Exporting Submissions to a UTF-8 CSV File

Exporting Submissions

To export submissions to a spreadsheet, open the Messages screen, optionally filter by date or keyword, and click "Export to CSV". Exports use native UTF-8 encoding (with BOM) via fputcsv() for seamless international character support in Microsoft Excel and Google Sheets, with automatic CSV formula-injection protection. The first row uses each field's "Short label" (or standard "Field Label").

PayPal IPN Error Logs & One-Click Payment Recovery

Navigate to CP Contact Form with PayPal >> IPN Error Logs to diagnose any failed, pending, or rejected PayPal Instant Payment Notifications (IPN).

  • Complete Diagnostic Context: Every log entry records the timestamp, HTTP status code, linked form and submission ID, PayPal Transaction ID, payer email, expected vs. received merchant email, expected vs. paid amount and currency, error code, actionable resolution hint, and expandable raw IPN payload.
  • Primary PayPal Email Requirement: If your PayPal account has multiple email addresses, PayPal always sends your account's PRIMARY email address as receiver_email in IPN notifications. If a form was configured with a secondary alias, IPN Error Logs highlights the mismatch and offers a one-click "Set Primary Email in Form" button.
  • One-Click Payment Recovery: After verifying a legitimate transaction in your PayPal account, click "Mark Paid & Send Emails" directly from the log row to mark the submission as Paid, record the transaction ID/token to prevent duplicate retries, and dispatch the admin and customer confirmation emails.
  • Strong Payment Security: All new submissions use cryptographic order tokens (ipn_token), database concurrency locking, and transaction replay protection.

The Form Builder

The visual Form Builder lets you add, rearrange, edit, and remove fields, as well as configure validation rules and conditional dependencies.

Form Builder

Form Title and Predefined Designs

The "Form Settings" tab in the builder lets you set the form's header title, description, label alignment (top-aligned, left-aligned, or right-aligned), and visual template.

Form Settings Tab

No-Code Submit Button & Form Appearance Customizer

Style your public form and payment button with a live preview directly inside 1. Form Builder >> Submit Button & Form Appearance—no CSS coding required:

  • Form Container Theme: Choose between Clean / Inherit Theme, Modern Card (white surface, soft border & subtle shadow), or Compact Minimal.
  • Button Presets & Custom Colors: Pick one-click presets (PayPal Gold, PayPal Blue, Modern Dark) or choose custom background and text hex colors.
  • Shape & Width: Select Rounded, Pill, or Square corners and Auto Width or Full Width (100%).
Available Field Types (*):
  • Single Line Text: Standard single-line text input.
  • Number: Validates numeric or digits-only input with optional min/max limits.
  • Slider: Interactive slider handle for selecting numeric values.
  • Currency: Formatted currency input supporting custom symbols, decimals, and thousand separators.
  • Hidden: Hidden input field for passing fixed or dynamic metadata.
  • Email: Validates that the entered value is a properly formatted email address.
  • Date/Time: Interactive calendar date-picker (with optional month/year dropdowns, min/max dates, and time selection).
  • Checkboxes: Allows selecting one or more options, with optional price calculation per choice.
  • Radio Buttons (Multiple Choice): Allows selecting one option from a list, with optional price calculation.
  • Dropdown: Select menu supporting dynamic pricing and conditional dependencies.
  • Upload File: Allows visitors to upload documents or images with their submission.
  • Password: Masked password input (supports "Equal To" confirmation matching).
  • Phone Field: Segmented phone input with configurable format masks (e.g., ### ### ####).
  • Instruct. Text / Comment Area: Displays instructional text or section notes inside the form.
  • Accept / GDPR: Required consent checkbox with a link or popup dialog for terms/privacy policies.
  • Summary: Displays a live summary of the values entered by the user before submission.
  • Section Break: Visual divider line with an optional title and description to group sections.
  • Page Break: Splits the form into multiple pages with "Next" and "Previous" buttons.
  • HTML Content: Allows embedding custom HTML code or scripts directly inside the form.
  • Media: Embeds images, audio, or video files inside the form.
  • Button: Custom button control for triggering custom JavaScript actions.
* Note: The Free version includes the essential contact fields (Single Line Text, Email, Text Area, and Accept / GDPR). All 20+ advanced field types are included in the Platinum version.
Container Fields

Container controls allow you to group multiple fields together or arrange them in multi-column rows:

  • Fieldset Container: Wraps grouped fields inside a bordered fieldset with a title legend.
  • Div Container: Groups related fields cleanly into multi-column layouts without adding visible borders.
DataSource Fields (Platinum Version)

The Platinum version includes dynamic DataSource (DS) controls that automatically populate their values or choices from external sources:

  • Line Text DS: Text input populated from a Database query, WordPress Posts, Taxonomies, or User data.
  • Number DS: Numeric input populated from a Database query, Posts, Taxonomies, or User data.
  • Email DS: Email field populated from a Database query or logged-in WordPress User data.
  • Text Area DS: Text area populated from a Database query or Post content.
  • Checkboxes DS: Checkbox group dynamically populated from a Database, CSV file, Posts, Taxonomies, or Users.
  • Radio Btns DS: Radio button group dynamically populated from a Database, CSV file, Posts, Taxonomies, or Users.
  • Drop-down DS: Dropdown menu dynamically populated from a Database, CSV file, Posts, Taxonomies, or Users.
  • Hidden DS: Hidden input populated from a Database, Posts, Taxonomies, or Users.
Editing Field Settings in the Form Builder

Field Settings

Click any field in the form preview on the right to edit its properties in the "Field Settings" tab:

  • Field Label: The label displayed on the public form and in notification emails.
  • Short label (optional): Column header name used when exporting submissions to CSV.
  • Field tag for the message: The specific tag (e.g., <%fieldname1%>) you can copy into notification emails or the thank-you page.
  • Field Size & Layout: Controls field width (Small, Medium, Large) and choice arrangement (One Column, Two Columns, Three Columns, Side by Side).
  • Validation Rules: Set whether the field is Required, or specify min/max character lengths or numeric bounds.
  • Predefined Value: Default value or placeholder text shown inside the field.
  • Instructions for User: Helpful hint text displayed below the field (or as a floating tooltip).
  • Add CSS Layout Keywords: Add custom CSS class names (e.g., column2, column3) to style or align specific fields.
  • Equal To Validation: Ensures two fields match (e.g., "Confirm Email" or "Confirm Password").
Configuring DataSource Controls (Platinum Version)
  1. Add a DataSource control (ending in DS) to your form and click it to open its settings.
  2. Locate the "Define Datasource" section and choose the source type:
    • Database: Populates the field using a local WordPress or external MySQL database query.
    • CSV: Populates multi-choice fields (Drop-down DS, Checkboxes DS, Radio Btns DS) from a CSV file.
    • Post Type: Populates the field from WordPress posts, pages, or custom post types (e.g., WooCommerce products).
    • Taxonomy: Populates the field from categories, tags, or custom taxonomies.
    • User Data: Populates the field from WordPress user accounts (such as the currently logged-in user).

Example — Connecting to a Database Table:

  1. Select Database from the datasource list.
  2. If connecting to an external database, enter the Host, Username, Password, and Database Name, then click Test Connection. (Leave these blank to use the local WordPress database.)
  3. Specify the column name for Values, the column name for Texts (labels), the Table Name, and optional Condition (WHERE), Order By, and Limit clauses.

For advanced queries, select "Custom Query" and use AS value and AS text aliases:

SELECT column1 AS value, column2 AS text FROM tablename WHERE column3 > 5 ORDER BY column2 ASC LIMIT 5

You can also filter queries dynamically using values from other form fields with the <%fieldname#%> syntax inside the WHERE condition (for example: ID=<%fieldname3%>).

Example — Using a CSV File as a DataSource:

  • Select CSV file: Choose or provide the URL to your CSV file.
  • Use headline: Check this if the first row of the CSV contains column headers.
  • Delimiter: Specify the separator character (comma, semicolon, or tab).
  • Click "Import CSV" to load the columns, then select which column provides the choice Texts and which provides the Values.
Creating Conditional Dependencies Between Fields

Radio buttons, checkboxes, and dropdown menus can dynamically show or hide other fields based on the visitor's selection:

  1. Click the radio button, checkbox, or dropdown field in the form preview.
  2. In the Choices section of the Field Settings tab, click the "Show Dependencies" link.
  3. Next to each choice, select the field that should be displayed when that choice is selected (click the + icon to attach multiple dependent fields to the same choice).

Form Settings Area

Validation Settings

Validation Settings

Customize or translate the validation messages shown to visitors when a field is incomplete or invalid:

  • "is required" text: Shown when a required field is left blank.
  • "is email" text: Shown when an email field does not contain a valid email address.
  • "is valid date (mm/dd/yyyy)" / "(dd/mm/yyyy)" text: Shown when a date does not match the expected format.
  • "is number" / "only digits" text: Shown when non-numeric characters are entered into numeric fields.
  • "under maximum" / "over minimum" text: Shown when a value falls outside the allowed range.
PayPal Payment Configuration

PayPal Payment Configuration

  • Enable PayPal Payments: Choose whether PayPal is required, optional (letting users choose between PayPal and "Pay Later"), disabled (standard contact form), or connected via PayPal Pro, Express, or REST API.
  • When should the notification-confirmation emails be sent?: Choose whether emails are sent after payment is confirmed by PayPal (default) or immediately before payment.
  • PayPal Mode: Choose Production for live payments or SandBox for testing with a PayPal developer sandbox account.
  • PayPal Email: The PRIMARY email address linked to your PayPal merchant account. Important: PayPal always sends your primary email address as receiver_email in IPN callbacks—do not enter a secondary PayPal email alias here.
  • Request Cost: The base payment amount charged for the form.
  • Automatically identify prices on dropdown and checkboxes?: When enabled, any price written inside a selected dropdown, radio button, or checkbox option (e.g., $30, $24.99, or $1,499.99) is automatically added to the base request cost.
  • Use a specific field from the form for the payment amount: Adds the numeric value entered into a selected form field to the base request cost (ideal for open donation amounts or calculated fields).
  • Currency: Any PayPal-supported currency code (e.g., USD, EUR, GBP, CAD, AUD).
  • Taxes (percent): Optional tax percentage applied to the total at checkout.
  • Request address at PayPal: Choose whether PayPal should prompt the buyer for a shipping address.
  • A $0 amount to pay means: Choose "Don't require any payment (skip PayPal)" (ideal for 100% discount coupons or free tiers) or "Let the user enter any amount at PayPal" (for open donations).
  • PayPal Product Name: The item name shown on the PayPal checkout screen. Supports field tags such as <%fieldname3%>.
  • PayPal Language: Two-letter language code for the PayPal checkout interface (e.g., EN, ES, FR, DE).
  • Payment Frequency: Choose a one-time payment or recurring subscription billing (weekly, monthly, every 3/6/12 months, or dynamically taken from a form field), including optional setup/trial period fees.
  • Discount Codes: Create percentage or fixed-amount coupon codes with usage limits and expiration dates.
PayPal REST API (Smart Buttons — PayPal, Cards & Pay Later)

Available in both the Free and Platinum editions, the PayPal REST API integration renders official PayPal Smart Buttons inline on your form so customers can pay with PayPal, Debit/Credit Cards, or Pay Later without leaving your website—and without configuring PayPal IPN URLs.

  1. In your form settings under 2. PayPal & Payments, set PayPal Integration Method / Enable PayPal Payments to PayPal REST API (Smart Buttons).
  2. Create a REST API app in the PayPal Developer Dashboard (Sandbox or Live) and paste your REST API Client ID and REST API Secret.
  3. Click "Test API Connection" to verify your credentials live against the selected PayPal Mode (Sandbox or Production) before publishing.
  4. Customize your Smart Button Payment Methods (All available methods or PayPal button only) and button appearance: Color (Gold, Blue, Silver, White, Black), Shape (Rectangle or Pill), and Layout (Vertical Stack or Horizontal).
Server-Side Verification & $0 Totals: Every PayPal REST API transaction is verified server-side against PayPal's Orders v2 API (checking status, currency, exact cent amount, and order token) before marking a submission as Paid. If a form calculates a $0.00 total (for example, via a 100% coupon or free tier), the submission is safely verified server-side and completed without redirecting to PayPal.
PayPal Pro Integration (Platinum Version)

PayPal Pro Settings

With the PayPal Pro integration included in the Platinum version, visitors can enter their credit card details directly on your website without being redirected to an external payment page.

To use PayPal Pro, you need a PayPal Payments Pro merchant account and an SSL (HTTPS) certificate on your website to ensure cardholder data is transmitted securely.

  • Enable PayPal: Select "Yes - PayPal Pro" (or one of the optional PayPal Pro + PayPal Standard modes).
  • PayPal Pro - API UserName: Your NVP API Username from your PayPal merchant account.
  • PayPal Pro - API Password: Your NVP API Password.
  • PayPal Pro - API Signature: Your NVP API Signature.
  • Store payment info?: Defaults to "No (recommended)". If set to "Yes", billing details and a masked card number (XXXX-XXXX-XXXX-1234) are saved with the submission and can be referenced in emails using tags such as <%ppro_firstname%>, <%ppro_cctype%>, and <%ppro_ccnumber%>.
Form Processing / Admin Email Settings

Email Settings

  • "From" email: The sender email address used for outgoing notifications. Important: Always use an email address belonging to your website's domain (e.g., info@yourdomain.com) so mail providers (Gmail, Outlook, Yahoo) do not flag notifications as spam.
  • Destination emails (comma separated): One or more administrator email addresses that will receive submission notifications.
  • Email subject: Subject line of the admin notification email.
  • Include additional information?: Appends the visitor's IP address, browser info, and server timestamp to the admin email.
  • Thank you page: The URL where users are redirected after completing their submission or payment.
  • Error / Cancel page: Optional URL where users are sent if they cancel payment (leave blank to return to the form page).
  • Email format?: Choose between Plain Text and HTML.
  • Message: The body of the admin email. Include <%INFO%> to output all submitted non-empty fields.
Email Copy to User (Auto-Responder)

Email Copy to User

  • Send confirmation/thank you message to user?: Enables or disables the automatic confirmation email sent to the visitor.
  • Email field on the form: Select which email field in your form contains the visitor's email address.
  • Email subject: Subject line of the confirmation email sent to the user.
  • Email format?: Choose between Plain Text and HTML.
  • Message: The body of the user confirmation email (supports <%INFO%> and individual field tags).
Built-in Zero-Friction Anti-Spam (Honeypot) & Image Captcha

Every form includes Built-in Invisible Anti-Spam Protection enabled by default under 4. Validation & Spam Protection:

  • Invisible Honeypot + Signed Timing Verification: Silently blocks automated spam bots using a hidden trap field and a cryptographically signed minimum fill-time check—requiring zero API keys and zero puzzles for real paying customers. Fully compatible with page caching and automatically bypassed in admin Add/Edit Message screens.
Optional Image Captcha Settings

Captcha Settings

  • Use Captcha Verification?: Enables or disables the built-in anti-spam security image.
  • Width / Height / Chars: Customize the dimensions and number of characters in the captcha image.
  • Min / Max font size: Range for randomized character sizing.
  • Noise & Noise Length: Adjusts the background security lines/dots.
  • Background / Border / Font: Customize the colors and font family with a live preview.

Full Native GDPR & WordPress Privacy Integration

Both the Free and Platinum editions integrate natively with WordPress's built-in Privacy Tools and include automated data retention controls—with no external privacy add-on required:

  • Accept / GDPR Consent Field: Add a required consent checkbox directly in the Form Builder linking to your Privacy Policy page or opening an inline consent modal.
  • IP Address Minimization: Control whether visitor IP addresses are recorded/emailed per form (Include additional information? defaults to No on new Quick Start forms).
  • Native Personal Data Exporter: Registered with WordPress Tools >> Export Personal Data to export matching form submissions and IPN diagnostic logs for any email address.
  • Native Personal Data Eraser (Accounting-Safe Mode): Registered with WordPress Tools >> Erase Personal Data. Under CP Contact Form with PayPal >> GDPR, WordPress Privacy & Data Retention, choose between:
    • Anonymize paid records & delete unpaid (Recommended): Strips personal details (email, IP, message fields, PayPal Pro billing data, and uploaded files in Platinum) from paid records while preserving non-personal amounts and PayPal Transaction IDs for tax and accounting compliance.
    • Permanently delete all matching records: Completely removes all matching submissions, IPN logs, and associated uploaded files (Platinum).
  • Privacy Policy Guide: Automatically provides suggested privacy policy text under Settings >> Privacy >> Policy Guide describing form storage, PayPal processing, and your configured retention windows.
  • Automated Daily Data Retention Cleanup: Configure independent auto-delete schedules (7 days to 7 years, or Never) for Unpaid / Abandoned Submissions, Paid / Completed Submissions, and IPN Error Logs. A daily WP-Cron job prunes expired entries automatically (including removing orphaned uploaded files in Platinum), and you can run cleanup on demand via "Run Cleanup Now".

WordPress Abilities API & Official MCP Adapter (AI Agents)

On WordPress 6.9+ (including WordPress 7.0 and 7.1), CP Contact Form with PayPal natively registers typed, permission-checked capabilities with the core WordPress Abilities API under the cp-contact-form-with-paypal category. When paired with the official WordPress MCP Adapter plugin, AI assistants such as Claude, ChatGPT, Cursor, VS Code, and WP-CLI can safely discover and invoke plugin tools over the Model Context Protocol (MCP).

Safe-by-Default Security Posture: Out of the box, only Read-Only and Safe Creation abilities are exposed. State-changing/recovery operations and live PayPal API refunds are disabled by default and require explicit opt-in under CP Contact Form with PayPal >> Manage Forms >> AI Agents, WordPress Abilities API & MCP Integration. PayPal API secrets, IPN tokens, and PayPal Pro card/billing details are strictly redacted from all ability outputs.
Quick Setup with Official WordPress MCP Adapter
  1. Run WordPress 6.9 or newer with HTTPS enabled.
  2. Install and activate the official MCP Adapter plugin from WordPress.org (wordpress.org/plugins/mcp-adapter/).
  3. Generate a WordPress Application Password (under Users >> Profile) for an Administrator account (or, in Platinum, a form-assigned user via cp_user_access).
  4. Point your MCP client to your site's default HTTP MCP server endpoint (shown with a one-click Copy button inside the plugin's AI Agents card):
    https://your-site.com/wp-json/mcp/mcp-adapter-default-server
    Or connect locally via WP-CLI over STDIO:
    wp mcp-adapter serve --server=mcp-adapter-default-server --user=your_admin_username
  5. MCP clients automatically discover all enabled plugin tools via mcp-adapter/discover-abilities, inspect JSON schemas via mcp-adapter/get-ability-info, and execute calls via mcp-adapter/execute-ability.
Registered Abilities & 3-Tier Opt-In Model
  • Tier 1 — Read-Only & Safe Creation (Enabled by Default — 11 in Free / 12 in Platinum):
    • cp-contact-form-with-paypal/list-forms & get-form — List and inspect forms, pricing, mode, and decoded fields (secrets redacted).
    • cp-contact-form-with-paypal/list-templates — List built-in Quick Start templates.
    • cp-contact-form-with-paypal/get-stats — Multi-currency revenue, conversion rate, and counts (Platinum also returns Average Order Value, daily series, and per-form breakdowns).
    • cp-contact-form-with-paypal/list-submissions & get-submission — Search and inspect paginated submissions (tokens and card fields redacted).
    • cp-contact-form-with-paypal/list-coupons (Platinum) — List discount/coupon codes, usage counts, and expiry status for a form.
    • cp-contact-form-with-paypal/list-ipn-error-logs — Inspect failed PayPal IPN diagnostics and resolution hints.
    • cp-contact-form-with-paypal/get-privacy-settings — Read GDPR retention windows, erasure mode, and cleanup schedule.
    • cp-contact-form-with-paypal/create-form, clone-form & publish-form — Safely create forms from templates (defaults to Sandbox mode), clone existing forms, and publish forms to new pages (defaults to Draft status).
  • Tier 2 — State-Changing, Coupons & Recovery (Opt-In — 8 in Free / 10 in Platinum):
    • cp-contact-form-with-paypal/update-form-settings & update-form-fields — Apply validated partial updates to whitelisted settings (never touches raw API secrets) and form fields.
    • cp-contact-form-with-paypal/create-coupon & delete-coupon (Platinum) — Create or delete promotional discount codes.
    • cp-contact-form-with-paypal/update-submission-status & recover-ipn-payment — Mark submissions Paid/Not Paid, fix primary PayPal email mismatches, and recover failed IPN payments with confirmation emails.
    • cp-contact-form-with-paypal/delete-submission & delete-form — Single-record deletion requiring explicit confirm: true (bulk delete-all is intentionally never exposed).
    • cp-contact-form-with-paypal/update-privacy-settings & run-privacy-cleanup — Update GDPR retention rules or run immediate cleanup (requires confirm: true).
  • Tier 3 — Financial Refunds (Separate High-Impact Opt-In — Admin Only):
    • cp-contact-form-with-paypal/refund-submission — Executes a full PayPal NVP refund on a paid transaction. Requires Administrator role, both Tier 2 and Tier 3 opt-ins enabled, per-form refund credentials, and explicit confirm: true.
Permissions, Role Scoping & Audit Log
  • Free Edition: Strictly restricted to authenticated WordPress Administrators (manage_options).
  • Platinum Edition (Form-Scoped User Access): Administrators can optionally allow non-admin users assigned to specific forms via cp_user_access (Form Settings >> Tab 5: Access) to query and manage only their assigned forms across 8 form-scoped abilities (list-forms, get-form, get-stats, list-submissions, get-submission, list-coupons, update-submission-status, and delete-submission). Site-wide, creation, IPN log, refund, and privacy abilities remain strictly Administrator-only.
  • AI Activity Audit Log: Records the last 50 ability executions (timestamp, WordPress user ID, ability name, status, and concise summary without secrets or PII) directly inside the AI Agents management card.

Tags Allowed in Notification Emails & Thank You Pages

You can personalize your notification emails, confirmation emails, and thank-you pages using the following dynamic tags:

  • <%INFO%> — Replaced with all field labels and values submitted in the form.
  • <%fieldname#%> — Replaced with the value of a specific field (e.g., <%fieldname1%>, <%fieldname3%>).
  • <%itemnumber%> — The unique submission ID number (also used as the PayPal order reference).
  • <%Cost%> — The calculated price sent to PayPal (after discounts).
  • <%Costtax%> — The total amount including tax.
  • <%coupon%> — The discount/coupon code applied to the submission (if any).
  • <%payment_type%> — The selected payment method (e.g., PayPal or Other when PayPal is optional).
  • <%user_login%>, <%user_id%>, <%user_email%>, <%user_firstname%>, <%user_lastname%>, <%display_name%> — Details of the logged-in WordPress user who submitted the form (if logged in).

Payment Gateways Integration

In addition to built-in PayPal support, the Platinum version includes add-ons for connecting your forms to multiple payment gateways. A single form can even offer multiple payment gateways simultaneously—displaying a radio button selector so customers can choose their preferred payment method at checkout.

PayPal Standard Payments

PayPal Standard is built directly into the plugin core. See the PayPal Payment Configuration section above for setup details.

PayPal Pro Add-On

PayPal Pro Add-On

Allows customers to pay by credit card directly on your website without leaving your page. See the PayPal Pro Integration section above for API configuration details.

Authorize.Net Server Integration Method (SIM) Add-On

Authorize.Net

The Authorize.Net SIM add-on connects your forms to Authorize.Net's hosted payment form, handling card collection, settlement, and PCI compliance securely.

Activate Authorize.Net Add-On

To enable it, go to CP Contact Form with PayPal >> Add-Ons Manager, check "Authorize.net Server Integration Method", and click Activate / Deactivate Add-Ons.

Authorize.Net Settings

  • Enable Authorize.net SIM?: Select "Yes" to enable Authorize.Net for the form.
  • Mode: Choose "test" for sandbox testing or "production" for live transactions.
  • API Username (Login ID) & API Key (Transaction Key): Enter the credentials from your Authorize.Net merchant account.
  • Receipt URL: The URL where users return after a successful payment. Important: You must also configure this Receipt Link URL inside your Authorize.Net Merchant Interface.
  • Cancel URL: The URL where users return if payment is canceled or fails.

Stripe Payments Add-On

Stripe

The Stripe Payments add-on lets you accept major credit/debit cards directly on your website using Stripe. An SSL (HTTPS) certificate is required on your website for live transactions.

To enable it, activate "Stripe" in the Add-Ons Manager, then configure the following in your form settings:

Stripe Settings

  • Enable Stripe?: Select "Yes" to enable Stripe on the form.
  • Stripe.com Publishable Key & Secret Key: Found in your Stripe Dashboard API Keys page.
  • Payment frequency: Select one-time payments or recurring subscriptions (with optional trial days and plan name).

Skrill Payments Add-On

Skrill

The Skrill Payments add-on connects your forms to Skrill's hosted checkout supporting cards, digital wallets, and local bank transfers (skrill.com).

Skrill Settings

  • Enable Skrill Payments?: Select "Yes" to enable Skrill on the form.
  • Skrill Email: The email address linked to your Skrill merchant account.
  • Receipt URL & Cancel URL: Return pages after successful or canceled payment.
  • Currency: Three-letter currency code (e.g., USD, EUR, GBP).

TargetPay (iDEAL) Add-On

TargetPay iDEAL

Provides Dutch iDEAL online banking integration via TargetPay. Activate "iDeal TargetPay" in the Add-Ons Manager and configure your RTLO Subaccount ID, failure return URL, and mode (test or production) in the form settings.

TargetPay Settings

Mollie (iDEAL) Add-On

Mollie iDEAL

Provides iDEAL payment integration via Mollie. Activate "iDeal Mollie" in the Add-Ons Manager, then enter your Mollie API Key (test or live) and failure return page in the form settings.

Mollie Settings

RedSys / Servired / Sermepa TPV Add-On

RedSys TPV

Provides virtual POS (TPV) credit card integration for Spanish banks (Santander, BBVA, CaixaBank, Sabadell, Bankinter, etc.) via RedSys.

RedSys Settings

  • Enable TPV: Select "Yes" to enable RedSys on the form.
  • CÓDIGO COMERCIO: Merchant code provided by your bank / RedSys.
  • CLAVE SECRETA: Secret encryption key provided by RedSys.
  • Mode: Select "Sandbox" for testing or "Production" for live payments.

SagePay Add-On

SagePay

Integrates your forms with the SagePay (Opayo) payment gateway. Activate "SagePay Payment Gateway" in the Add-Ons Manager, then configure your Vendor ID, SagePay Encrypt Password, and mode (Sandbox or Production) inside the form settings.

SagePay Settings

SagePayments Add-On

SagePayments

Connects your forms to Sage Payment Solutions (Shopping ExpressPay). Activate "SagePayments Payment Gateway" in the Add-Ons Manager, then configure your Merchant ID (M_id) and optional billing field mappings in the form settings.

SagePayments Settings

Workflow, CRM & Security Add-Ons

All add-ons included in the Platinum version can be enabled with one click in the Add-Ons Manager on the main plugin page:

Add-Ons Manager

iCal Export Attached Add-On

Automatically generates and attaches an iCal (.ics) calendar invite to confirmation emails so users can import the event into Google Calendar, Apple Calendar, or Outlook.

iCal Export Settings

  • ID of the field that contains the date: The field ID of a Date field on your form (e.g., fieldname1).
  • iCal entry summary & description: Customize the calendar event title and description using form field tags.
  • Timezone & Daylight Saving settings: Adjust server time offsets if needed.

Signature Add-On

Signature Add-On

Converts selected form fields into interactive signature pads where visitors can sign using a mouse, stylus, or touchscreen.

Signature Settings

  • Color & Line thickness: Customize the ink color (e.g., #000000) and stroke width.
  • Show guideline & Guideline color: Toggle and style the horizontal signing baseline.

MailChimp Add-On

MailChimp

Automatically adds form submitters as subscribers to your MailChimp audience lists.

MailChimp Settings

  1. Enter your MailChimp API Key in the form settings.
  2. Click "Get Lists" to fetch your MailChimp audiences.
  3. Select an audience list and click "Get Fields and Groups" to map your form fields to MailChimp merge fields and interest groups.

Twilio SMS Add-On

Twilio

Sends automated SMS text notifications to administrators and/or customers via Twilio when a form is submitted or paid.

Twilio Settings

  • Account SID & Authentication Token: Provided in your Twilio console.
  • From Phone Number: Your Twilio sender phone number (including country code).
  • To Phone Number / To Phone fields: Comma-separated admin phone numbers or form field IDs (e.g., fieldname2) to text the customer.
  • Message: SMS text content (supports all email notification tags).

Clickatell SMS Add-On

Clickatell

Sends automated SMS notifications to administrators and customers via Clickatell.

Clickatell Settings

  • Account API Key: Your Clickatell API Key.
  • To Phone Number / To Phone fields: Destination phone numbers or form field IDs (e.g., fieldname2).
  • Message: SMS text content (supports all email notification tags).

WooCommerce Add-On

Integrates custom forms with WooCommerce products so product prices can be dynamically calculated from user selections and added directly to the WooCommerce cart.

  • Enter the ID of the form: Links a specific form to the WooCommerce product.
  • Calculate the product price through the form: Overrides or adds to the product price using the form's calculated cost.
  • Minimum price allowed: Enforces a floor price for the product.
  • Activate the summary: Displays the submitted form fields inside the WooCommerce cart and order details.

WooCommerce Add-On

SalesForce Add-On

Automatically creates new leads in your SalesForce CRM account using Web-to-Lead.

  • Enter the OID (Organization ID): Your SalesForce Organization ID.
  • Enabling debug: Optional debug mode to send lead creation logs to your email.
  • Add attribute: Map SalesForce standard or custom lead attributes to your form fields (fieldname#).

SalesForce Add-On

WebHook & Zapier Add-On

Posts submitted form data in real time to one or more WebHook URLs, enabling seamless integration with Zapier, Make, Zoho CRM, Dropbox, Google Drive, and hundreds of external web apps.

Tip for Zapier: Choose Webhooks by Zapier as the Trigger app and select "Catch Hook", then paste the generated webhook URL into the WebHook section of your form settings.

WebHook Add-On

Google reCAPTCHA Add-On

Protects your forms from automated spam using Google reCAPTCHA instead of the traditional image captcha. Activate the reCAPTCHA add-on and enter your Google reCAPTCHA Site Key and Secret Key.

reCAPTCHA Add-On

Post Creation Add-On

Automatically creates and publishes a WordPress post after a form is submitted (or paid) using the submitted field values for the post title, content, category, tags, and featured image.

Post Creation Add-On

IP to Country Add-On

Identifies the visitor's country from their IP address, pre-selects the corresponding PayPal locale/country where applicable, and provides three additional email tags:

<%ip%>
<%countrycode%>
<%countryname%>

Troubleshoot Area & General Settings

Troubleshoot Area

Located below the main forms list, the Troubleshoot Area helps resolve script caching conflicts or character encoding issues:

  • Script load method: Switch from Classic to Direct if a third-party caching/optimization plugin prevents the form from rendering on the frontend.
  • Character encoding: Updates the database table collation if special or non-Latin characters are not displaying properly.

Tips & Tricks

Storing Data in a Different Database (Platinum Version)

The Platinum version allows you to insert submitted form data into an external MySQL database or custom table by editing the cp_contactformpp_insert_in_database.php file located in the plugin directory.

First, define your database connection constants at the top of cp_contactformpp_insert_in_database.php:

define( 'DATABASE_HOST', '' );
define( 'DATABASE_USER', '' );
define( 'DATABASE_PASS', '' );
define( 'DATABASE_NAME', '' );
define( 'DATABASE_TABLE', '' );

Next, map your form fields (e.g., fieldname1, fieldname2, fieldname3) from the $params array and customize the INSERT INTO SQL query to match your table's column names:

$field1 = mysqli_escape_string( $db_link, $params['fieldname1'] );
$field2 = mysqli_escape_string( $db_link, $params['fieldname2'] );
$field3 = mysqli_escape_string( $db_link, $params['fieldname3'] );

mysqli_query( $db_link, "INSERT INTO `" . DATABASE_TABLE . "` (firstname, lastname, email) VALUES ('$field1', '$field2', '$field3');" );