[null,null,["最后更新时间 (UTC):2025-08-28。"],[],[],null,["By default, Google Wallet works in production mode with real Identities. You can reconfigure Google Wallet\nto work in sandbox mode. Requests are routed to Google's sandbox environment.\n\nWe recommend that you use sandbox mode during development and pre-production testing. Once you're\nready, you can switch the device back to production mode.\n\nSandbox uptime\n\nThe sandbox environment doesn't have uptime SLAs like our production environment.\nIf you encounter an error that you suspect is related to a sandbox outage, wait one\nUnited States business day before contacting us. Outages typically resolve themselves\nwithin that time period. Due to the potential for downtime, do not design any of your\ncritical release processes to be dependent on the sandbox environment.\n\nEnable and disable sandbox mode on an Android device **Important:** The previous methods to enable and disable sandbox mode (adb and sandbox file download) are deprecated and will no longer work on Android devices. For connected Wear OS devices, see further instructions below the Android instructions.\n| **Important:** The feature to toggle between the Sandbox and Production environments is hidden by default. If you don't see the toggle, you can [use the Google Pay Sandbox Access Request form](https://docs.google.com/forms/d/e/1FAIpQLSfqSLRGXk9QdYKdwPVVrLsE2-5tYwlpgC-D5afL4a_AaZ5tcQ/viewform) to request to have the Google Account you use in Google Wallet allowlisted.\n\nYou can enable sandbox mode using the TapAndPay environment settings. To return to production\nmode, you follow the same steps outlined but select production instead of sandbox.\n\nUse the TapAndPay environment settings\n\nExecute the following steps to enable sandbox mode:\n\n1. Open the **Settings** app.\n2. Scroll to and tap **Google** \\\u003e **All services**\n3. Scroll to category **Other** and tap **TapAndPay Environment** . If you don't see **TapAndPay Environment**, reboot your device and start over from step 1.\n4. Tap the drop-down menu and select **SANDBOX**.\n5. You should see the following dialog notifying that the environment has changed. Tap **OK** and reboot your device.\n\nSync Google Wallet environment\n\nWhen you open Google Wallet after rebooting, you may see the following dialog , which will\nrequire you to force stop and reopen Google Wallet:\n\nEnable and disable sandbox mode on a Wear OS device **Important:** Using adb to enable and disable sandbox mode will no longer work on Android devices. These instructions are only for connected Wear OS devices, see instructions at the beginning of the page for enabling and disabling sandbox mode on Android devices.\n\nTo enable sandbox mode on a connected Wear OS device, add an empty file and reboot, as the\nfollowing example shows: \n\n adb shell touch /sdcard/Download/android_pay_env_override_sandbox\n adb reboot\n\nTo switch back to production mode on a connected Wear OS device, delete the file and reboot the\ndevice, as the following example shows: \n\n adb shell rm /sdcard/Download/android_pay_env_override_sandbox\n adb reboot\n\nCheck if your Android device is in sandbox or production mode\n\nTo see if your Android device is in sandbox or production mode, execute the following steps\n\n1. Open the Google Wallet app wallet.\n2. At the top right, tap your profile picture or account account_circle \\\u003e **Wallet settings**.\n3. Scroll to the **bottom of page** and if you see a confirmation message that says SANDBOX, you're configured to make sandbox calls. If you don't see a message, you're configured to make production calls.\n\n*Figure 1*: Production mode *Figure 2*: Sandbox mode \n\nSome devices don't have Google Wallet in their Google Settings. In order to access Google Wallet\nSettings, you need to use\n[adb](https://developer.android.com/tools/adb) with the following\ncommand: \n\n```\nadb shell am start -n com.google.android.gms/com.google.android.gms.tapandpay.settings.TapAndPaySettingsActivity\n```"]]