Skip to content

Conversation

@DaVinci9196
Copy link
Contributor

Expand other payment methods based on the internal webview loading method.
1: The main interface for adding payment methods must support multi-window mode. Otherwise, an exception will be thrown when window.open is executed inside the web page, causing the registration data transfer method to fail.
2: Clicking Continue on the main page will redirect and execute to onCreateWindow in WebChromeClient, where a new webview is created to carry the directed page. Displaying the new webview in a dialog created based on the main page context can return data to the main page after the operation.
3: Currently the test can bind the PayPal payment method normally.

@mar-v-in mar-v-in added the 💰 Billing In App Billing and other purchases related APIs label May 14, 2025
@mar-v-in mar-v-in added this to the 0.3.9 milestone Jun 11, 2025
@mar-v-in mar-v-in merged commit d986486 into microg:master Jul 11, 2025
1 check passed
@DaVinci9196 DaVinci9196 deleted the extend_iap_payment branch July 14, 2025 01:57
DaVinci9196 added a commit to DaVinci9196/GmsCore that referenced this pull request Jul 17, 2025
Add multi-window support in the billing webview. This allows to use or set-up additional payment methods like PayPal that need to launch a popup window.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💰 Billing In App Billing and other purchases related APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants