Open grantgoodart opened 5 years ago
Just wanted to say I also posted this issue on the samples repository - https://github.com/AuthorizeNet/sample-code-csharp/issues/99
Running into the same issue with the 2.0.0 release.
I attempted to run the sandbox with the 1.9.7 SDK version. It through the same ambiguous error as described above.
When I backed it down to 1.9.6, it works again. So there is something blowing up in the purchase process for the hosted payment page and whatever that error might be is not being rendered.
Hi, Apologies for the inconvenience caused. There seems to be a bug in the way that DateTime values are handled in the C# SDK.
A fix has been sent and is pending release ( #257 ). A temporary workaround for this is to include a valid date for order.purchaseOrderDateUTC in the format "YYYY-mm-dd".
transactionRequest = new transactionRequestType {
amount = "100.00",
transactionType = transactionTypeEnum.authCaptureTransaction.ToString(),
order = new orderType {
invoiceNumber = invoiceId,
description = invoiceId,
purchaseOrderDateUTC = new DateTime(2018, 03, 23, 11, 00, 00, DateTimeKind.Utc)
}
}
Sadly, the above workaround does not solve my problem. I am attempting to use the 2.0.0 SDK and it still throws the generic error. Is there any way to find out what the error is that is being thrown?
I have tried the above work around, and it has not fixed the issue for me either....
Hi, Apologies for the inconvenience. I initially thought that this would fix it.
In any case, I've escalated this to the relevant team and I will keep this thread updated with the progress.
So sad. After three months, there are no fixes. We are not expecting this from Authorize.net. Only the 1.9.6 version is working fine.
Still no fix? happens to me in Italy ( but not with my colleague in USA )
Still no fix for this. Confirmed that rolling back to the 1.9.6 version works correctly. Honestly surprised that the pr (1 line change!) hasn't been merged yet?
Any update on what the issue is and when it will get fixed. Can't test a new integration for a client.
The only way I got around this for now is to exclude the "order" in transactionRequest.
The only way I got around this for now is to exclude the "order" in transactionRequest.
Yes, that would work, except I actually need to send order information. I reverted back to 1.9.6 and things seem to be working. I tried 1.9.7 but it didn't work either.
@gnongsie, is there any update on this? It seems there are many developers hoping for a solution.
@gnongsie, is there any update on this? It seems there are many developers hoping for a solution.
No update... Waiting till May 13th, 2019
It seems that the issue is still not fixed even in version 2.0.1. The only latest working version is 1.9.6
Including the order property on the transactionRequestType causes payments to fail using the Accept Hosted Sandbox form. I created a new MVC Application in Visual Studio using .NET Framework 4.5.2. The code below works if I use nuget package version 1.9.6, but if I use 1.9.7 this same payment will fail until I remove the transactionRequestType order property.
Global.asax.cs
HomeController.cs
Index.cshtml