プッシュプロビジョニングのサンドボックステスト
Apple Pay sandbox testing
Pre-production environment (PreProd)
Open a test account with Apple. The test account has to use the devices that are selected for testing in the PreProd environment which is used along with the Apple Test Sandbox environment. For more information, see Apple Pay Sandbox Testing.
Production environment (Prod)
Apple whitelists the end user devices used for the certification phase in the production environment based on their Secure Element chipset identity ID (SEID).
Whitelisting of the devices to be removed when your product goes live. This is based on your request.
Enabling sandbox mode in Google Pay
By default, Google Pay works in the production mode with real payments. Optionally, you can reconfigure Google Pay to work in the sandbox mode by placing a special file in your device. Once connected to the sandbox, the Google Pay requests will be routed to the Google's sandbox environment which connects to the TSP's sandbox environment.
It is recommended to use the sandbox mode during your development and PreProd testing.
Using the ADB command to toggle to sandbox mode
To switch Google Pay to the sandbox mode, it requires an empty file at /sdcard/Download/android_pay_env_override_sandbox by executing the following command:
To return to the production mode, delete the file and reboot the device as follows:
Checking the mode of your device
To check whether your Android device is in the sandbox mode or production mode, go to Android Settings > Google > Google Pay or Android Settings > Google > Account Services > Google Pay. If you see a small pop-up that says "Sandbox", this means the device is configured to make sandbox calls. If you do not see a pop-up, this means that the device is configured to make production calls.
For some devices that do not have Google Pay in their Google Settings, you have to use the following ADB command to access Google Pay Settings:
最終更新
役に立ちましたか?