Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.97 KB

developer-guide.md

File metadata and controls

46 lines (33 loc) · 1.97 KB

Secure Payment Confirmation Developer Guide

The experimental Secure Payment Confirmation is available for developer testing in Chrome Canary, and will soon be available in stable channels in M91 as an Origin Trial. This document describes how to start using this API on your website.

Step 1: Get a compatible computer

Currently, the Secure Payment Confirmation trial is available on:

  • MacOS with secure enclave (e.g., 2016 MacBookPro or later).
  • Windows 10 with Windows Hello (e.g., version 1607 or later).

Note that the feature is designed for use with biometric authenticators such as Touch ID on Mac, but more generally it is compatible with user-verifying platform authenticators which may use a device PIN, for example.

Step 2: Get a compatible version of Chrome

  • Canary channel: 91.0.4459.0 or later

You can test out the feature by registering your site in the origin trial (see below), or by enabling the flag chrome://flags#enable-experimental-web-platform-features. You can verify that you have the right version of Chrome by trying out this test page.

Step 3: Enable the Origin Trial on your website

Register your origin for the trial here to enable the feature on your origin for the duration of the trial. You can follow the Origin Trial Developer Guide to obtain a trial token and use it on your website.

Frequently Asked Questions

Q: What are the maximum dimensions of the payment instrument icon when registering a PaymentCredential?

A: Chrome's current implementation expects an icon that is 32px wide by 20px high.

Questions & Feedback

Please contact payments-dev@chromium.org.