diff --git a/src/Pinch.SDK.WebSample/Controllers/PaymentsController.cs b/src/Pinch.SDK.WebSample/Controllers/PaymentsController.cs index 22292ed..ecfcc4c 100644 --- a/src/Pinch.SDK.WebSample/Controllers/PaymentsController.cs +++ b/src/Pinch.SDK.WebSample/Controllers/PaymentsController.cs @@ -61,7 +61,7 @@ public async Task Realtime(CreateRealtimePaymentVm model) CreditCardToken = model.CreditCardToken, Amount = Convert.ToInt32(model.Amount * 100), Description = model.Description, - Nonce = model.Nonce + Nonce = new List { model.Nonce } }); if (!result.Success) diff --git a/src/Pinch.SDK/Payments/RealtimePaymentSaveOptions.cs b/src/Pinch.SDK/Payments/RealtimePaymentSaveOptions.cs index 13fa393..00ebea5 100644 --- a/src/Pinch.SDK/Payments/RealtimePaymentSaveOptions.cs +++ b/src/Pinch.SDK/Payments/RealtimePaymentSaveOptions.cs @@ -77,6 +77,6 @@ public class RealtimePaymentSaveOptions /// Optional. Pinch will echo back the nonce value in the response, this is for replay protection. /// If the same Nonce is detected the in progress payment object will be returned. /// - public string Nonce { get; set; } + public List Nonce { get; set; } } }