#iggy
1 messages · Page 1 of 1 (latest)
Hi there
Are you testing locally?
What are you setting as the success_url?
You said: ```I am setting it as SuccessUrl = domain + "/success.html",
and the domain is var domain = "http://localhost:4242/";
yes testing locally
Gotcha
And you have a success.html file created in your directory?
What backend are you using?
Can you share your Express code? Do you have express.static("public") set?
no I don't think I have that set. Let me try
Did this solve things here @unreal sierra ?
not yuet
yet
I am not sure where to place the express.static("public") code
this is for a asp.net core project
this is javascript code correct Bismark?
This is node, yes.
I'm not familiar with asp.net
But you said you were using Express
Can you share your Express code?
From a quick google search, asp.net is a .NET framework, no?
So you wouldn't use Express with it?
I'm not using express. Asp.net core has a setting to indicate that you want to use static files.
I am able to navigate to the static file and it is served.
it only does not work after being redirected from the payment processing page from Stripe.
Ah oops
You said iis express above
I misread
But yeah, this sounds like an asp.net specific thing for serving a file upon a redirect.
I'm not sure I can be of much help here unfortunately
bismarck, firstly thank you for your help.
The weird thing is that I did nothing; reran it again and suddenly it worked. I don't know if that will stay consistent though. That is why I quit programming and went into accounting; it drives me nuts sometimes.
lol that is indeed strange
But honestly I have seen stuff like that happen in local development
If you can access the page directly, there isn't really a reason as far as I know that you shouldn't be able to redirect to it successfully
But that being said... I know very little about .NET frameworks