Hello Everyone.
Just want to ask. Anyone tried integrating stripe without using any middleware?
I'm trying to process stripe payment via suitelet and I've already build a form but I'm getting an error upon loading stripe library file in suitelet.
Any ideas what's wrong?
Your suggestions are highly appreciated.
Thanks,
b
battk
01/31/2021, 7:07 AM
In general those types of libraries are written to run in node or the browser
battk
01/31/2021, 7:08 AM
The suitescript environment is neither
battk
01/31/2021, 7:10 AM
You can try sharing what error you have with which library, but your expectation should be to use the library in the environment it should run in, or
battk
01/31/2021, 7:10 AM
Modify it to work in suitescript, or write your own code to interact with stripe's api
battk
01/31/2021, 7:11 AM
General warning, you are doing something wrong if you get a credit card number serverside
b
B M E
02/01/2021, 3:34 AM
Hi @battk
Thanks for the reply. is there a way to process the submission of payment form in the client side? I need to push it in stripe.