An add-on for Contact Form 7 to connect to Mollie.
Add-on plugin for Contact Form 7 – adds three fields and a shortcode.
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.
If payment option iDeal is chosen, this field can be used to select the bank (issuer).
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 = "You 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.’
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.
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:
Payments are already stored in the Mollie system, this is just a payment plugin, so no other options are included.