با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
به طور پیش فرض، Google Wallet در حالت تولید با هویت واقعی کار می کند. میتوانید Google Wallet را دوباره پیکربندی کنید تا در حالت جعبه ایمنی کار کند. درخواستها به محیط sandbox Google هدایت میشوند.
توصیه می کنیم در طول توسعه و آزمایش پیش تولید از حالت sandbox استفاده کنید. پس از آماده شدن، می توانید دستگاه را به حالت تولید برگردانید.
زمان کار Sandbox
محیط سندباکس مانند محیط تولید ما دارای SLAهای آپتایم نیست. اگر با خطایی مواجه شدید که مشکوک هستید مربوط به قطع شدن جعبه ایمنی باشد، قبل از تماس با ما یک روز کاری در ایالات متحده صبر کنید. قطعی ها معمولاً در آن بازه زمانی خود به خود برطرف می شوند. با توجه به احتمال خرابی، هیچ یک از فرآیندهای انتشار حیاتی خود را طوری طراحی نکنید که به محیط سندباکس وابسته باشد.
حالت sandbox را در دستگاه Android فعال و غیرفعال کنید
با استفاده از تنظیمات محیط TapAndPay می توانید حالت sandbox را فعال کنید. برای بازگشت به حالت تولید، همان مراحل ذکر شده را دنبال میکنید، اما تولید را به جای جعبه شنی انتخاب میکنید.
از تنظیمات محیط TapAndPay استفاده کنید
برای فعال کردن حالت sandbox مراحل زیر را انجام دهید:
برنامه تنظیمات را باز کنید.
به Google > All Services بروید و روی آن ضربه بزنید
به دسته دیگر بروید و روی TapAndPay Environment ضربه بزنید. اگر TapAndPay Environment را نمیبینید، دستگاه خود را راهاندازی مجدد کنید و از مرحله 1 دوباره شروع کنید.
روی منوی کشویی ضربه بزنید و SANDBOX را انتخاب کنید.
شما باید گفتگوی زیر را مشاهده کنید که به شما اطلاع می دهد که محیط تغییر کرده است. روی OK ضربه بزنید و دستگاه خود را مجددا راه اندازی کنید.
همگام سازی محیط Google Wallet
وقتی Google Wallet را پس از راهاندازی مجدد باز میکنید، ممکن است کادر گفتگوی زیر را مشاهده کنید که از شما میخواهد اجباراً Google Wallet را متوقف کرده و دوباره باز کنید:
حالت جعبه ایمنی را در دستگاه Wear OS فعال و غیرفعال کنید
برای فعال کردن حالت جعبه ایمنی در یک دستگاه Wear OS متصل، یک فایل خالی اضافه کنید و راهاندازی مجدد کنید، همانطور که مثال زیر نشان میدهد:
بررسی کنید که آیا دستگاه Android شما در حالت sandbox یا تولید است
برای اینکه ببینید دستگاه اندرویدی شما در حالت sandbox یا تولید است، مراحل زیر را انجام دهید
wallet برنامه Google Wallet را باز کنید.
در بالا سمت چپ، روی عکس نمایه یا حساب account_circle > تنظیمات کیف پول ضربه بزنید.
به پایین صفحه بروید و اگر پیام تأییدی را مشاهده کردید که میگوید SANDBOX، برای برقراری تماسهای جعبه ایمنی پیکربندی شدهاید. اگر پیامی را نمیبینید، برای برقراری تماسهای تولیدی پیکربندی شدهاید.
شکل 1 : حالت تولید شکل 2 : حالت Sandbox
برخی از دستگاهها Google Wallet را در تنظیمات Google خود ندارند. برای دسترسی به تنظیمات کیف پول گوگل، باید از adb با دستور زیر استفاده کنید:
adb shell am start -n com.google.android.gms/com.google.android.gms.tapandpay.settings.TapAndPaySettingsActivity
تاریخ آخرین بهروزرسانی 2025-08-28 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 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```"]]