Add-on plugin for Contact Form 7 – adds three fields and a shortcode.
Add a (hidden) field: [text paymentdescription “Payment for This is my description”]
The amount which needs to be payed.
Does accept shortcodes without brackets like so:
[amount* amount-734 “CF7_GET key=’Amount'”]
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
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.
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.
Shortcode for payment result
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.
You can include shortcodes just use $l for [ and $r for ]
Shortcode can thus be used like this:
[payment_result success = “Uw donatie is succesvol ontvangen. Hartelijk dank daarvoor! $lSome shortcode$r” 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. [/payment_result]
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.’
Shortcode for payment overview
The short code [paymentstable] gives an oveview of all payments made.
It accepts the parameters: hide, header, paymenttype and columns
hide difines the columns no to shown
header changes the title
paymenttype define whether to show only subscriptions (paymenttype=”subscription”) or only one time payments (paymenttype=”onetime”)
columns defines custom column names.
status=”paid” only shows payments with the status paid
search = “!Description=’Some decription'” shows all payments excluding the one with “Some decription” as description
search = “Description=’Some decription'” shows all payments with “Some decription” as description
[paymentstable} hide=”Time,OrderID,CustomerID,Times,PaymentID, Status,SubscriptionID” header=Custom table title” columns=”ID,Naam,E-mail,Bedrag, Omschrijving,Frequentie,Start datum, Mogelijke acties” status=”paid” search=”!Description=’Some description'”]
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"] [submission_id_hidden orderid] <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>
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:
- Download the plugin via WordPress.org.
- Upload the ZIP file through the “Plugins > Add New > Upload” screen in your WordPress dashboard.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- 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.
Col·laboradors i desenvolupadors
«Mollie for Contact Form 7» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.Col·laboradors
Interessats en el desenvolupament?
Registre de canvis
- Library update to 2.29.0
- Activation bug fix
- Library update to 2.24.0
- Contact Form 7 update
- Now possible to search in table
- Now possible to change the payment interval
- now possible to use shorcodes within the payment handler shortcode
- Bugfix in the webhook
- Payments stus translation
- Small bugfix
- Clean payments table on Api reset
- Bugfix in recurring webhook call
- Add overview of payments per customer
- Add css
- Translated into Dutch
- Fix in subscription frequency not being stored
- It is now possible to have more than 1 shortcode within the result shortcode
- Added the possibility to manually add payment mandates on the admin page
- Bugfix for recurring payments
- Added “include blank” for bank choice
- Added Contact Form class to bankchoice dropdown.
- Small bugfix
- Give payment options the same options as radio buttons:
** default:1 now works
- Added paymentchoice* to make it required to select a paymentoption
- Added the time to the payment table
- Fixed amount validation for numbers with a comma
- Added status argument to table shortcode to filter on payment status
- Fixed bug in redirect url handling
- Bugfix for page redirect
- Added extra logging
- Fixed non-valid api bug
- Fixed deletion of subscriptions
- Fixed mandatory amount validation
- Possibility to edit a customer name and e-mail
- Bugfix when aving two hortcodes on the same page
- add listener for an “orderid” field
- Fix in js
- Fixed bug in custom payment handler
- Added count as an option to the shortcode (count=”true”) will add a total amount row to the table.
- Fix for amount field
- Added shortcode paymentstable
- Update to Mollie API 2.12.0
- Fix when having multiple fields with the same name
- Support for recurring payments, including cancelling and editing
- Payments get stored in a special database
- 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