AuthorizeNet / sdk-dotnet

.Net SDK for Authorize.Net API
Other
149 stars 206 forks source link

Support for .net 6 core? #296

Open inzi opened 1 year ago

inzi commented 1 year ago

Will AuthorizeNet be creating a core version of this?

Any suggestions other than refactoring this by hand? Is it just easier to switch to something like spreedly?

pmarangoni commented 1 year ago

How about .NET Core 7?

guy9800 commented 1 year ago

Unfortunately, this repo looks pretty much dead. Also, it seems this is not actually Authorize.Net code. See this comment here https://github.com/AuthorizeNet/sdk-dotnet/issues/263#issuecomment-602876039

Not to mention, the full behavior of this API as it is would not translate well into .Net 6. For example, each controller creates an individual HttpRequest object for each REST call. Refactoring this into a set of repositories allowing for generic service registration would be a rather daunting task and quite a bit of code. Understandable that they let a free codebase die with .Net Framework.

However, I will say that, with a bit of effort, an adaptation is not a bidge too far. It would still take a tremendous amount of work on the developer's part, but given things like the cc charge is a flat $0.10/transaction and other processing providers float in the $0.30 range, might be worth considering.

pmarangoni commented 1 year ago

Wow! I had no idea! Thank you for pointing this out. I gotta say though that I am NOT surprised.