Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.

Push Provisioningサンドボックスのテスト

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.

Note

  • Ensure that the Apple Pay sandbox environment is available for the country of your test account before you perform the testing in Sandbox testing eligible country. If your country is not listed by Apple, you should change the country on your testing device. To do that go to Settings > General > Language and Region, and choose a country which supports Apple Pay.

  • Visa/Mastercard does not guarantee that the push provisioning will always work in Apple's test card. Sandbox testing is mainly used to test the encryption payload and authorization code on D1 SDK.

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.

Note

The Google Pay service is required to run D1 SDK but it is not necessary to install the Google Pay application on the device.

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:

最終更新

役に立ちましたか?