اعتماد تطبيق Android لحزمة تطوير البرامج (SDK) لنظام التشغيل Android في "محفظة Google"
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
توفّر Google Wallet API حزمة تطوير البرامج (SDK) لنظام التشغيل Android لتسهيل عملية الدمج.
يمكن لـ "محفظة Google" الوصول مباشرةً إلى تطبيقات Android باستخدام رموز برمجية أصلية.
لاستخدام حزمة تطوير البرامج (SDK) لنظام التشغيل Android في محفظة Google، يجب تقديم اسم الحزمة
تطبيق Android وبصمة SHA-1 لشهادة توقيع التطبيق بيانات الاعتماد هذه
تُستخدم للسماح بالوصول إلى النشر لتطبيقك، ومصادقة الطلبات
الذي أرسله تطبيقك إلى Google Wallet API.
1. الحصول على الملف المرجعي لشهادة SHA-1 لشهادة التوقيع
للحصول على الملف المرجعي لشهادة SHA-1 لشهادة التوقيع، اتبع التوجيهات في
وثائق "خدمات Google Play" لاسترداد الحساب باستخدام أي مما يلي:
يبدو الملف المرجعي SHA-1 لشهادة التوقيع مشابهًا لما يلي:
DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09
2. تفويض تطبيقك في وحدة تحكّم "محفظة Google"
بعد الحصول على بصمة إصبع SHA-1، عليك إجراء ما يلي لمنح إذن الوصول إلى جهاز Android.
في وحدة تحكم محفظة Google.
- انتقِل إلى Google Pay وحدة تحكُّم المحفظة.
- في شريط التنقّل الأيمن، انقر على "Google Wallet API". لفتح وحدة تحكّم "محفظة Google".
- انقر على "ميزات إضافية" .
- في قسم "أذونات التطبيق" انقر على "+ إضافة تطبيق" .
- أدخِل اسم حزمة تطبيقك وبصمة إصبع SHA-1.
- انقر على "إضافة تطبيق".
إذا ظهر اسم الحزمة والتطبيق في قسم "أذونات التطبيق" تم السماح لتطبيقك
لإرسال الطلبات إلى واجهة برمجة تطبيقات محفظة Google باستخدام حزمة تطوير البرامج (SDK) لنظام التشغيل Android في محفظة Google.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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,["# Authorizing your Android app for the Google Wallet Android SDK\n\nThe 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--------------------------------------------------------\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--------------------------------------------------\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."]]