Enhancing Android Checkout with Dynamic Callbacks in Google Pay- Google Developers Blog
May 26, 2026Dominik Mengelt, Nik Heath

Summary
This post introduces the implementation of dynamic callbacks (`onPaymentDataChanged` and `onPaymentAuthorized`) for Google Pay on Android native apps, mirroring existing web capabilities. It details how to extend `BasePaymentDataCallbacks` and `BasePaymentDataCallbacksService` to handle real-time updates to shipping options, taxes, and total prices based on user interactions within the Google Pay sheet. It also covers handling authorization feedback and retries directly within the sheet. The post provides code examples in Kotlin and XML manifest updates, and highlights the benefits of reduced friction, increased accuracy, and improved authorization handling.
More from the Google Checkout API and Payment Processing trail
- The latest updates to Google Pay- Google Developers Blog
- New enhancements for merchant initiated transactions with the Google Pay API- Google Developers Blog
- Google Pay inside sandboxed iframe for PCI DSS v4 compliance- Google Developers Blog
- Adding support for Google Pay within Android WebView- Google Developers Blog
- New Google Pay features to enhance your payment flows- Google Developers Blog