Click here to Skip to main content
15,887,288 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a Stripe integration which is working fine in my asp.net core 2.1 application.
However when I upgrade to .Net 3.0 it stops working.
The only error I get is
:44371/ajax/confirm_payment:1 Failed to load resource: the server responded with a status of 500 ()

Any help please.

What I have tried:

I've tried different appriaches to upgrades, and updated the Stripe in Nuget.
Posted

Stripe has their own Discord channel you can ask this question on.

For more developer information, including the link to the the Discord, find it at https://docs.stripe.com/development[^].
 
Share this answer
 
You don't provide the details that you would need to diagnose a problem. When you get a 5xx error from a server, this indicates that processing failed at the server for some reason (e.g., you might have a bad gateway error to deal with). 500 is the default "catch all" status that indicates there was an "internal server error".

Presumably, the change in the .NET version has changed the request that is being sent to the server but, as we haven't seen how you are actually doing the request, we can't offer any guidance. What you could do, locally, is log the full request that you are sending out in the 2.1 and 3.0 versions, and then see what the difference is in the requests.

I would have to ask, why are you using .NET 3.0? This is an old version of .NET that is no longer under long term support (LTS). You should consider using .NET 6, or .NET 8 now, which are both LTS versions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900