#sadiq-mumuney_code
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/1242944433440296971
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
This is a server where web developers talk to Stripe developers about specific integration issues. If you're looking for general help then we likely won't be able to assist.
I would recommend looking through our Quickstart Guide for Checkout with .NET: https://docs.stripe.com/checkout/quickstart?lang=dotnet
Thanks for your response.
This has just taken me back to the same page I've battled with over the last 10hrs.
Even when I copy the sample codes word for word, I am not able to create a session when trying to ember or get redirected when tryiing a stripe hosted service,
For example, when trying to redirect I get pushed to a non-existed file called "create session" because the pay button on the checkout page is tied to a form that submits to "/create-session"
I have no clue how else to get the session created and pass parameters around.
public class Program
{
public static void Main(string[] args)
{
WebHost.CreateDefaultBuilder(args)
.UseUrls("https://minosky.com")
.UseWebRoot("public")
.UseStartup<Startup>()
.Build()
.Run();
}
}
I changed the parameters from the IIS ones to reflect my hosting server domain. Other than that everything else is as in the examples.
Unfortunately we don't have the bandwidth to be able to walk you through step-by-step to get started. These are fairly basic web development concepts and we would expect you to be able to do things like step through your code and troubleshoot why you're performing a redirect instead of a call to a server endpoint.