Skip to content

Test Cases

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.

User Eligibility

Things to Verify

  • Display the pay button and available credit limit if the user is eligible.

  • Grey out the Amazon Pay Later option and display the reason for ineligibility if the user isn't eligible.

Common Issues

  • User Ineligibility: Ensure the amount passed for the instrument API call is not less than ₹1 or validate the proper transaction amount.

Remark

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

Things to Verify

  • Use the latest Amazon Pay logo. Confirm with Amazon Pay POC for accuracy.

Check Label

Things to Verify

  • Ensure the label reads as "Amazon Pay Later".

Key Fact URL

Things to Verify

  • Confirm the URL is clickable and displayed appropriately to the user.