square / connect-csharp-sdk

C# client library for the Square Connect APIs
https://docs.connect.squareup.com/
Apache License 2.0
27 stars 25 forks source link

ChargeRequest - IdempotencyKey remains null #127

Closed mmcc1 closed 5 years ago

mmcc1 commented 5 years ago

One or more errors occurred. (IdempotencyKey is a required property for ChargeRequest and cannot be null): AggregateException at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at lambda_method(Closure , Stream , Stream , LambdaContextInternal )

at Square.Connect.Model.ChargeRequest..ctor(String IdempotencyKey, Money AmountMoney, String CardNonce, String CustomerCardId, Nullable1 DelayCapture, String ReferenceId, String Note, String CustomerId, Address BillingAddress, Address ShippingAddress, String BuyerEmailAddress, String OrderId, List1 AdditionalRecipients, String VerificationToken) at CBATransactionCharge.Function.FunctionHandler(APIGatewayProxyRequest request, ILambdaContext context) in C:\Clients\Comeback Cash\Code\CBATransactionCharge\CBATransactionCharge\Function.cs:line 217