This package has been deprecated

Author message:

Mollie plugin is now included in @vendure/payments

vendure-plugin-mollie
TypeScript icon, indicating that this package has built-in type declarations

1.2.5 • Public • Published

Channel aware payment provider for Mollie

Vendure version
This plugin is channel-aware, meaning you can have a different API key and redirect Url per channel.

1. Add in plugin list in vendure-config.ts:

MolliePlugin.init('https://yourhost.io/');

Pass your publicly available Vendure host to the plugin. This is used by Mollie to let the plugin know when the status of a payment changed.

does not work with localhost Use something like localtunnel to test locally.

2. Admin ui

  1. Go to the Vendure admin
  2. Go to settings > paymentMethods and create a payment method with the name mollie-payment-YOUR_CHANNEL_TOKEN. This specific name is used in the webhook from Mollie.
  3. Set the redirectUrl, this is the url that is used to redirect the end-user. I.E. https://storefront/
  4. Set the your Mollie key in the apiKey field.

The redirect url is used like this: ${redirectUrl}order/${order.code}, so your user will be directed to the page on https://storefront/order/CH234X5

Pinelab.studio logo

Readme

Keywords

none

Package Sidebar

Install

npm i vendure-plugin-mollie

Weekly Downloads

1

Version

1.2.5

License

MIT

Unpacked Size

14 kB

Total Files

10

Last publish

Collaborators

  • mbrug