'Module undefined' in JS


I’d like to realize ‘recurring SEPA-payments’ via “Mollie” so I’ve uploaded the Mollie-library (Mollie JS API client for Node) in the backend-section. After doing so I get lots syntax-errors saying ‘Module is undefined’. Anyone have an idea what’s going on and how to fix this?
Next to that I’m open for any suggestion to realize ‘recurring SEPA-payments’ in an easier way without coding. (Paypal is not an option for my audience in the Netherlands.)

Hi Marco,

We do not support module exports in node.
You will have to refactor the code to match the ES6 syntax, which is supported by the wixcode ide.

You can find more information here and here