#zaid_alam_
1 messages · Page 1 of 1 (latest)
hi, I have taken the code from stripe doc react + java, but when am hitting api I am getting the response but in UI no design is coming
Are there some errors in the browser console or your logs?
my create-payment-intent api in not showing status
I think react and backend integration somewhere issue is coming
backend giving the clientsecret but that is not coming to UI
It looks like there are 11 errors on that page. Can you share a screenshot of them?
Hey! Taking over for my colleague. Let me catch up.
okk
First of all I want to make sure the you are following this link?
https://stripe.com/docs/payments/quickstart?platform=web&client=react&lang=java
it looks like a proxy error with your Visual Studio Code
How are you running your application? both backend and frontend ?
I am running my backend and then my VS by npm start
how you are running your backend ? because it's seems like there is a proxy misconfiguration in your local VScode
Is your server actually running on port 4242?
my backend server (intellij) running on 8080
Then there's your issue: you're proxying requests from your React app to localhost:4242
You need to fix that in package.json
(assuming you're using Create React App)
Line 13