Paddle requires these two scripts to be insert before </body> in HTML:
<script src="https://cdn.paddle.com/paddle/paddle.js"></script>
<script type="text/javascript">
Paddle.Setup({ vendor: 1234567 });
</script>
But NextJS doesn't have HTML files and when I insert into return function, { vendor: 1234567, debug: true } part creates a '}' expected error.
Does anyone know how to solve this?