How to Fix "Lazerpay is not a constructor" Node SDK Error
While testing the Lazerpay Node SDK, I ran into this issue where the SDK throws this TypeError:Lazerpay is not a constructor error right after you instantiate the SDK.
Here's my code snippet
const Lazerpay = require('lazerpay-node-sdk');
const lazerp...
koha.hashnode.dev1 min read