deepwall
HomeContact UsLogin
  • Overview
  • System Components
  • Key Concepts
  • How It Works
  • Sign In
  • 🚀GETTING STARTED
  • App Registration
  • Configure In-App Products
  • Paywall Setup
    • Create A Paywall
    • Configure Look & Feel
    • Texts and Translations
  • Displaying Paywalls
    • Activate Default Displays
    • Create Targeted Displays
    • Display Priorities
    • Display Reports
    • Edit Displays
    • Display Rules
    • On Close Paywalls
  • Store Configuration
  • Attributions Configuration
  • App Status and Settings
  • ⚙️ SDK Framework
    • SDK Installation
      • iOS SDK
      • Android SDK
      • React Native SDK
      • Flutter SDK
      • Cordova SDK
      • Unity SDK
    • Using the SDKs
      • Initialization
      • Configuration
      • Listening SDK Events
      • Requesting Paywalls
      • Closing a Paywall
      • Validating Receipts
      • Making Purchases
      • Upgrades and Downgrades
      • Non-subscription Purchases
      • Restoring Purchases
      • Transition To Another Paywall
  • 🧪EXPERIMENTS
    • Experiments Overview
    • Create Experiments
    • Experiment Reports
    • Manual Traffic Allocation
    • Update Experiments
    • How Optimization Works?
  • 📦Integrations
    • Integrations Overview
    • Events List
    • Adjust
      • Get App Token
      • Create Adjust Events
    • AppsFlyer
      • Get Dev Key
    • Webhooks
    • OneSignal
  •  App Tracking (iOS 14.5)
    • App Tracking Overview
    • Configure In-app Actions
    • Create ATT Prompt
    • Displaying ATT Prompts
    • Experiments
  • 📈DASHBOARD
    • App Overview
    • Invite Members
    • Access Management
  • GUIDES
    • Apple
      • Getting the App Credentials
      • Setup In-App Products
      • Getting the Shared Secret
      • Server to server notifications
    • Google
      • Getting App Credentials
      • Setup In-App Products
      • Create Service Account Key
      • Developer Notifications
    • Huawei
      • Getting App Credentials
      • Setup In-App Products
      • Developer Notifications
  • 🔍Testing
    • Test Flows
    • Troubleshooting
    • Sandbox Testing
      • Apple App Store
      • Google Play Store
  • 🔗SDK Links
  • iOS SDK
  • Android SDK
  • React Native SDK
  • Flutter SDK
  • Cordova SDK
  • Unity SDK
Powered by GitBook
On this page

Was this helpful?

  1. ⚙️ SDK Framework
  2. Using the SDKs

Transition To Another Paywall

Learn how to raise another paywall from a paywall

PreviousRestoring PurchasesNextExperiments Overview

Last updated 3 years ago

Was this helpful?

In some cases you may want to offer a product on a paywall and you want to direct your users to another paywall for all price options.

Transition to another paywall is available on a limited number themes and it is optional on them. If the theme you are using supports transition to another paywall and you also enable it while you are requesting the paywall then you can listen and catch the relevant event sent to your app by the Deepwall SDK and raise another paywall in your app.

If you want to use transition to another paywall feature e.g. View all plans, follow the steps below, make necessary integration and update your app.

1- First choose a theme that supports transition to another paywall like "View all plans", and create and publish a paywall with this feature. We suggest you to create and use a separate in-app action to manage the second paywall.

2- For enabling transition to another paywall, relevant parameter should be sent via extraData while requesting a paywall.

For "View all plans", send viewAllPlans parameter as true via deepwallExtraData for enabling "View all plans" button on the requested paywall.

```
let deepwallExtraData: DeepWallExtraDataType = [
    "viewAllPlans": true
]
DeepWall.shared.requestPaywall(action: "{ACTION_KEY}", in: self, extraData: deepwallExtraData)
```

3- Deepwall SDK sends an extraData event to your app so that you can close the current paywall and request another paywall.

When the "View all plans" is clicked on the paywall by the users, the extraData event is sent to app layer. This event is sent as "user_choice: 'view_plans'". You can catch this by listening to the "deepWallPaywallExtraDataReceived" event.

4- When you catch the "user_choice: 'view_plans'" event you need to close the current open paywall first and request another paywall.

Important Note

You need to close the open paywall first before requesting a new paywall, otherwise you will receive multiple request error and new paywall won't be raised.

Learn more about listening SDK events .

Learn more for closing paywalls and for requesting paywalls .

here
here
here