#sabrinalh5

1 messages ยท Page 1 of 1 (latest)

echo gorgeBOT
gritty igloo
weary dirge
#

Thanks, toby. We are successfully generating a client secret on our server side and return that back to the client. We are running into issues when rendering the Setup element.

#

Do you have any suggestions?

#

We just ran the code in the example from the link you provided and it did not work ๐Ÿ˜ฆ

gritty igloo
#

What are the "issues"? It's hard to provide suggestions without understanding what problems you're running into.

weary dirge
#

We are getting the stripePromise and clientSecret, they both print to the console. However, the payment element is still not rendering, despite following the structure of the example code from the Stripe docs. What other information can we provide that would be helpful?

gritty igloo
#

Are you seeing any errors? From either the frontend or backend side of your flow?

wheat maple
#

Both flows seem to be working. Error is that it's not rendering anything to DOM besides an unstyled "Submit" button from the <SetupForm/> component on Page

#

Both 'stripePromise' & 'clientSecret' are logged to console successfully

gritty igloo
#

When you check your server logs, and the console in your browser, do you see any error messages?

wheat maple
#

Just checked - not seeing anyting. Is there something you're expecting us to find?

gritty igloo
#

Yes, if the Element can't be mounted, I'd expect to see an error indicating why somewhere.