Mollie for Contact Form 7


Add-on plugin for Contact Form 7 – adds three fields and a shortcode.

Mollie Description

Add a (hidden) field: [text paymentdescription “Payment for This is my description”]

Payment amount

The amount which needs to be payed.
Does accept shortcodes without brackets like so:
[amount* amount-734 “CF7_GET key=’Amount'”]

Payment Options

Optional field so that the user can select from available payment options.
This field is filled automatically with all payment options from Mollie.
You can also add extra options like “cash”.
If this field is not present, people have to select the payment option on the mollie website.
If there is only one payment option available this will be automatically selected.

There are three Payment options types:


The type is “oneoff”, ment for payment that occur once


This list all availbale payment options for recurring payments

Initial payment

This lists all available payment options to do the first payment of a recurring payment.
This initial payment is needed to confirm the recurring payment.

If you want to do recurring payment and you have only one recurring payment option available, you can skip this the recurring field.
Only an Initial payment field is enough.

iDeal bankchoice:

If payment option iDeal is chosen, this field can be used to select the bank (issuer).


You can optionally add a field with name “frequency” to use with the recurring payment to set the payment frequency in months.


You can optionall add a date field with the name “chargedate” to use with the recurring payment to set the first chargedate.


This shortcode can be used on a custom redirect page or on the form page itself.

The shortcode can have a shortcode nested within it.
It accepts two arguments, both can include layout and pictures:
succes — the succes message to be displayed
fail — the failure message to be displayed

On succes only the success message will be displayed.
In all other cases the nested content will be displayed.

Shortcode can thus be used like this:

[payment_result success = “Uw donatie is succesvol ontvangen. Hartelijk dank daarvoor!” ¬†fail = “Uw donatie is mislukt, probeert u het alstublieft opnieuw.”]

[payment_result success = "Your payment was successful." fail = "Payment failed, try again."]

    Fill in the form below to pay.
    [contact-form-7 id="211" title="Paymentform"]  
    Thank you.

In this case the contact form with id 211 will not be shown on successful payment, only the success message will.

All arguments are optional, you can also use the shortcode like this: [payment_result].
In that case the default messages will be:
‘Payment was successful, thank you.’
‘Payment failed, please try again.’


General Settings

Create a Mollie account, and paste the api into the side-wide api key field under “Mollie”, or use it on the form specific settings tab.

Optionally define a redirect page.


One off payment

[hidden paymentdescription "Payment for some description"]

<label> Donation amount
[amount* amount-185 min:5]</label>

<label> Payment method
[paymentchoice paymentmethod-901 paymenttype:oneoff]</label>

<label> Your bank brand
[bankchoice bankchoice-22]</label>

Recurring Payment with multiple recurring methods avaialble

[hidden paymentdescription "Payment for some description"]

<label> Donation amount
[amount* amount-185 min:5]</label>

<label> Payment method
[paymentchoice paymentmethod-14 paymenttype:recurring]</label>

<label> Payment method for first payment
[paymentchoice paymentmethod-15 paymenttype:first]</label>

<label> Your bank brand
[bankchoice bankchoice-22]</label>

<label> How often do you want to pay
[select frequency "1" "3" "6" "12"] months</label>

<label> When do you want to be charged for the first time?
[date chargedate]</label>

Minimal Recurring Payment

[hidden paymentdescription "Payment for some description"]

<label> Donation amount
[amount* amount-185 min:5]</label>

<label> Payment method for first payment
[paymentchoice paymentmethod-15 paymenttype:first]</label>


  • The main api key field
  • Form specific settings
  • Payment amount field
  • Payment options field
  • Bank choice field


Installing Mollie for Contact Form 7 can be done either by searching for “Mollie for Contact Form 7” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via
  2. Upload the ZIP file through the “Plugins > Add New > Upload” screen in your WordPress dashboard.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Visit the settings screen and configure, as desired.


Why are the payments not stored in a database table?

Payments are already stored in the Mollie system, this is just a payment plugin, so no other options are included.


12 september 2019
I'm using this plugin for a few months now and works absolutely fine. With my programming background I made some code changes to suit my purpose. But if the same can be achieved via for example a 'settings' tab in the form, that will increase the usability significantly: - option to pass amount value as calculated by a different plugin - option to add few more fields to metadata (in mollie) - option to have custom description (in mollie) - option to send email to buyer notifying success/failure of payment
25 april 2019
This plugins gives an error in combination with the plugin "Mollie Payments for WooCommerce".
Lees alle 2 beoordelingen

Bijdragers & ontwikkelaars

“Mollie for Contact Form 7” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


Vertaal “Mollie for Contact Form 7” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.



  • Redirecturl fix


  • Fixed broken payments with decimal amounts.


  • Fixed url payments: /?amount=XXX&formid=XXX&paymentoption=ideal&description=SOMEDESCRIPTION&paymenttype=first/oneoff


  • Fix for global ai key


  • Small bugfix in combination with conditional fields plugin


  • Mollie API updated to 2.10.0
  • Support for recurring payments


  • Better layout of the payment options
  • If only one payment option, the option is chcked by default


  • Bug fix


  • Bug fix for certain API keys


  • Removed capital letters from field names


  • Small textual changes


  • Small bugfixes


  • Public release.


  • Added payment webhook.
  • Added shortcode


  • Initial release