Skip to content

PaywallViewController does not auto dismiss on restore purchase success #3617

Description

@wyattharrell

Describe the bug
A clear and concise description of what the bug is. The more detail you can provide the faster our team will be able to triage and resolve the issue. Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.

  1. Environment

    1. Platform: iOS
    2. SDK version: 4.33.0
    3. StoreKit version:
      • StoreKit 1
      • StoreKit 2 (enabled with usesStoreKit2IfAvailable(true))
    4. OS version: 17.2.1
    5. Xcode version: 15.2
    6. Device and/or simulator:
      • Device
      • Simulator
    7. Environment:
      • Sandbox
      • TestFight
      • Production
    8. How widespread is the issue. Percentage of devices affected: 100% (only tested on UIKit version of Paywall)
  2. Steps to reproduce, with a description of expected vs. actual behavior

  • Delete app
  • Re-build app
  • Perform an action that is gated by an IAP to trigger Paywall UI
  • Tap restore purchase button
  • See success alert
  • Observe Paywall UI is still present
  1. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Calling controller.dismiss(animated) when receiving didFinishRestoringWith WILL dismiss the view controller, but the "Success" alert will NOT be shown

  1. Additional context

This does not match the same behavior as making a successful purchase does on the Paywall UI. A successful purchase auto dismisses the PaywallViewController.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions