NextJS integreation errors


#1

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


#2

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

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

#3

i tried that and got the same result


#4

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.