i finally got stripe working using serverless functions from netlify. the thing that seemed to mess everything up was changing my netlify.toml file from:
[bui