Help with Next.js and payment gateway #13164
Unanswered
HanliTheron
asked this question in
Help
Replies: 1 comment 2 replies
-
Hard to tell from this, but I suspect it could be to do with the server-side rendering nature of Next.js Make sure that the script only gets called on the client side. You could do this with You can also ensure a script only fires on the client by doing something like
You can also try and just copy-and-paste the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, I'm wondering if anyone can give me some advice in how to implement step 2 of this payment gateway in a Next.js app: https://peachpayments.docs.oppwa.com/tutorials/integration-guide.
I'm not exactly sure how I'm supposed to embed their form tag in React or if it will even work in Next. I've this thus far, script seems to fire but I get no rendered form.
I just render this component on a page.
Beta Was this translation helpful? Give feedback.
All reactions