#sadiq-mumuney_code

1 messages ¡ Page 1 of 1 (latest)

stone stirrupBOT
#

👋 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.

frozen wren
zenith mist
#

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.

frozen wren
#

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.

zenith mist
#

Thank you very much. You have been very kind.

#

Best wishes.