Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -1445,4 +1430,4 @@ public class Sample
}
return response;
}
}
}