Open kamph488 opened 2 months ago
Your const PaymentButton
has me worried you're doing something potentially dangerous, ie. exposing your API Key to the Client. I recommend you review https://github.com/mollie/mollie-api-node?tab=readme-ov-file#a-note-on-use-outside-of-nodejs.
I recommend the following:
I'm running into this error each time and can't figure out what the problem is.
TypeError: undefined is not an object (evaluating 'import_util.inspect.custom')
I've created the following code:
Of course with a test api key from Mollie. When I comment out the line
const mollie = createMollieClient({ apiKey: 'test_xxxxx' });
the error is gone..Please help.