If you are not interested in providing shipping and contact informationĀ from Android payment apps, you can stop reading now.
Hi developers,
Starting with Android Chrome version 92 (scheduled to ship to stable on 2021/07/20), Chrome adds an intent-filter action named org.chromium.intent.action.UPDATE_PAYMENT_DETAILS which allows Android payment apps to invoke the service of updating payment details. Using this action allows communicating with other browsers (e.g., WebLayer) that do not have the org.chromium.components.payments.PaymentDetailsUpdateService class in their package. The package name is still required and should match the package name of the browser that invoked the payment app.
It is recommended that Android payment apps that update payment details should switch from using the org.chromium.components.payments.PaymentDetailsUpdateService class to using the org.chromium.intent.action.UPDATE_PAYMENT_DETAILS action by Chrome version 94, which is scheduled to ship to stable on 2021/09/21. A recommended migration strategy for a payment app is:
Use intent.resolveActivity() with org.chromium.intent.action.UPDATE_PAYMENT_DETAILS action to tell whether the action is supported. If yes, use the action; otherwise, fall back to the class name approach (example).
By Chrome 94, when most Chrome users are reasonably expected to be updated to at least version 92, remove the fallback approach. Chrome 94 is expected to ship to stable on 2021/09/21. See more scheduling information at https://chromiumdash.appspot.com/schedule.