How to let user connect their stripe account for my E-Commerce website so that they can receive the money from the customer who buys theor product in
I am building my own E-Commerce Website using Next.js at this moment, and I have provided a functionality for those who wants to sell their products using my website. However, I got an issue now since I am still the only one who are able to receive the money. So, is there any chance to allow users to integrate their own stripe account in my website so that they can receive the money directly from the customer who buys their product?
How do I adjust my code to function from a next.config.js file to .mjs file?
My old code in the .js
file looked like this:
Can’t fix error 405 in next.js with stripe
I can’t figure out what is causing 405 error when trying to fetch an endpoint in next.js
Here is my fetch function: