bchavez / Coinbase.Commerce

:moneybag: A .NET/C# implementation of the Coinbase Commerce API.
https://commerce.coinbase.com/docs/
Other
48 stars 9 forks source link

Null from api request when charge is pending #9

Closed Usertothename closed 5 years ago

Usertothename commented 5 years ago

Version Information

Software Version(s)
NuGet Package this one
.NET Core? 2.1.802
.NET Full Framework? 4.6
Windows OS? windows 10
Linux OS? N/A
Visual Studio? 19

What is the expected behavior?

Just get successfully get the charge from api request

What is the actual behavior?

Request works until the charge status is set to pending

Any possible solutions?

thats why im here

How do you reproduce the issue?

Just make a charge send the money and try and request the api when its pending and you get a null error json failed to deserialize

Do you have a unit test that can demonstrate the bug?

No

Can you identify the location in the source code where the problem exists?

responsee = await commerceApi.GetChargeAsync(response.Data.Code);

bchavez commented 5 years ago
  1. Provide Fiddler output for the JSON request and JSON response. See here for setup.
  2. Provide a complete failing unit test.

Once you have these two items, please feel free to re-open the issue.

Thank you.