Skip to content

ifthenpay/ifthenpay-payments-for-wpforms

Repository files navigation

ifthenpay | Payments for WPForms

Adds ifthenpay payment methods to WPForms: cards, wallets, and local payment options; supports secure one-time payments via pay-by-link.


Table of Contents

Description

This plugin integrates the ifthenpay payment gateway with WPForms to enable seamless payment collection directly from your forms. Payments are processed through a secure pay-by-link system, ensuring that no sensitive card or banking data is stored on your website. Customers can complete payments using their preferred method via a secure payment page. After submitting a form, users are shown a payment interface (modal or popup) where they complete the transaction; ifthenpay then sends a server-side callback to update the payment status automatically.

In plain terms you get:

  • One-time payments directly from WPForms
  • Support for coupons and automatic total calculations
  • Merchant backoffice (basic sales) on web + mobile
  • Secure automatic payment confirmations (no card numbers stored)

All settings are made in WPForms and in your ifthenpay Backoffice. The plugin is built so site owners can manage payments without needing deep technical knowledge.

Key Features

  1. Full integration with WPForms Lite and Pro payment flow
  2. Secure transactions
  3. Automatic payment confirmation
  4. Support for multiple payment methods (cards, wallets, transfers)
  5. Coupon and discount support via WPForms
  6. Modal or popup payment display modes
  7. Real-time payment status in WPForms entries
  8. Multi-language support (EN, ES, FR, PT)
  9. Security first (no card data stored)

Requirements

  • An active ifthenpay merchant account — subscribe here to obtain your credentials.
  • A WPForms Gateway Key (request this from ifthenpay support/helpdesk).
  • The payment methods you want enabled on that Gateway Key (our helpdesk team will guide you).
  • WordPress 6.5+ and PHP 8.2+, and WPForms installed and activated.
  • HTTPS (SSL) enabled on your site.

Installation

  1. Install: Upload the plugin zip via Plugins → Add New → Upload, or install from WordPress.org and Activate.
  2. Credentials: Ensure your ifthenpay account has an active WPForms Gateway Key with the desired payment methods enabled.
  3. Setup: Go to WPForms → Settings → Payments and enter your Backoffice Key.
  4. Form config: Create/Edit a form → Payments tab → Add the Ifthenpay field on your form → enable "ifthenpay | Payment Gateway" and select a Gateway Key. Next, choose which payment methods to activate from those available in your gateway, and set your default payment method. Finally, add a payment description, which will be displayed on the ifthenpay payment page for all transactions.

Frequently Asked Questions

Does this plugin require WPForms? Yes. WPForms must be installed and active to use this plugin.
Does it support recurring payments? No. This version supports only one-time payments via pay-by-link.
Are payment details stored? No. The plugin does not store card numbers or full bank details. Only minimal references required for payment matching are kept.
Does it support WPForms coupons? Yes. WPForms coupon fields are fully supported and discounts are automatically calculated.
Which payment methods are supported? Any ifthenpay method attached to your Gateway Key (e.g. Multibanco, MB WAY, Payshop, Credit Card, Cofidis, Google Pay, Apple Pay, Pix).
How does the payment process work? After form submission, users are presented with a secure payment page (modal or popup). Once payment is completed, the status is updated automatically via callback.
What happens if a payment fails? The entry is marked as Failed. Users can retry the payment depending on your configuration.
Can I customize the payment experience? Yes. You can configure display mode, button label, description, and styling within WPForms.
Is there a sandbox? ifthenpay may provide test entities; if unavailable, use a low-value live test.
How secure is the integration? Requests are encrypted over HTTPS; no sensitive payment data is stored.

External Services

This plugin integrates with the ifthenpay payment platform to process payments for WPForms submissions. ifthenpay is a third-party service that provides secure payment processing for cards, wallets, and local bank transfers.

  • WPForms

    • What it is and what it is used for: A form builder plugin used to create payment forms. This plugin extends its payment capabilities.
  • ifthenpay Backoffice & Integrations

    • What it is and what it is used for: The ifthenpay Backoffice is the merchant dashboard used to manage integrations and payment configurations. The plugin uses the ifthenpay API to generate payment links and validate transactions.
    • What data is sent and when:
      • During setup: Backoffice Key and Gateway Key for authentication and configuration retrieval.
      • During payment processing: Transaction ID, amount, description, enabled payment method accounts, success/error/cancel return URLs, language, and optionally the selected payment method, customer email, customer name, and form field data.
      • During callbacks: Payment status, Transaction ID, and payment method.
    • End-User License Agreement (EULA): EULA
    • Privacy Policy: Privacy Policy

All network requests are performed server-side over HTTPS. Sensitive credentials are stored securely and are not publicly exposed. No raw card or bank details are stored.

Screenshots

Below are screenshots demonstrating key features and interfaces of the plugin:

  1. (Admin Only) Backoffice Synchronization under WPForms Settings Payments Backoffice Settings
  2. (Admin Only) WPForms's admin page (Creation/Editing Form -> Payments) Gateway Settings
  3. (Admin Only) Adding ifthenpay's Payment field to the selected form Adding Field to Form
  4. (Admin Only) ifthenpay's Payment field Basic configuration options Field Basic Settings
  5. (Admin Only) ifthenpay's Payment field Advanced configuration options Field Advanced Settings
  6. (Customers Experience) Payment Gateway field display varies by WPForms settings Display of Field
  7. (Customers Experience) Payment Modal Window Payment Modal

Support

For assistance use the WordPress.org support forum:

Pre-checks:

  • Payment method enabled on Gateway Key AND mapped to Integration
  • Running current recommended versions of WordPress, PHP, & WPForms

Commercial helpdesk available (no direct email required): helpdesk.ifthenpay.com