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)
- Payment methods:
- Credit Card:
- American Express
- Klarna Pay Later
- SOFORT Banking
- SEPA Bank Transfer
- Gift card (Fashioncheque)
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.
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.
You just need to add you
apiKey. These should be added in your
server/config/local.json locally and on your production environment you can use these constants:
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