Deploy your app in the Dashboard
Learn how to deploy your Android app to your devices in the Dashboard.
After Stripe reviews and approves your app for deployment, we notify you by email in the Dashboard. You can then follow the instructions below to deploy your app.
During deployment, your app is immediately sent and downloaded to your device, and the device reboots to install it. Devices reboot every 24 hours and apply any updates automatically. To check for and apply updates immediately, you can manually reboot your device.
Terminal デバイス用の新しいアプリや更新されたアプリを、ダッシュボードでデプロイできます。
デプロイグループを追加または編集する
デプロイグループを追加または編集する前に、Terminal の場所を作成し、その場所にリーダーを追加する必要があります。その後、場所をデプロイグループに割り当てると、その場所のすべてのリーダーがそのデプロイグループから更新を受信するようになります。
デプロイグループを作成した後は、それを選択していつでも編集できます。
デプロイグループを追加する
- Terminal アプリタブで、デプロイグループを管理をクリックします。
- デプロイグループを追加をクリックします。
- デプロイグループを追加ドロワーで次の手順を実行します。
- グループ名を入力します。
- Terminal のデバイスタイプを選択します。
- 必要に応じて、デフォルトのデプロイグループチェックボックスを選択して、デフォルトのデプロイグループを作成します。デフォルトのデプロイグループには、別のデプロイグループに明示的に割り当てられていないすべての場所が自動的に含まれます。デバイスタイプごとにデフォルトのデプロイグループを 1 つ作成できます。
- 完了をクリックします。
デスティネーション支払いでデプロイグループを管理する
- Terminal アプリタブで、デプロイグループを管理をクリックします。
- リストからデプロイグループを選択します。
- 場所を追加をクリックします。
- 追加する場所を選択します。
- 完了をクリックします。
ダイレクト支払いでデプロイグループを管理する
- Terminal アプリタブで、デプロイグループを管理をクリックします。
- リストからデプロイグループを選択します。
- 場所を追加をクリックします。
- アカウントのドロップダウンで、場所を追加する元となるアカウントを選択します。場所を追加する前に、アカウントを選択する必要があります。
- 追加する場所を選択します。
- 完了をクリックします。
アプリのバージョンをデプロイする
Stripe のレビュー担当者が承認した後でアプリをデプロイできます。
- Terminal アプリタブで、デプロイするアプリを選択します。
- アプリの詳細ページで、バージョンをデプロイをクリックします。
- 承認済みのアプリのバージョンを選択し、次へをクリックします。以前のバージョンのアプリをデプロイすることはできません。アプリのバージョンは、現在デプロイされているアプリよりも新しいバージョンである必要があります。
- デプロイグループを選択し、次へをクリックします。
- 利用するキオスクアプリを選択し、次へをクリックします。これは、Stripe リーダーがオンになったときに起動するデフォルトのアプリです。デプロイするアプリが 1 つしかない場合は、代わりにそのアプリを選択します。
- デプロイの詳細を確認し、デプロイをクリックします。アプリはすぐにデプロイされます。
複数のアカウント間でアプリを共有する
複数の Stripe アカウントがあり、複数のアカウントに同じアプリをデプロイする場合は、この機能を使用します。複数のアカウントで 1 つのアプリを共有することで、パッケージ名の一意性やアプリのレビューの重複による制約を回避できます。
アプリを作成して管理するアカウントを 1 つ指定します。新しいアプリバージョンをアップロードできるのは、アプリを所有するアカウントのみですが、他のアカウントはアプリ ID を検索してアプリを表示してデプロイできます。
- Terminal アプリタブで、オーバーフローメニュー ()をクリックします。
- アプリを検索をクリックします。
- アプリ ID を入力し、アプリの詳細を表示をクリックします。
- バージョンをデプロイをクリックし、デプロイの詳細を入力します。
デプロイグループのベストプラクティス
デバイスを複数のデプロイグループに分類して、ソフトウェアを個別に導入し、問題が発生した場合にエラーを隔離できます。デプロイグループの数は、ツール、リスクの許容度、特定のビジネスニーズに応じて、少なくなることも多くなることもあります。
以下のデプロイグループの設定をお勧めします。
- Alpha: Contains locations that correspond to your internal devkits or internal production devices.
- Beta: Contains a small number of actual user locations. You can randomly choose these locations, select them based on meaningful criteria (for example, less risky locations), or have users opt in to the
Beta
deploy group based on their risk tolerance. - General: Contains all remaining actual user locations, except those in the
Alpha
orBeta
groups. You can use a default deploy group to avoid manually assigning each remaining location.
アプリをデプロイする準備ができたら、デプロイグループを最もリスクの低いものから最もリスクの高いものに昇格させます。
1 | アルファ | First, deploy to the Alpha deploy group to test your app in a way that minimizes risk to users. Discovering a bug or undesirable behavior at this stage only affects a small number of internal devices, rather than actual users and real payments. |
2 | ベータ | Second, deploy to the Beta deploy group. This balances exposing your app to real users and not exposing all users to potential issues. |
3 | 一般的 | Finally, deploy to the General deploy group after addressing any issues or confirming that no issues existed for the Beta deploy group. |