#iggy

1 messages · Page 1 of 1 (latest)

fiery crescentBOT
subtle sapphire
#

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/";

unreal sierra
#

yes testing locally

subtle sapphire
#

Gotcha

#

And you have a success.html file created in your directory?

#

What backend are you using?

unreal sierra
#

it is in the public directory

#

iis express

subtle sapphire
#

Can you share your Express code? Do you have express.static("public") set?

unreal sierra
#

no I don't think I have that set. Let me try

subtle sapphire
#

Did this solve things here @unreal sierra ?

unreal sierra
#

not yuet

#

yet

#

I am not sure where to place the express.static("public") code

#

this is javascript code correct Bismark?

subtle sapphire
#

This is node, yes.

#

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?

unreal sierra
#

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.

subtle sapphire
#

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

unreal sierra
#

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.

subtle sapphire
#

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