Google Wallet API มี Android SDK เพื่อให้คุณผสานรวมได้ง่ายขึ้น
Google Wallet ทำงานในแอป Android ได้โดยตรงด้วยโค้ดที่มากับเครื่อง
หากต้องการใช้ Google Wallet Android SDK คุณต้องระบุชื่อแพ็กเกจของ
แอป Android และลายนิ้วมือ SHA-1 ของใบรับรอง App Signing ข้อมูลเข้าสู่ระบบเหล่านี้
ใช้เพื่อให้สิทธิ์เข้าถึงการเผยแพร่แอปของคุณ และตรวจสอบสิทธิ์คำขอ
ส่งจากแอปของคุณไปยัง Google Wallet API
1. รับลายนิ้วมือ SHA-1 ของใบรับรองที่ลงนาม
หากต้องการรับลายนิ้วมือ SHA-1 ของใบรับรองที่ลงนาม ให้ทำตามคำแนะนำใน
เอกสารประกอบของบริการ Google Play ในการดึงข้อมูลโดยใช้เอกสารอย่างใดอย่างหนึ่งต่อไปนี้
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-09-12 UTC"],[[["The Google Wallet API offers an Android SDK for native app integration of Google Wallet features."],["You need your app's package name and SHA-1 fingerprint for authorization and authentication."],["Authorize your app in the Google Wallet console by providing your app's package name and SHA-1 fingerprint."]]],["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"]]