braintree / braintree_dotnet

Braintree .NET library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
136 stars 73 forks source link

Is gateway.Transaction.Sale asynchronous? #115

Closed MSIH closed 3 years ago

MSIH commented 3 years ago

General information

<PackageReference Include="Braintree" Version="5.6.0" />

Issue description

I am not able to call await gateway.Transaction.Sale

crookedneighbor commented 3 years ago

Try await gateway.Transaction.SaleAsync instead :)

https://github.com/braintree/braintree_dotnet/blob/ad287a6a92e329b9ffe2a4c2eee48dc4b8e0ed1e/src/Braintree/TransactionGateway.cs#L172-L178

MSIH commented 3 years ago

Thanks. maybe update the readme?