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

CreateCheckoutRequest -IdempotencyKey remains null #126

Closed mmcc1 closed 5 years ago

mmcc1 commented 5 years ago

One or more errors occurred. (IdempotencyKey is a required property for CreateCheckoutRequest 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.CreateCheckoutRequest..ctor(String IdempotencyKey, CreateOrderRequest Order, Nullable1 AskForShippingAddress, String MerchantSupportEmail, String PrePopulateBuyerEmail, Address PrePopulateShippingAddress, String RedirectUrl, List1 AdditionalRecipients, String Note) at CBACheckoutCreate.Function.FunctionHandler(APIGatewayProxyRequest request, ILambdaContext context) in C:\Clients\Comeback Cash\Code\CBACheckoutCreate\CBACheckoutCreate\Function.cs:line 217