NextJS integreation errors


can anyone help me i am having trouble importing paynow in my NextJs application it is producing the following errors


Good day, please try swapping your import statement with the one from the docs:

const { Paynow } = require("paynow");


i tried that and got the same result


Hmm, can you please create a zip file of your project and send via private message so I can try to reproduce the issue and see where the error is emanating from.