Release Date: 2008-05-13
Prerequisites
- You must have an Amazon Payments Sandbox Business Account.
- You must have an Amazon Web Services developer account.
- You must use the same email address and password for your Amazon Payments Business Account and your Amazon Web Services developer account.
- You must have Java version 1.5 or later installed
Using the Sample
- Sign into your Amazon Web Services developer account and retrieve your Access Key ID and Secret Access Key from here.
- Replace the value of the accessKey constant in the code sample with your Access Key ID
- Replace the value of the secretKey constant in the code sample with your Secret Access Key
- Replace the value of the strReturnUrl variable in the code sample with your return url
- Run the code sample as a Java application
- The code sample will validate the return url and will print the validation result on the Console
- You can now integrate this code into your website