Skip to main content
Version: current

Mollie Payments Integration


Mollie Logo

Overview#

Our integration with Mollie payments uses https://github.com/mollie/mollie-api-node to provide a production ready checkout that supports multiple payment methods. This ships with both our example projects.

If you want to see a live example head over to our demo site.

Our integration includes:

  • client/src/pages/shop/Checkout/components/payments/Mollie (Client side components)
  • @deity-io/falcon-mollie-plugin(Client side plugin)
  • @deity/falcon-payments-mollie (Server side provider)

Supported Features#

  • Refunds
  • Shipments
  • Payment methods:
    • iDEAL
    • Credit Card:
      • Mastercard
      • Visa
      • American Express
      • Maestro
    • PayPal
    • Klarna Pay Later
    • SOFORT Banking
    • Giropay
    • SEPA Bank Transfer
    • Bancontact
    • Gift card (Fashioncheque)
    • Voucher
    • EPS
    • Przelewy24
    • KBC

Getting started#

All yo need to do is add your Mollie configuration

1. Create a Mollie account / API keys#

You can register for an account here.

Once you've created an account you should be able to find your API keys and profile ID in the developers section.

Mollie Account Api keys

You'll need your API keys later.

2. Add your Mollie details to your Falcon Platform config#

If you're using our example app demo-v2 all you need to do now is add your Mollie details to your server side config.

The Mollie provider should already exist in your components->payments. server/config/default.json

{
"components": {
"payments": {
"config": {
"providers": {
"mollie": {
"enabled": true,
"package": "@deity/falcon-payments-mollie",
"config": {
"apiKey": null,
"profileId": null,
"testMode": false
}
}
}
}
}
}
}

You just need to add you profileId and apiKey. These should be added in your server/config/local.json locally and on your production environment you can use these constants:

"profileId": "PAYMENT_MOLLIE_PROFILE_ID",
"apiKey": "PAYMENT_MOLLIE_API_KEY"

Deity Cloud Environment Variables#

  • FALCON_PAYMENTS_ENABLED: [bool] - You need to use Falcon Payments to use our Mollie integration.

  • PAYMENT_MOLLIE_ENABLED: [bool] - Enable Mollie

  • PAYMENT_MOLLIE_PROFILE_ID: Your profile id

  • PAYMENT_MOLLIE_API_KEY: Your mollie key

  • PAYMENT_MOLLIE_TEST_MODE: [bool] - Whether mollie is running in test mode

  • PAYMENT_MOLLIE_METHOD_PAYPAL: [bool] - Whether the PayPal payment method is enabled

  • PAYMENT_MOLLIE_METHOD_IDEAL: [bool] - Whether the iDEAL payment method is enabled

  • PAYMENT_MOLLIE_METHOD_CREDITCARD: [bool] - Whether the credit card payment method is enabled

  • PAYMENT_MOLLIE_METHOD_KLARNAPAYLATER: [bool] - Whether the Klarna paylater payment method is enabled

  • PAYMENT_MOLLIE_METHOD_SOFORT: [bool] - Whether the Sofort payment method is enabled

  • PAYMENT_MOLLIE_METHOD_GIFTCARD: [bool] - Whether the Giftcard payment method is enabled

  • PAYMENT_MOLLIE_METHOD_GIROPAY: [bool] - Whether the Giropay payment method is enabled

  • PAYMENT_MOLLIE_METHOD_VOUCHER: [bool] - Whether the Voucher payment method is enabled

  • PAYMENT_MOLLIE_METHOD_BANCONTACT: [bool] - Whether the Bancontact payment method is enabled

  • PAYMENT_MOLLIE_METHOD_BANKTRANSFER: [bool] - Whether SEPA Bank Transfer method is enabled

  • PAYMENT_MOLLIE_METHOD_EPS: [bool] - Whether EPS method is enabled

  • PAYMENT_MOLLIE_METHOD_PRZELEWY24: [bool] - Whether Przelewy24 method is enabled

  • PAYMENT_MOLLIE_METHOD_KBC: [bool] - Whether KBC method is enabled

Useful Links#

Ask the community. #help

If you can't find what you're looking for, the answer might be on our community slack channel. Our team keep a close eye on this and will usually get back to you within a few hours, if not straight away. If you haven't created an account yet please sign up here slack.deity.io.

Stay up to date

Do you want to be informed when we release new features or fixes? Sign up to our newsletter to stay in the loop.