Paddle.Retain.demo()
Demos Paddle Retain functionality.
Use Paddle.Retain.demo()
to demo Paddle Retain functionality.
Typically used by typing Paddle.Retain.demo({feature: 'featureName')
directly into the browser console. You can simulate payment recovery and dunning, Cancellation Flows, and Term Optimization.
Only available for live accounts.
Paddle Retain runs on live data. While you can initialize Paddle.js with Retain in sandbox accounts, Retain features aren't loaded there.
This method is for Paddle Billing only. If you use Paddle Retain with another billing platform, use the
profitwell
method in the ProfitWell.js snippet instead. To learn more, see Test Paddle Retain
Parameters
Paddle Retain feature to simulate. Features use sample data.
Examples
This example simulates a cancellation flow. Type this directly into your browser console to demo Retain Cancellation Flows:
11Paddle.Retain.demo({feature: 'cancellationFlow'})
This example simulates the payment form that a customer sees when they click on a link in a payment recovery email. Type this directly into your browser console to demo Retain Payment Recovery:
11Paddle.Retain.demo({feature: 'paymentRecovery'})
This example simulates an in-app notification that prompts a customer to update their payment method. Type this directly into your browser console to demo an in-app notification for Retain Payment Recovery:
11Paddle.Retain.demo({feature: 'paymentRecoveryInApp'})
This example simulates the modal that a customer sees when they click on a link in a Term Optimization email. Type this directly into your browser console to demo Retain Term Optimization:
11Paddle.Retain.demo({feature: 'termOptimization'})
This example simulates an in-app notification that prompts a customer to upgrade their plan. Type this directly into your browser console to demo an in-app notification for Retain Term Optimization:
11Paddle.Retain.demo({feature: 'termOptimizationInApp'})
To learn more, see Test Paddle Retain