Skip to content

Conversation

@AlexGrafl
Copy link

Checklist

  • If applicable, unit tests
  • If applicable, create follow-up issues for purchases-ios and hybrids

Motivation

As per this issue #2479 , setting the GoogleReplacementMode is currently not possible when using Paywalls v2. This PR allows developers to change the proration mode and pass the old purchase id to the purchasing flow.

Description

  • Add new ReplaceProductData data class
  • Pass data to PurchaseParamsBuilder on purchase
  • Extend PaywallOptions and PaywallDialogOptions to support new parameter
  • Add tests in PaywallViewModelTest to verify correct parameters are passed to purchase flow

…rchase, extend PaywallOptions and PaywallDialogOptions to support new parameter
@AlexGrafl AlexGrafl requested a review from a team as a code owner December 2, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant