#thisguy-onreddit_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1295585074078810214
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What is the issue you're facing?
I've been successful getting the "strip hosted page" variant to work with my blazor app, but the "embedded form" version has me stumped.
A .razor component does not return a "Json()" actionresult what should be done after I create the session and a clientSecret?
I'm not too familiar with how Blazor works. In general, your server should return the client secret to the client side to render the embedded Checkout Session. It's not needed to be in JSON format, but in the format that your component is able to read the client secret value
Unfortunately I'm not much of an expert on Blazor either. Is there any area of the Stripe developer documentation I should be looking in for help with blazor web server apps?
I'm afraid Stripe doesn't have an integration sample for Blazor. I'd recommend checking with Blazor docs: https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor, or online developer community such as StackOverflow on how to return the value from the server to your client in Blazor
Alright, I will continue hunting. Thanks for being responsive.