---
page_source: https://juspay.io/in/docs/amazonpay/docs/amazon-pay-balance/testing--validation
page_title: Testing & Validation
---


# Testing the Amazonpay flow




### **Step 4:** Testing & Validation



---

## Integration type : Juspay Express Checkout SDK


### Step 1.1. How to test


* Configure AmazonPay PG on Juspay Sandbox Dashboard
* Release the changes done at your end to a staging build (website/app)
* Test the flow on CUG using your build that has the changes (app/website) pointed to Juspay Sandbox
  
  * CUG testing guide:[](https://docs.juspay.in/dotp/docs/native-otp/cug-testing-guide/edit)[Link](https://docs.juspay.in/dotp/docs/native-otp/cug-testing-guide/edit)[](https://docs.juspay.in/dotp/docs/native-otp/cug-testing-guide/edit)



---

## Integration type : Juspay HyperCheckout (Payment Page)


### Step 1.1. How to test


* Configure AmazonPay PG on Juspay Sandbox Dashboard
* Release the changes done at your end to staging
* Test the flow on your staging build that has the changes pointed to Juspay Sandbox
  
  * CUG testing guide:[](https://docs.juspay.in/dotp/docs/native-otp/cug-testing-guide/edit)[Link](https://docs.juspay.in/dotp/docs/native-otp/cug-testing-guide/edit)[](https://docs.juspay.in/dotp/docs/native-otp/cug-testing-guide/edit)



**Test Cases that need to be tested:** 

* Verify how AmazonPay is displayed for first time and already linked users.
* Verify if the AmazonPay wallet is linked successfully after the completion of linking flow.
* Verify if transactions are completed without redirection (i.e., Direct Debit transaction flow).
* Verify if the AmazonPay balance amount is displayed correctly after linking the wallet.
* Examine the user journey for both failed and successful payments.

> **Warning**
> * Merchants should ensure to use the account shared by Amazon while testing the flow with test credentials in the Juspay Sandbox.
> * Additionally, make sure to point your build to the CUG during testing.



[Login](https://portal.juspay.in/marketplace?id=cce148bf-1bbc-47f2-8b7c-333b2fc6a3ce&name=Simpl%2520Paylater) to Juspay Dashboard and use Juspay Onboarding Assistant to test and go-live seamlessly with this flow