diff --git a/README.md b/README.md index cf66604..f1d375b 100644 --- a/README.md +++ b/README.md @@ -176,9 +176,6 @@ public class Sample : PageModel storeId: "amzn1.application-oa2-client.000000000000000000000000000000000" ); - // generate the button signature - var signature = client.GenerateButtonSignature(request); - // generate the signature and payload string that is passed back to the frontend Signature = client.GenerateButtonSignature(request); Payload = request.ToJson(); @@ -216,9 +213,6 @@ public class Sample : PageModel request.RecurringMetadata.Amount.Amount = 12.34m; request.RecurringMetadata.Amount.CurrencyCode = Currency.USD; - // generate the button signature - var signature = client.GenerateButtonSignature(request); - // generate the signature and payload string that is passed back to the frontend Signature = client.GenerateButtonSignature(request); Payload = request.ToJson(); @@ -262,9 +256,6 @@ public class Sample : PageModel }; request.WebCheckoutDetails.CheckoutResultReturnUrl = "https://example.com/return.html" - // generate the button signature - var signature = client.GenerateButtonSignature(request); - // generate the signature and payload string that is passed back to the frontend Signature = client.GenerateButtonSignature(request); Payload = request.ToJson(); @@ -316,9 +307,6 @@ public class Sample : PageModel request.AddressDetails.CountryCode = "US"; request.AddressDetails.PhoneNumber = "212555555"; - // generate the button signature - var signature = client.GenerateButtonSignature(request); - // generate the signature and payload string that is passed back to the frontend Signature = client.GenerateButtonSignature(request); Payload = request.ToJson(); @@ -352,9 +340,6 @@ public class Sample : PageModel signInScopes: scopes ); - // generate the button signature - var signature = client.GenerateButtonSignature(request); - // generate the signature and payload string that is passed back to the frontend Signature = client.GenerateButtonSignature(request); Payload = request.ToJson(); @@ -1445,4 +1430,4 @@ public class Sample } return response; } -} \ No newline at end of file +}