CUG Testing
The Closed User Group (CUG) functions as a testing process to validate new features and UI adjustments before deploying them into the live production environment.
This step ensures that modifications do not disrupt the smooth flow of live transactions.
It is highly recommended to perform CUG testing on your live Play Store / App store app unless specific payload/sdk level changes are required from your end to validate and test the feature.
Upon successful validation of UI changes and feature functionality within the CUG environment, please provide your approval so that we can initiate the release process.
Once the release is completed, the updated features and UI modifications will be rolled out to all live users, ensuring a seamless transition.
CUG changes take time to reflect on Android/iOS devices hence it is recommended to terminate the app a couple of times to get the changes.
Android
Install the CUG apk that is mentioned below
APK link : https://assets.juspay.in/hyper/bundles/app/cug-test/cug-ext.apk
In case the above apk does not work, please use the below link
Apk link: https://drive.google.com/file/d/1hOudSHtUIh9zXZN3mU212paalHEIP2bY/view?usp=sharing
Once installed, try loading your app's payment page for 3-4 times. If changes are still not visible then you might also try clearing the cache of your app.
Post the above steps, you will be able to see the changes.
NoteOnce installed, the CUG APK will not create any app on your Android device. Therefore, after installing the CUG APK, you can directly begin testing the flow.
iOS
For iOS Version < 16
Change your iOS device name (Settings > General > About > Name) to Whale999
Once done, try loading your app's payment page.
In 3-4 runs you will start getting the new bundles and you can start testing
For iOS version = > 16
Please find the CUG.ipa file attached below.
IPA Link : https://assets.juspay.in/hyper/bundles/app/cug-test/cugext.ipa
In case the above link does not work, you can use the ipa uploaded here - https://assets.juspay.in/hyper/bundles/app/cug-test/DevToolsCUG.ipa
Upload the downloaded file on https://www.diawi.com/
and scan from your iOS device.
Please also do the below steps.
Settings > General > Device Management and Trust > Juspay Technology Pvt Ltd.Once installed, try loading your app's payment page.
In 3-4 runs you will start getting the new bundles and you can start testing.
Note: For iOS, if it's not working even after 3-4 runs, please check in your Info.plist file, if an entry for cugext exists. If not, please add and try again.
Desktop Web
In chrome tab, while on the payment page, change the user agent to Hyper/track=cug
You can do the above by doing: inspect > 3 dots on top right > more tools > Network conditions > user agent > disable use browser default -> below enter Hyper/track=cug
iOS Mweb
Connect your iOS device to your desktop and open safari browser on your desktop and on your iOS device.
In your iOS device’s safari browser, open the website required or go to payment page.
In desktop safari browser, go to develop option > select device name connect > click on web url you want to inspect.
Once inspect opened, you can device setting option at top.
Android Mweb
Connect your android device to your laptop and enable/allow USB debugging option in your android device.
In android device’s chrome browser, open the website required or go to payment page.
In desktop chrome browser, go to chrome://inspect/#devices option > click on web url you want to inspect
Once you click inspect -> change the user agent to Hyper/track=cug, Android
You can do the above change by following these steps :- Click on ‘Inspect’ > 3 dots on top right > more tools > Network conditions > user agent > disable use browser default > below enter Hyper/track=cug, Android
After changing the user agent refresh the payment page and you will start getting the updated bundles.
Webview Implementation in App
For merchants who have integrated Juspay Payment Page via webview within their native app, testing the flows by pointing directly to CUG is not possible. As a workaround, to enable CUG testing, add the following code snippet to set the User-Agent before initializing the WebView. This can be used temporarily for testing purposes.

