Docs

Simulate Paddle Retain interventions

Check that you've installed Paddle.js with Retain or the ProfitWell.js snippets correctly, and see for yourself what Retain looks like.

Once you've installed Retain, you can simulate Paddle Retain interventions by running some commands in your browser console.

This lets you check that Paddle Retain is installed correctly, and gives you a chance to see what customers see when Retain is in action.

Before you begin

If you haven't already, include Paddle.js with Retain in your web app and on your commercial website. Paddle.js integrates with Retain, so you don't have to include a separate Retain script.

You can simulate Retain interventions even if you haven't set up Retain yet. We recommend that you set up Retain and configure payment recovery before testing.

Install the ProfitWell.js snippets on your web app and on your commercial website. See install ProfitWell.js on the Paddle Retain help center for more information.

We recommend that you set up Retain and configure payment recovery before testing.

Simulate payment recovery

You can simulate the payment recovery form that a customer sees when they click a Retain link and payment recovery notifications on a page where you've installed Paddle Retain.

  1. Go to a page where you've installed Paddle.js.
  2. Open your browser console.
  3. Type Paddle.Retain.demo({feature: 'paymentRecoveryInApp'}) to demo a payment recovery notification.
  4. Type Paddle.Retain.demo({feature: 'paymentRecovery'}) to demo a payment recovery form.

The form that appears uses Paddle sandbox, so you may use test card details to simulate a successful or failed payment.

  1. Go to a page where you've installed the ProfitWell.js snippets.
  2. Open your browser console.
  3. Type profitwell('cq_demo', 'in_app') to demo a payment recovery notification.
  4. Type profitwell('cq_demo', 'dunning') to demo a payment recovery form.

The form that appears uses Paddle sandbox, so you may use test card details to simulate a successful or failed payment.

Simulate Cancellation Flows

You can simulate Cancellation Flows on a page where you've installed Paddle Retain.

  1. Go to a page where you've installed Paddle.js for Retain.
  2. Open your browser console.
  3. Type and enter Paddle.Retain.demo({feature: 'cancellationFlow'}) .
  1. Go to a page where you've installed the ProfitWell.js snippets.
  2. Open your browser console.
  3. Type and enter profitwell('cq_demo', 'cancellation_flow') .

Simulate Term Optimization

You can simulate Term Optimization on a page where you've installed Paddle Retain.

  1. Go to a page where you've installed Paddle.js.
  2. Open your browser console.
  3. Type Paddle.Retain.demo({feature: 'termOptimizationInApp'}) to demo a Term Optimization notification.
  4. Type Paddle.Retain.demo({feature: 'termOptimization'}) to demo a Term Optimization form.
  1. Go to a page where you've installed the ProfitWell.js snippets.
  2. Open your browser console.
  3. Type profitwell('cq_demo', 'plan_upgrade', 'notification') to demo a Term Optimization notification.
  4. Type profitwell('cq_demo', 'plan_upgrade') to demo a Term Optimization form.

Simulate other features

Retain Reactivations and Retain Lockout aren't available for all billing platforms supported by Paddle Retain.

If you use a platform that supports Retain Reactivations and Retain Lockout, you can simulate them on a page where you've installed Paddle Retain.

Reactivations

  1. Go to a page where you've installed the ProfitWell.js snippets.
  2. Open your browser console.
  3. Type profitwell('cq_demo', 'reactivation') .

Lockout

  1. Go to a page where you've installed the ProfitWell.js snippets.
  2. Open your browser console.
  3. Type profitwell('cq_demo', 'lockout') .

Was this page helpful?