Test Cases
Link Account
Things to Verify
-
Successful linking and redirection back to merchant app.
-
Absence of the Link Account button for returning users.
Common Issues
- API Key Error: Validate the API key generated on the Amazon developer portal. Note that the API key for the test and production app differs based on your signing certificate.
Remark
- If the APK signing was conducted via Google Play, utilize those signatures.
Process Payments
Things to Verify
-
Eligible users should complete payment using APL in a single-click transaction.
-
Handle cases where the charge API returns an amazonPayUrl for the user to complete 2FA.
Common Issues
- API Error (400): Verify that the callback URLs used are safe-listed on the Amazon Pay side.
Remark
- Notify Amazon POC regarding API errors.
Track Status
Things to Verify
-
For single-click transactions, confirm the status via the server-side status check API.
-
If 2FA was initiated, and the user returns after completing 2FA, confirm the status via the server-side status check API.
Common Issues
-
Implement proper polling mechanisms to check pending transaction statuses.
-
Verify initiation of a transaction ID that has been properly initiated.
Refund Customer
Things to Verify
- Successful refund process through the refund API resulting in the credited amount back to the user.
Common Issues
- API Error: Avoid initiating refunds for failed transactions.
GUI Elements
Verify Logo
Things to Verify
- Use the latest Amazon Pay logo. Confirm with Amazon Pay POC for accuracy.