Android-App für das Google Wallet Android SDK autorisieren
Mit Sammlungen den Überblick behalten Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Die Google Wallet API bietet ein Android SDK, das die Integration vereinfacht. Google Wallet-Funktionen direkt in deinen Android-Apps mit nativem Code.
Wenn du das Google Wallet Android SDK verwenden möchtest, musst du den Paketnamen deines Android-App und den SHA-1-Fingerabdruck Ihres App-Signaturzertifikats Diese Anmeldedaten werden verwendet, um den Veröffentlichungszugriff für Ihre App zu autorisieren und Anfragen zu authentifizieren die von deiner App an die Google Wallet API gesendet werden.
1. SHA-1-Fingerabdruck des Signaturzertifikats abrufen
Um den SHA-1-Fingerabdruck Ihres Signaturzertifikats abzurufen, folgen Sie der Anleitung in der Dokumentation der Google Play-Dienste für den Abruf mit einer der folgenden Methoden:
Sobald Sie Ihren SHA-1-Fingerabdruck haben, führen Sie die folgenden Schritte aus, um Ihr Android-Gerät zu autorisieren App in der Google Wallet-Konsole.
Klicke im linken Navigationsbereich auf „Google Wallet API“. um die Google Wallet Console zu öffnen.
Klicke auf „Zusätzliche Funktionen“. .
Im Bereich „App-Berechtigungen“ klicken Sie auf die Schaltfläche "+ App hinzufügen" Schaltfläche.
Geben Sie den Paketnamen Ihrer App und Ihren SHA-1-Fingerabdruck ein.
Klicken Sie auf „Anwendung hinzufügen“.
Wenn Ihr Paketname und Ihre App in den App-Berechtigungen angezeigt werden ist Ihre App autorisiert. , um Anfragen mit dem Google Wallet Android SDK an die Google Wallet API zu senden.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-17 (UTC)."],[[["\u003cp\u003eThe Google Wallet API offers an Android SDK for native app integration of Google Wallet features.\u003c/p\u003e\n"],["\u003cp\u003eYou need your app's package name and SHA-1 fingerprint for authorization and authentication.\u003c/p\u003e\n"],["\u003cp\u003eAuthorize your app in the Google Wallet console by providing your app's package name and SHA-1 fingerprint.\u003c/p\u003e\n"]]],["The Google Wallet Android SDK requires app authorization using the app's package name and SHA-1 fingerprint. Retrieve the fingerprint via `keytool` or Gradle. Then, in the Google Pay & Wallet console, navigate to the 'Google Wallet API' section, and under 'App Permissions,' add your app details, including the package name and the obtained SHA-1 fingerprint. This process authorizes the app to use the Google Wallet API.\n"],null,["The Google Wallet API provides an Android SDK to make it easier for you to integrate\nGoogle Wallet capabilities directly in your Android apps with native code.\n\nTo use the Google Wallet Android SDK, you must provide the package name of your\nAndroid app, and the SHA-1 fingerprint of your app signing certificate. These credentials\nare used to authorize publishing access for your app, and authenticate requests\nsent by your app to the Google Wallet API.\n\n1. Get the SHA-1 fingerprint of your signing certificate\n\nTo get the SHA-1 fingerprint of your signing certificate, follow the directions in the\nGoogle Play services documentation for retrieving it using either of the following:\n\n- [keytool](/android/guides/client-auth#using_keytool_on_the_certificate)\n- [Gradle](/android/guides/client-auth#using_gradles_signing_report)\n\nThe SHA-1 fingerprint of your signing certificate looks similar to this: \n\n DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09\n\n2. Authorize your app in the Google Wallet console\n\nOnce you have your SHA-1 fingerprint, do the following to authorize your Android\napp in the Google Wallet console.\n\n1. Go to the [Google Pay \\& Wallet console](https://pay.google.com/business/console/).\n2. In the left nav, click 'Google Wallet API' to open the Google Wallet console.\n3. Click the 'Additional features' tab.\n4. In the 'App Permissions' box, click the '+ Add an app' button.\n5. Enter the package name of your app and your SHA-1 fingerprint.\n6. Click 'Add application'.\n\nIf your package name and app appear in the 'App Permissions' box, your app is authorized\nto send requests to the Google Wallet API using the Google Wallet Android SDK."]]