หากต้องการจัดสรร Hotel Key ใหม่ ผู้ใช้ต้องดำเนินการตามขั้นตอนการตรวจสอบสิทธิ์และการเชื่อมโยงในอุปกรณ์ให้เสร็จสมบูรณ์ ซึ่งจะลิงก์บัญชีผู้ใช้ภายนอกกับบัญชี Google Wallet
เอกสารนี้อธิบายกระบวนการดังกล่าวในระดับสูงในแพลตฟอร์มต่างๆ
เพิ่มลงใน Google Wallet จากแอป Android
ในส่วนนี้ เราจะอธิบายขั้นตอนการบันทึกบัตรลงใน Google Wallet จากแอป Android ของผู้ให้บริการ
โฟลว์ผู้ใช้
รูปภาพเหล่านี้แสดงขั้นตอนของผู้ใช้ในการจองกุญแจโรงแรมจากมุมมองของ Google Wallet
ผู้ใช้อาจได้รับข้อความแจ้งในหน้าจอถัดไปให้ดาวน์โหลดแอป Google Wallet หากยังไม่มีแอปดังกล่าวในอุปกรณ์
ข้อมูลสำคัญ
หากบัตรบันทึกไว้ในบัญชี Google ที่เลือกไว้แล้ว ระบบจะแสดงลิงก์ให้ผู้ใช้เปิดบัตรในแอป Google Wallet แทน ซึ่งผู้ใช้จะดูรายละเอียดบัตรได้
หากบัตรได้รับการบันทึกไว้ในบัญชี Google อื่นที่ผู้ใช้ไม่ได้ลงชื่อเข้าใช้ ผู้ใช้จะได้รับข้อความที่ระบุว่าบัญชี Google อื่นบันทึกบัตรนั้นไว้แล้ว
หากผู้ใช้พยายามเพิ่มบัตรและไม่มีบัญชี Google ระบบจะแสดงข้อความแจ้งให้สร้างบัญชี หลังจากสร้างบัญชี Google แล้ว ขั้นตอนจะดำเนินต่อไปตามปกติ
แอปที่รองรับขั้นตอนการเปิดห้องพักด้วยคีย์ดิจิทัลต้องผสานรวมกับ API บริการของ Google Play อย่างไรก็ตาม การเรียกใช้เมธอดจากแอปของผู้ให้บริการไปยังบริการ Google Play จะใช้ไม่ได้ในบริการ Google Play เวอร์ชันที่เผยแพร่ต่อสาธารณะ
นักพัฒนาแอปผู้ให้บริการต้องเพิ่มและรับสิทธิ์เข้าถึงโมดูลที่กําหนดเองเพื่อเรียกใช้เมธอดบางอย่าง โปรดสอบถามข้อมูลเพิ่มเติมจากผู้ให้บริการ
เพิ่มลงใน Google Wallet บนอุปกรณ์ที่สวมใส่ได้จากแอป Android
แอปที่รองรับขั้นตอนการเปิดใช้คีย์โรงแรมต้องผสานรวมกับ API บริการ Google Play อย่างไรก็ตาม การเรียกใช้เมธอดจากแอปของผู้ให้บริการไปยังบริการ Google Play จะใช้ไม่ได้ในบริการ Google Play เวอร์ชันที่เผยแพร่ต่อสาธารณะ
นักพัฒนาแอปผู้ให้บริการต้องเพิ่มและรับสิทธิ์เข้าถึงโมดูลที่กําหนดเองเพื่อเรียกใช้เมธอดบางอย่าง โปรดสอบถามข้อมูลเพิ่มเติมจากผู้ให้บริการ
เพิ่มลงใน Google Wallet จากเว็บไซต์
ส่วนนี้จะอธิบายขั้นตอนในการบันทึกบัตรลงใน Google Wallet จากเว็บไซต์ของผู้ออกบัตร
ขั้นตอนที่ 1: ลงชื่อเข้าใช้เว็บไซต์
ขั้นตอนแรกในขั้นตอนนี้คือลงชื่อเข้าใช้เว็บไซต์ของผู้ออกบัตร แล้วเลือกปุ่ม "เพิ่มลงใน Google Wallet"
รูปที่ 3: ผู้ใช้เข้าสู่ระบบเว็บไซต์และไปยังปุ่มเพิ่มลงใน Google Wallet
ขั้นตอนที่ 2: ลงชื่อเข้าใช้ด้วย Google
ผู้ใช้ลงชื่อเข้าใช้ด้วย Google จนเสร็จสมบูรณ์ จากนั้นจะเห็นหน้าจอกำลังโหลดในเว็บไซต์ของผู้ออกบัตรก่อนที่จะเปลี่ยนเส้นทางไปยัง Google Wallet ในขั้นตอนถัดไป
รูปที่ 3: ผู้ใช้เลือกบัญชี Google เพื่อลิงก์กับกุญแจโรงแรม
ขั้นตอนที่ 3: เตรียมความพร้อมให้เสร็จสมบูรณ์
ผู้ใช้ทำตามขั้นตอนการจัดสรรภายใน Google Wallet จนเสร็จสมบูรณ์
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eHotel Key provisioning requires users to authenticate and link their external account to Google Wallet.\u003c/p\u003e\n"],["\u003cp\u003eUsers can add Hotel Keys to Google Wallet from Android apps, Wearables (initiated from a phone), and websites.\u003c/p\u003e\n"],["\u003cp\u003eThe provisioning process involves accepting terms of service and may require creating a Google Account if one doesn't exist.\u003c/p\u003e\n"],["\u003cp\u003eService providers may need to integrate with custom Google Play services modules for certain functionalities.\u003c/p\u003e\n"],["\u003cp\u003eWearable provisioning is subject to service provider availability and limitations, such as single Wearable provisioning.\u003c/p\u003e\n"]]],["Users provision a Hotel Key by authenticating and associating their account with Google Wallet. From an Android app, users select \"Add to Google Wallet,\" accept terms, and complete provisioning. Wearable provisioning is initiated from the phone. On a website, users sign in, select \"Add to Google Wallet,\" then sign in with Google and complete provisioning. If a card already exists, users are shown a link to it. A Google account is required; if they dont have one they must create it.\n"],null,["# Provision a new card\n\nTo provision a new Hotel Key, the user must complete an authentication\nand association flow on their device. This links their external\nuser account to a Google Wallet account.\nThis document describes that process at a high level across different surfaces.\n\nAdd to Google Wallet from an Android app\n----------------------------------------\n\nIn this section, we describe the flow to save a card to\nGoogle Wallet from a Service Provider's Android app.\n\n### User flow\n\nThese figures illustrate the user flow to provision a Hotel Key from a\nGoogle Wallet perspective.\n| **Note:** Before this flow begins, the user must authenticate within the Service Provider's app. Next, they must select the [Add to Google Wallet](/wallet/access/hotel-key/get-started/brand-guidelines#add-to-google-wallet-button) button. If the user doesn't have a Google Account, they complete a flow to create one and then continue the flow to provision their card.\n**Figure 1**: A user begins to provision their card and accepts the Terms of Service.\n\n\n- A spinning connection animation is shown to the user while network connectivity and initial services configure.\n- After this completes, the user accepts the Terms of Service and continues with the flow.\n\n\u003cbr /\u003e\n\n**Figure 2**: User provisioning completes.\n\n\n- A spinning save animation is shown to the user while background services provision the account on the device.\n- After the services complete, a success screen appears.\n- The user might be prompted in subsequent screens to download the Google Wallet app, if it doesn't already exist on their device.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### Key points\n\n- If the card is already saved to the selected Google Account, the user is instead shown a link to open the card in the Google Wallet app, where they can view card details.\n- If the card is saved to a Google Account other than the one the user is logged into, the user receives a message that indicates another Google Account has already saved that card.\n- If the user attempts to add a card and doesn't have a Google Account, a prompt to create an account appears. After creation of the Google Account, the flow continues normally.\n- Apps that support Hotel Key flows need to integrate with Google Play services APIs. However, the method calls from the Service Provider app to Google Play services aren't available in the publicly distributed version of [Google Play services](https://developers.google.com/android/guides/overview). The Service Provider app developer must add and get access to custom modules to call certain methods. Check with your Service Provider for more information.\n\nAdd to Google Wallet on a Wearable from an Android app\n------------------------------------------------------\n\nUsers can provision to their Wearables by initiating the provisioning flow on\ntheir phone and selecting a single Wearable, as seen in this figure:\n**Figure 1**: Wearable provisioning flow.\n\n### Key points\n\n- Provisioning to a Wearable requires a phone capable of provisioning a card.\n- Users can provision to their phone and Wearable in a single flow, or they can restart the flow to add it to a Wearable after the first provisioning to their phone is complete.\n- Users should be limited by the Service Provider to provisioning only a single Wearable.\n- Inquire with your Service Provider about the availability of Wearable provisioning.\n- Apps that support Hotel Key flows need to integrate with Google Play services APIs. However, the method calls from the Service Provider app to Google Play services aren't available in the publicly distributed version of [Google Play services](https://developers.google.com/android/guides/overview). The Service Provider app developer must add and get access to custom modules to call certain methods. Check with your Service Provider for more information.\n\nAdd to Google Wallet from a Website\n-----------------------------------\n\nThis section describes the flow to save a card to Google Wallet from\nan issuer's website.\n\n### Step 1: Sign in to Website\n\nThe first step in the flow is to sign in to the issuer's website and select\nthe Add to Google Wallet button.\n**Figure 3**: A user logs into a website and navigates to the Add to Google Wallet button. **Important:** Google requires that your website authenticates users before you show the Add to Google Wallet button. Sending the user an email with a \"secret\" link is not sufficient authentication.\n\n### Step 2: Sign in with Google\n\nThe user completes Sign in with Google and then sees a loading screen\non the issuer's website before being redirected to Google Wallet in the next\nstep.\n**Figure 3**: A user chooses a Google Account to link to their Hotel Key. **Note:** You can download this [loading gif](/static/wallet/access/images/web-provisioning-loading.gif) for use on your website's loading page if you would like to match the Google Wallet loading screen.\n\n### Step 3: Complete Provisioning\n\nThe user completes the provisioning flow within Google Wallet.\n**Figure 3**: A user continues with provisioning, accepts terms of service, and completes the flow."]]