#zaid_alam_

1 messages · Page 1 of 1 (latest)

tulip gazelleBOT
rotund kestrel
#

Hi there!

#

What is your question?

dim pike
#

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

rotund kestrel
#

Are there some errors in the browser console or your logs?

dim pike
#

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

rotund kestrel
#

It looks like there are 11 errors on that page. Can you share a screenshot of them?

dim pike
#

ok sharing

#

proxy errors in VS

#

there @rotund kestrel ???

outer ore
#

Hey! Taking over for my colleague. Let me catch up.

dim pike
#

okk

outer ore
dim pike
#

yaah i followed this doc only

#

shall i zip my code ?

outer ore
#

it looks like a proxy error with your Visual Studio Code

#

How are you running your application? both backend and frontend ?

dim pike
#

I am running my backend and then my VS by npm start

outer ore
#

how you are running your backend ? because it's seems like there is a proxy misconfiguration in your local VScode

dim pike
#

shall I zip my code ??

#

how i can override the issue

north flame
#

Is your server actually running on port 4242?

dim pike
#

my backend server (intellij) running on 8080

north flame
#

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)

dim pike
#

yes in react

#

what should i refract here ?

north flame
#

Line 13

dim pike
#

fine ?

#

Thank you @north flame u saved me ..thanks a lot