AuthorizeNet / sdk-dotnet

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

Setting up InvoiceNumber for authCaptureTransaction using GetAnAcceptPaymentPage is throwing an unexpected error. #303

Open richardybias opened 1 year ago

richardybias commented 1 year ago

GetAnAcceptPaymentPage is not working when I include the orderType, I am getting unexpected error.

[(https://www.screencast.com/t/m9VcgLf5)] [(https://www.screencast.com/t/sP4NQRXoiDhV)]

I hope I can get an answer for this issue.

Thanks, Richard

richardybias commented 1 year ago

We already found the solution.

In the orderType Class, there was a purchaseOrderDateUTC property which was set as required.

Solution:Delete purchaseOrderDateUTC property under "Utility/AnetApiSchema.generated.cs"