[{"data":1,"prerenderedAt":1408},["ShallowReactive",2],{"navigation":3,"/cancel-flows/pause-wall":310,"/cancel-flows/pause-wall-surround":1405},[4,13,161,197,211,236,290,300],{"title":5,"_path":6,"children":7,"_id":12,"description":11},"Getting Started","/getting-started",[8],{"title":9,"_path":6,"_id":10,"description":11},"Overview","content:1.getting-started:1.index.md","Everything you need to know about integrating Churnkey with your product and billing stack.","content:1.getting-started:_dir.yml",{"title":14,"_path":15,"children":16,"_id":160},"Cancel Flows","/cancel-flows",[17,22,27,32,37,42,47,52,57,62,67,72,116,130],{"title":18,"_path":19,"_id":20,"description":21},"Quick Start Guide","/cancel-flows/quick-start-guide","content:2.cancel-flows:1.quick-start-guide.md","A 3-step guide on how to implement Cancel Flows in your website",{"title":23,"_path":24,"_id":25,"description":26},"Cancel Flow Structure","/cancel-flows/flow-configuration","content:2.cancel-flows:2.flow configuration.md","Learn about the available components that make up a Cancel Flow, from initial offers to cancellation confirmation, and how each step contributes to the overall flow.",{"title":28,"_path":29,"_id":30,"description":31},"Configuration Options","/cancel-flows/further-configuration","content:2.cancel-flows:3.further-configuration.md","Additional details for all of the following options are included below.",{"title":33,"_path":34,"_id":35,"description":36},"Custom Styling","/cancel-flows/custom-styling","content:2.cancel-flows:4.custom-styling.md","Brand your Churnkey Cancel Flow with your own CSS",{"title":38,"_path":39,"_id":40,"description":41},"Managed Email Flow","/cancel-flows/email-verified-cancel-flow","content:2.cancel-flows:6.email-verified-cancel-flow.md","Our managed email based setup takes care of customer verification for you with an email verification code.",{"title":43,"_path":44,"_id":45,"description":46},"A/B Testing","/cancel-flows/a-b-testing","content:2.cancel-flows:7.a-b-testing.md","Run controlled experiments to optimize your Cancel Flows and maximize customer retention.",{"title":48,"_path":49,"_id":50,"description":51},"Testing","/cancel-flows/cancel-flow-testing","content:2.cancel-flows:8.cancel-flow-testing.md","Ensure that your Cancel Flow is working as intended before going live.",{"title":53,"_path":54,"_id":55,"description":56},"Pause Wall","/cancel-flows/pause-wall","content:2.cancel-flows:9.pause-wall.md","Block access to your application during subscription pauses",{"title":58,"_path":59,"_id":60,"description":61},"Click-to-Cancel Compliance","/cancel-flows/click-to-cancel","content:2.cancel-flows:10.click-to-cancel.md","Implement automatic compliance with global subscription cancellation requirements",{"title":63,"_path":64,"_id":65,"description":66},"Structured Follow-Up Questions","/cancel-flows/structured-follow-up-questions","content:2.cancel-flows:11.structured-follow-up-questions.md","Collect deeper cancellation insights and deliver targeted retention offers with a second layer of predefined follow-up options in your cancel flow survey.",{"title":68,"_path":69,"_id":70,"description":71},"Adaptive Offers","/cancel-flows/adaptive-offers","content:2.cancel-flows:adaptive-offers.md","AI-powered discount optimization that automatically finds the perfect offer for each customer",{"title":73,"_path":74,"children":75},"Analytics","/cancel-flows/analytics",[76,81,86,91,96,101,106,111],{"title":77,"_path":78,"_id":79,"description":80},"Boosted Revenue","/cancel-flows/analytics/average-boosted-revenue","content:2.cancel-flows:analytics:1.average-boosted-revenue.md","Measure the long-term value of retained subscribers",{"title":82,"_path":83,"_id":84,"description":85},"Save Rate","/cancel-flows/analytics/save-rate","content:2.cancel-flows:analytics:2.save-rate.md","The percentage of customers that your Cancel Flows saved from cancellation",{"title":87,"_path":88,"_id":89,"description":90},"Reactivation Rate","/cancel-flows/analytics/reactivation-rate","content:2.cancel-flows:analytics:3.reactivation-rate.md","The percentage of customers who pay at least one invoice after being saved",{"title":92,"_path":93,"_id":94,"description":95},"Sessions","/cancel-flows/analytics/session-outcomes","content:2.cancel-flows:analytics:4.session-outcomes.md","Track each interaction that a customer has with your Cancel Flows",{"title":97,"_path":98,"_id":99,"description":100},"Cancellation Trends","/cancel-flows/analytics/cancellation-trends","content:2.cancel-flows:analytics:5.cancellation-trends.md","Analyze and interpret the selection rates and trends for cancellation reasons in your Cancel Flows.",{"title":102,"_path":103,"_id":104,"description":105},"Feedback AI","/cancel-flows/analytics/feedback-ai","content:2.cancel-flows:analytics:6.feedback-ai.md","Transform customer feedback into actionable insights with AI-powered categorization and analysis",{"title":107,"_path":108,"_id":109,"description":110},"Response Flow","/cancel-flows/analytics/response-flow","content:2.cancel-flows:analytics:7.response-flow.md","Visualize how customers move from primary cancellation reasons to specific follow-up selections with the Sankey diagram",{"title":112,"_path":113,"_id":114,"description":115},"Response Explorer","/cancel-flows/analytics/response-explorer","content:2.cancel-flows:analytics:8.response-explorer.md","Drill into individual follow-up responses with the Treemap visualization, search, trend analysis, and MRR impact sorting",{"title":117,"_path":118,"children":119},"Multi Language Support","/cancel-flows/multi-language-support",[120,125],{"title":121,"_path":122,"_id":123,"description":124},"Manual Translations","/cancel-flows/multi-language-support/multi-language-support","content:2.cancel-flows:multi-language-support:5.multi-language-support.md","Support multiple languages.",{"title":126,"_path":127,"_id":128,"description":129},"Automatic Translations","/cancel-flows/multi-language-support/automatic-translation","content:2.cancel-flows:multi-language-support:automatic-translation.md","Enable AI-powered multilingual support for your Cancel Flows with a single toggle.",{"title":131,"_path":132,"children":133,"_id":159},"Offers","/cancel-flows/offers",[134,139,144,149,154],{"title":135,"_path":136,"_id":137,"description":138},"Discount","/cancel-flows/offers/discounts","content:2.cancel-flows:offers:discounts.md","Offer targeted subscription discounts to reduce churn and increase customer retention",{"title":140,"_path":141,"_id":142,"description":143},"Hidden Plans","/cancel-flows/offers/hidden-plans","content:2.cancel-flows:offers:hidden-plans.md","Use the Switch Subscription Plan offer to present exclusive, non-public plans to customers during cancellation",{"title":145,"_path":146,"_id":147,"description":148},"Pause Subscription","/cancel-flows/offers/pause-subscription","content:2.cancel-flows:offers:pause-subscription.md","Temporarily suspend subscription payments without canceling the service",{"title":150,"_path":151,"_id":152,"description":153},"Switch Subscription Plan","/cancel-flows/offers/switch-subscription","content:2.cancel-flows:offers:switch-subscription.md","Allow customers to change to a different subscription plan during the cancellation flow to retain them with a more suitable option",{"title":155,"_path":156,"_id":157,"description":158},"Trial Extension","/cancel-flows/offers/trial-extension","content:2.cancel-flows:offers:trial-extension.md","Extend customer trial periods to reduce churn and increase conversion rates during the critical trial-to-paid transition","content:2.cancel-flows:offers:_dir.yml","content:2.cancel-flows:_dir.yml",{"title":162,"_path":163,"children":164,"_id":196},"Payment Recovery","/failed-payment-recovery",[165,169,174,179,184,188],{"title":5,"_path":166,"_id":167,"description":168},"/failed-payment-recovery/payment-recovery","content:3.failed-payment-recovery:1.payment-recovery.md","Recover failed payment revenue, automatically.",{"title":170,"_path":171,"_id":172,"description":173},"Customize your Campaigns","/failed-payment-recovery/campaign-customization","content:3.failed-payment-recovery:2.campaign-customization.md","Customize your Payment Recovery Campaigns to match the unique needs of your individual customers.",{"title":175,"_path":176,"_id":177,"description":178},"Failed Payment Wall","/failed-payment-recovery/failed-payment-wall","content:3.failed-payment-recovery:3.failed-payment-wall.md","Block access to your application when payments fail",{"title":180,"_path":181,"_id":182,"description":183},"Billing Contact API","/failed-payment-recovery/billing-contact-api","content:3.failed-payment-recovery:4.billing-contact-api.md","Send Payment Recovery emails to multiple billing contacts",{"title":43,"_path":185,"_id":186,"description":187},"/failed-payment-recovery/ab-testing","content:3.failed-payment-recovery:5.ab-testing.md","Optimize your payment recovery campaigns through controlled experiments that maximize revenue recovery.",{"title":73,"_path":189,"children":190},"/failed-payment-recovery/analytics",[191],{"title":192,"_path":193,"_id":194,"description":195},"Overall Performance","/failed-payment-recovery/analytics/overview","content:3.failed-payment-recovery:analytics:1.overview.md","Key performance metrics for your Payment Recovery campaigns","content:3.failed-payment-recovery:_dir.yml",{"title":198,"_path":199,"children":200,"_id":210},"Reactivations","/reactivations",[201,205],{"title":5,"_path":202,"_id":203,"description":204},"/reactivations/reactivations","content:4.reactivations:1.reactivations.md","Churnkey helps you to recover unsubscribed customers with easy, customizable Reactivation Email Campaigns.",{"title":206,"_path":207,"_id":208,"description":209},"Customization","/reactivations/campaign-customization-guide","content:4.reactivations:2.campaign-customization-guide.md","Customize your Reactivation Campaigns to match the individual needs of your customers.","content:4.reactivations:_dir.yml",{"title":212,"_path":213,"children":214,"_id":235},"Data Integrations","/data-integrations",[215,220,225,230],{"title":216,"_path":217,"_id":218,"description":219},"Data API","/data-integrations/data-api","content:6.data-integrations:1.data-api.md","Access your data through our API.",{"title":221,"_path":222,"_id":223,"description":224},"Slack notifications","/data-integrations/slack","content:6.data-integrations:2.slack.md","Connect Churnkey with your organization's Slack and to send session notifications to a specific channel.",{"title":226,"_path":227,"_id":228,"description":229},"Webhooks","/data-integrations/webhooks","content:6.data-integrations:2.webhooks.md","Churnkey can send webhooks to automatically notify your application whenever a customer completes a session.",{"title":231,"_path":232,"_id":233,"description":234},"Event Tracking","/data-integrations/event-tracking","content:6.data-integrations:3.event-tracking.md","Track your customers' key-value metrics on a per customer basis.","content:6.data-integrations:_dir.yml",{"title":237,"_path":238,"children":239,"_id":289},"Billing Providers","/billing-providers",[240,245,250,255,260,265,270,275],{"title":241,"_path":242,"_id":243,"description":244},"Payment Providers","/billing-providers/payment-provider-overview","content:7.billing-providers:1.payment-provider-overview.md","Feature support for Stripe, Chargebee, Paddle, and Braintree",{"title":246,"_path":247,"_id":248,"description":249},"Stripe","/billing-providers/stripe","content:7.billing-providers:3.stripe.md","Integrate Churnkey with your Stripe account",{"title":251,"_path":252,"_id":253,"description":254},"Chargebee","/billing-providers/chargebee","content:7.billing-providers:4.chargebee.md","Integrate Churnkey with your Chargebee account",{"title":256,"_path":257,"_id":258,"description":259},"Paddle Classic","/billing-providers/paddle-classic","content:7.billing-providers:5.paddle-classic.md","Integrate Churnkey with your Paddle Classic account",{"title":261,"_path":262,"_id":263,"description":264},"Paddle Billing","/billing-providers/paddle-billing","content:7.billing-providers:6.paddle-billing.md","Integrate Churnkey with your Paddle Billing account",{"title":266,"_path":267,"_id":268,"description":269},"Braintree","/billing-providers/braintree","content:7.billing-providers:7.braintree.md","Integrate Churnkey with your Braintree account",{"title":271,"_path":272,"_id":273,"description":274},"Maxio","/billing-providers/maxio","content:7.billing-providers:8.maxio.md","Integrate Churnkey with your Maxio (formerly Chargify) account",{"title":276,"_path":277,"children":278},"Direct Connect","/billing-providers/direct-connect",[279,284],{"title":280,"_path":281,"_id":282,"description":283},"Churnkey Direct","/billing-providers/direct-connect/direct","content:7.billing-providers:9.direct-connect:1.direct.md","Integrate Churnkey with any billing system using Direct mode",{"title":285,"_path":286,"_id":287,"description":288},"Direct Mode Examples","/billing-providers/direct-connect/direct-examples","content:7.billing-providers:9.direct-connect:2.direct-examples.md","Real-world examples for common subscription scenarios","content:7.billing-providers:_dir.yml",{"title":291,"_path":292,"children":293,"_id":299},"Account","/account",[294],{"title":295,"_path":296,"_id":297,"description":298},"Multi-Workspace Support","/account/multi-workspace-support","content:8.account:1.multi-workspace-support.md","Use one email address to access multiple Churnkey workspaces and switch between them instantly.","content:8.account:_dir.yml",{"title":301,"_path":302,"children":303,"_id":309},"Support","/support",[304],{"title":305,"_path":306,"_id":307,"description":308},"Frequently Asked Questions","/support/faqs","content:9.support:1.faqs.md","We want setting up Churnkey to be a breeze.","content:9.support:_dir.yml",{"_path":54,"_dir":311,"_draft":312,"_partial":312,"_locale":313,"title":53,"description":56,"body":314,"_type":1399,"_id":55,"_source":1400,"_file":1401,"_stem":1402,"_extension":1403,"sitemap":1404},"cancel-flows",false,"",{"type":315,"children":316,"toc":1388},"root",[317,325,335,343,350,355,382,610,616,621,641,646,687,693,700,911,917,922,1094,1100,1105,1167,1173,1178,1284,1289,1319,1324,1329,1382],{"type":318,"tag":319,"props":320,"children":321},"element","p",{},[322],{"type":323,"value":324},"text","The Pause Wall helps you manage access to your application by automatically blocking access when a customer's subscription is paused. It displays a streamlined UI that allows customers to resume or cancel their subscription immediately.",{"type":318,"tag":326,"props":327,"children":329},"alert",{"type":328},"warning",[330],{"type":318,"tag":319,"props":331,"children":332},{},[333],{"type":323,"value":334},"Currently available for Stripe and Chargebee",{"type":318,"tag":319,"props":336,"children":337},{},[338],{"type":318,"tag":339,"props":340,"children":342},"img",{"alt":53,"src":341},"/img/pausewall.png",[],{"type":318,"tag":344,"props":345,"children":347},"h2",{"id":346},"quick-start",[348],{"type":323,"value":349},"Quick start",{"type":318,"tag":319,"props":351,"children":352},{},[353],{"type":323,"value":354},"To implement the Pause Wall:",{"type":318,"tag":356,"props":357,"children":358},"ol",{},[359,372,377],{"type":318,"tag":360,"props":361,"children":362},"li",{},[363,365],{"type":323,"value":364},"Ensure the ",{"type":318,"tag":366,"props":367,"children":369},"a",{"href":368},"/cancel-flows/quick-start-guide#step-1-add-the-script",[370],{"type":323,"value":371},"Churnkey script is loaded",{"type":318,"tag":360,"props":373,"children":374},{},[375],{"type":323,"value":376},"Add the check function to your application initialization",{"type":318,"tag":360,"props":378,"children":379},{},[380],{"type":323,"value":381},"Configure the wall behavior",{"type":318,"tag":383,"props":384,"children":388},"pre",{"className":385,"code":386,"language":387,"meta":313,"style":313},"language-javascript shiki shiki-themes github-light-default github-light-default github-dark-default","window.churnkey.check('pause', {\n  // Required - Authentication & identification\n  customerId: 'CUSTOMER_ID',\n  authHash: 'HMAC_HASH',\n  appId: 'YOUR_APP_ID',\n  provider: 'stripe',        // or 'chargebee'\n  \n  // Optional - Wall behavior\n  mode: 'live',             // Use 'test' for development\n  softWall: false,          // Allow users to exit the wall\n  forceCheck: false         // Skip caching (not recommended)\n})\n","javascript",[389],{"type":318,"tag":390,"props":391,"children":392},"code",{"__ignoreMap":313},[393,427,437,456,474,492,516,525,534,558,583,601],{"type":318,"tag":394,"props":395,"children":398},"span",{"class":396,"line":397},"line",1,[399,405,411,416,422],{"type":318,"tag":394,"props":400,"children":402},{"style":401},"--shiki-light:#1F2328;--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[403],{"type":323,"value":404},"window.churnkey.",{"type":318,"tag":394,"props":406,"children":408},{"style":407},"--shiki-light:#8250DF;--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[409],{"type":323,"value":410},"check",{"type":318,"tag":394,"props":412,"children":413},{"style":401},[414],{"type":323,"value":415},"(",{"type":318,"tag":394,"props":417,"children":419},{"style":418},"--shiki-light:#0A3069;--shiki-default:#0A3069;--shiki-dark:#A5D6FF",[420],{"type":323,"value":421},"'pause'",{"type":318,"tag":394,"props":423,"children":424},{"style":401},[425],{"type":323,"value":426},", {\n",{"type":318,"tag":394,"props":428,"children":430},{"class":396,"line":429},2,[431],{"type":318,"tag":394,"props":432,"children":434},{"style":433},"--shiki-light:#6E7781;--shiki-default:#6E7781;--shiki-dark:#8B949E",[435],{"type":323,"value":436},"  // Required - Authentication & identification\n",{"type":318,"tag":394,"props":438,"children":440},{"class":396,"line":439},3,[441,446,451],{"type":318,"tag":394,"props":442,"children":443},{"style":401},[444],{"type":323,"value":445},"  customerId: ",{"type":318,"tag":394,"props":447,"children":448},{"style":418},[449],{"type":323,"value":450},"'CUSTOMER_ID'",{"type":318,"tag":394,"props":452,"children":453},{"style":401},[454],{"type":323,"value":455},",\n",{"type":318,"tag":394,"props":457,"children":459},{"class":396,"line":458},4,[460,465,470],{"type":318,"tag":394,"props":461,"children":462},{"style":401},[463],{"type":323,"value":464},"  authHash: ",{"type":318,"tag":394,"props":466,"children":467},{"style":418},[468],{"type":323,"value":469},"'HMAC_HASH'",{"type":318,"tag":394,"props":471,"children":472},{"style":401},[473],{"type":323,"value":455},{"type":318,"tag":394,"props":475,"children":477},{"class":396,"line":476},5,[478,483,488],{"type":318,"tag":394,"props":479,"children":480},{"style":401},[481],{"type":323,"value":482},"  appId: ",{"type":318,"tag":394,"props":484,"children":485},{"style":418},[486],{"type":323,"value":487},"'YOUR_APP_ID'",{"type":318,"tag":394,"props":489,"children":490},{"style":401},[491],{"type":323,"value":455},{"type":318,"tag":394,"props":493,"children":495},{"class":396,"line":494},6,[496,501,506,511],{"type":318,"tag":394,"props":497,"children":498},{"style":401},[499],{"type":323,"value":500},"  provider: ",{"type":318,"tag":394,"props":502,"children":503},{"style":418},[504],{"type":323,"value":505},"'stripe'",{"type":318,"tag":394,"props":507,"children":508},{"style":401},[509],{"type":323,"value":510},",        ",{"type":318,"tag":394,"props":512,"children":513},{"style":433},[514],{"type":323,"value":515},"// or 'chargebee'\n",{"type":318,"tag":394,"props":517,"children":519},{"class":396,"line":518},7,[520],{"type":318,"tag":394,"props":521,"children":522},{"style":401},[523],{"type":323,"value":524},"  \n",{"type":318,"tag":394,"props":526,"children":528},{"class":396,"line":527},8,[529],{"type":318,"tag":394,"props":530,"children":531},{"style":433},[532],{"type":323,"value":533},"  // Optional - Wall behavior\n",{"type":318,"tag":394,"props":535,"children":537},{"class":396,"line":536},9,[538,543,548,553],{"type":318,"tag":394,"props":539,"children":540},{"style":401},[541],{"type":323,"value":542},"  mode: ",{"type":318,"tag":394,"props":544,"children":545},{"style":418},[546],{"type":323,"value":547},"'live'",{"type":318,"tag":394,"props":549,"children":550},{"style":401},[551],{"type":323,"value":552},",             ",{"type":318,"tag":394,"props":554,"children":555},{"style":433},[556],{"type":323,"value":557},"// Use 'test' for development\n",{"type":318,"tag":394,"props":559,"children":561},{"class":396,"line":560},10,[562,567,573,578],{"type":318,"tag":394,"props":563,"children":564},{"style":401},[565],{"type":323,"value":566},"  softWall: ",{"type":318,"tag":394,"props":568,"children":570},{"style":569},"--shiki-light:#0550AE;--shiki-default:#0550AE;--shiki-dark:#79C0FF",[571],{"type":323,"value":572},"false",{"type":318,"tag":394,"props":574,"children":575},{"style":401},[576],{"type":323,"value":577},",          ",{"type":318,"tag":394,"props":579,"children":580},{"style":433},[581],{"type":323,"value":582},"// Allow users to exit the wall\n",{"type":318,"tag":394,"props":584,"children":586},{"class":396,"line":585},11,[587,592,596],{"type":318,"tag":394,"props":588,"children":589},{"style":401},[590],{"type":323,"value":591},"  forceCheck: ",{"type":318,"tag":394,"props":593,"children":594},{"style":569},[595],{"type":323,"value":572},{"type":318,"tag":394,"props":597,"children":598},{"style":433},[599],{"type":323,"value":600},"         // Skip caching (not recommended)\n",{"type":318,"tag":394,"props":602,"children":604},{"class":396,"line":603},12,[605],{"type":318,"tag":394,"props":606,"children":607},{"style":401},[608],{"type":323,"value":609},"})\n",{"type":318,"tag":344,"props":611,"children":613},{"id":612},"how-it-works",[614],{"type":323,"value":615},"How it works",{"type":318,"tag":319,"props":617,"children":618},{},[619],{"type":323,"value":620},"The Pause Wall activates automatically when:",{"type":318,"tag":622,"props":623,"children":624},"ul",{},[625,636],{"type":318,"tag":360,"props":626,"children":627},{},[628,630],{"type":323,"value":629},"A customer's subscription status is ",{"type":318,"tag":390,"props":631,"children":633},{"className":632},[],[634],{"type":323,"value":635},"paused",{"type":318,"tag":360,"props":637,"children":638},{},[639],{"type":323,"value":640},"The subscription is in its paused period",{"type":318,"tag":319,"props":642,"children":643},{},[644],{"type":323,"value":645},"When activated, it:",{"type":318,"tag":356,"props":647,"children":648},{},[649,654,677,682],{"type":318,"tag":360,"props":650,"children":651},{},[652],{"type":323,"value":653},"Blocks access to your application",{"type":318,"tag":360,"props":655,"children":656},{},[657,659],{"type":323,"value":658},"Displays options to:\n",{"type":318,"tag":622,"props":660,"children":661},{},[662,667,672],{"type":318,"tag":360,"props":663,"children":664},{},[665],{"type":323,"value":666},"Resume the subscription immediately",{"type":318,"tag":360,"props":668,"children":669},{},[670],{"type":323,"value":671},"Cancel the subscription at term end",{"type":318,"tag":360,"props":673,"children":674},{},[675],{"type":323,"value":676},"Exit the wall (if softWall is enabled)",{"type":318,"tag":360,"props":678,"children":679},{},[680],{"type":323,"value":681},"Processes the customer's choice",{"type":318,"tag":360,"props":683,"children":684},{},[685],{"type":323,"value":686},"Restores access when appropriate",{"type":318,"tag":344,"props":688,"children":690},{"id":689},"configuration",[691],{"type":323,"value":692},"Configuration",{"type":318,"tag":694,"props":695,"children":697},"h3",{"id":696},"core-options",[698],{"type":323,"value":699},"Core options",{"type":318,"tag":701,"props":702,"children":703},"table",{},[704,733],{"type":318,"tag":705,"props":706,"children":707},"thead",{},[708],{"type":318,"tag":709,"props":710,"children":711},"tr",{},[712,718,723,728],{"type":318,"tag":713,"props":714,"children":715},"th",{},[716],{"type":323,"value":717},"Option",{"type":318,"tag":713,"props":719,"children":720},{},[721],{"type":323,"value":722},"Type",{"type":318,"tag":713,"props":724,"children":725},{},[726],{"type":323,"value":727},"Default",{"type":318,"tag":713,"props":729,"children":730},{},[731],{"type":323,"value":732},"Description",{"type":318,"tag":734,"props":735,"children":736},"tbody",{},[737,789,819,848,885],{"type":318,"tag":709,"props":738,"children":739},{},[740,750,755,763],{"type":318,"tag":741,"props":742,"children":743},"td",{},[744],{"type":318,"tag":390,"props":745,"children":747},{"className":746},[],[748],{"type":323,"value":749},"mode",{"type":318,"tag":741,"props":751,"children":752},{},[753],{"type":323,"value":754},"string",{"type":318,"tag":741,"props":756,"children":757},{},[758],{"type":318,"tag":390,"props":759,"children":761},{"className":760},[],[762],{"type":323,"value":547},{"type":318,"tag":741,"props":764,"children":765},{},[766,771,773,779,781,787],{"type":318,"tag":390,"props":767,"children":769},{"className":768},[],[770],{"type":323,"value":547},{"type":323,"value":772},", ",{"type":318,"tag":390,"props":774,"children":776},{"className":775},[],[777],{"type":323,"value":778},"'test'",{"type":323,"value":780},", or ",{"type":318,"tag":390,"props":782,"children":784},{"className":783},[],[785],{"type":323,"value":786},"'sandbox'",{"type":323,"value":788}," (Stripe only)",{"type":318,"tag":709,"props":790,"children":791},{},[792,801,806,814],{"type":318,"tag":741,"props":793,"children":794},{},[795],{"type":318,"tag":390,"props":796,"children":798},{"className":797},[],[799],{"type":323,"value":800},"softWall",{"type":318,"tag":741,"props":802,"children":803},{},[804],{"type":323,"value":805},"boolean",{"type":318,"tag":741,"props":807,"children":808},{},[809],{"type":318,"tag":390,"props":810,"children":812},{"className":811},[],[813],{"type":323,"value":572},{"type":318,"tag":741,"props":815,"children":816},{},[817],{"type":323,"value":818},"Allow customers to exit the wall",{"type":318,"tag":709,"props":820,"children":821},{},[822,831,835,843],{"type":318,"tag":741,"props":823,"children":824},{},[825],{"type":318,"tag":390,"props":826,"children":828},{"className":827},[],[829],{"type":323,"value":830},"forceCheck",{"type":318,"tag":741,"props":832,"children":833},{},[834],{"type":323,"value":805},{"type":318,"tag":741,"props":836,"children":837},{},[838],{"type":318,"tag":390,"props":839,"children":841},{"className":840},[],[842],{"type":323,"value":572},{"type":318,"tag":741,"props":844,"children":845},{},[846],{"type":323,"value":847},"Bypass subscription status cache",{"type":318,"tag":709,"props":849,"children":850},{},[851,860,864,869],{"type":318,"tag":741,"props":852,"children":853},{},[854],{"type":318,"tag":390,"props":855,"children":857},{"className":856},[],[858],{"type":323,"value":859},"provider",{"type":318,"tag":741,"props":861,"children":862},{},[863],{"type":323,"value":754},{"type":318,"tag":741,"props":865,"children":866},{},[867],{"type":323,"value":868},"required",{"type":318,"tag":741,"props":870,"children":871},{},[872,877,879],{"type":318,"tag":390,"props":873,"children":875},{"className":874},[],[876],{"type":323,"value":505},{"type":323,"value":878}," or ",{"type":318,"tag":390,"props":880,"children":882},{"className":881},[],[883],{"type":323,"value":884},"'chargebee'",{"type":318,"tag":709,"props":886,"children":887},{},[888,897,901,906],{"type":318,"tag":741,"props":889,"children":890},{},[891],{"type":318,"tag":390,"props":892,"children":894},{"className":893},[],[895],{"type":323,"value":896},"subscriptionId",{"type":318,"tag":741,"props":898,"children":899},{},[900],{"type":323,"value":754},{"type":318,"tag":741,"props":902,"children":903},{},[904],{"type":323,"value":905},"optional",{"type":318,"tag":741,"props":907,"children":908},{},[909],{"type":323,"value":910},"Specific subscription to check",{"type":318,"tag":694,"props":912,"children":914},{"id":913},"custom-actions",[915],{"type":323,"value":916},"Custom actions",{"type":318,"tag":319,"props":918,"children":919},{},[920],{"type":323,"value":921},"Override default billing actions with custom handlers:",{"type":318,"tag":383,"props":923,"children":925},{"className":385,"code":924,"language":387,"meta":313,"style":313},"window.churnkey.check('pause', {\n  // ... other options\n  handleResume(customer) {\n    // Custom resume logic\n    return Promise.resolve()\n  },\n  handleCancel(customer) {\n    // Custom cancellation logic\n    return Promise.resolve()\n  }\n})\n",[926],{"type":318,"tag":390,"props":927,"children":928},{"__ignoreMap":313},[929,952,960,983,991,1020,1028,1048,1056,1079,1087],{"type":318,"tag":394,"props":930,"children":931},{"class":396,"line":397},[932,936,940,944,948],{"type":318,"tag":394,"props":933,"children":934},{"style":401},[935],{"type":323,"value":404},{"type":318,"tag":394,"props":937,"children":938},{"style":407},[939],{"type":323,"value":410},{"type":318,"tag":394,"props":941,"children":942},{"style":401},[943],{"type":323,"value":415},{"type":318,"tag":394,"props":945,"children":946},{"style":418},[947],{"type":323,"value":421},{"type":318,"tag":394,"props":949,"children":950},{"style":401},[951],{"type":323,"value":426},{"type":318,"tag":394,"props":953,"children":954},{"class":396,"line":429},[955],{"type":318,"tag":394,"props":956,"children":957},{"style":433},[958],{"type":323,"value":959},"  // ... other options\n",{"type":318,"tag":394,"props":961,"children":962},{"class":396,"line":439},[963,968,972,978],{"type":318,"tag":394,"props":964,"children":965},{"style":407},[966],{"type":323,"value":967},"  handleResume",{"type":318,"tag":394,"props":969,"children":970},{"style":401},[971],{"type":323,"value":415},{"type":318,"tag":394,"props":973,"children":975},{"style":974},"--shiki-light:#953800;--shiki-default:#953800;--shiki-dark:#FFA657",[976],{"type":323,"value":977},"customer",{"type":318,"tag":394,"props":979,"children":980},{"style":401},[981],{"type":323,"value":982},") {\n",{"type":318,"tag":394,"props":984,"children":985},{"class":396,"line":458},[986],{"type":318,"tag":394,"props":987,"children":988},{"style":433},[989],{"type":323,"value":990},"    // Custom resume logic\n",{"type":318,"tag":394,"props":992,"children":993},{"class":396,"line":476},[994,1000,1005,1010,1015],{"type":318,"tag":394,"props":995,"children":997},{"style":996},"--shiki-light:#CF222E;--shiki-default:#CF222E;--shiki-dark:#FF7B72",[998],{"type":323,"value":999},"    return",{"type":318,"tag":394,"props":1001,"children":1002},{"style":569},[1003],{"type":323,"value":1004}," Promise",{"type":318,"tag":394,"props":1006,"children":1007},{"style":401},[1008],{"type":323,"value":1009},".",{"type":318,"tag":394,"props":1011,"children":1012},{"style":407},[1013],{"type":323,"value":1014},"resolve",{"type":318,"tag":394,"props":1016,"children":1017},{"style":401},[1018],{"type":323,"value":1019},"()\n",{"type":318,"tag":394,"props":1021,"children":1022},{"class":396,"line":494},[1023],{"type":318,"tag":394,"props":1024,"children":1025},{"style":401},[1026],{"type":323,"value":1027},"  },\n",{"type":318,"tag":394,"props":1029,"children":1030},{"class":396,"line":518},[1031,1036,1040,1044],{"type":318,"tag":394,"props":1032,"children":1033},{"style":407},[1034],{"type":323,"value":1035},"  handleCancel",{"type":318,"tag":394,"props":1037,"children":1038},{"style":401},[1039],{"type":323,"value":415},{"type":318,"tag":394,"props":1041,"children":1042},{"style":974},[1043],{"type":323,"value":977},{"type":318,"tag":394,"props":1045,"children":1046},{"style":401},[1047],{"type":323,"value":982},{"type":318,"tag":394,"props":1049,"children":1050},{"class":396,"line":527},[1051],{"type":318,"tag":394,"props":1052,"children":1053},{"style":433},[1054],{"type":323,"value":1055},"    // Custom cancellation logic\n",{"type":318,"tag":394,"props":1057,"children":1058},{"class":396,"line":536},[1059,1063,1067,1071,1075],{"type":318,"tag":394,"props":1060,"children":1061},{"style":996},[1062],{"type":323,"value":999},{"type":318,"tag":394,"props":1064,"children":1065},{"style":569},[1066],{"type":323,"value":1004},{"type":318,"tag":394,"props":1068,"children":1069},{"style":401},[1070],{"type":323,"value":1009},{"type":318,"tag":394,"props":1072,"children":1073},{"style":407},[1074],{"type":323,"value":1014},{"type":318,"tag":394,"props":1076,"children":1077},{"style":401},[1078],{"type":323,"value":1019},{"type":318,"tag":394,"props":1080,"children":1081},{"class":396,"line":560},[1082],{"type":318,"tag":394,"props":1083,"children":1084},{"style":401},[1085],{"type":323,"value":1086},"  }\n",{"type":318,"tag":394,"props":1088,"children":1089},{"class":396,"line":585},[1090],{"type":318,"tag":394,"props":1091,"children":1092},{"style":401},[1093],{"type":323,"value":609},{"type":318,"tag":694,"props":1095,"children":1097},{"id":1096},"optional-ui-elements",[1098],{"type":323,"value":1099},"Optional UI elements",{"type":318,"tag":319,"props":1101,"children":1102},{},[1103],{"type":323,"value":1104},"Add extra buttons to the wall:",{"type":318,"tag":383,"props":1106,"children":1108},{"className":385,"code":1107,"language":387,"meta":313,"style":313},"window.churnkey.check('pause', {\n  // ... other options\n  handleLogout() { }  // Add logout button\n})\n",[1109],{"type":318,"tag":390,"props":1110,"children":1111},{"__ignoreMap":313},[1112,1135,1142,1160],{"type":318,"tag":394,"props":1113,"children":1114},{"class":396,"line":397},[1115,1119,1123,1127,1131],{"type":318,"tag":394,"props":1116,"children":1117},{"style":401},[1118],{"type":323,"value":404},{"type":318,"tag":394,"props":1120,"children":1121},{"style":407},[1122],{"type":323,"value":410},{"type":318,"tag":394,"props":1124,"children":1125},{"style":401},[1126],{"type":323,"value":415},{"type":318,"tag":394,"props":1128,"children":1129},{"style":418},[1130],{"type":323,"value":421},{"type":318,"tag":394,"props":1132,"children":1133},{"style":401},[1134],{"type":323,"value":426},{"type":318,"tag":394,"props":1136,"children":1137},{"class":396,"line":429},[1138],{"type":318,"tag":394,"props":1139,"children":1140},{"style":433},[1141],{"type":323,"value":959},{"type":318,"tag":394,"props":1143,"children":1144},{"class":396,"line":439},[1145,1150,1155],{"type":318,"tag":394,"props":1146,"children":1147},{"style":407},[1148],{"type":323,"value":1149},"  handleLogout",{"type":318,"tag":394,"props":1151,"children":1152},{"style":401},[1153],{"type":323,"value":1154},"() { }  ",{"type":318,"tag":394,"props":1156,"children":1157},{"style":433},[1158],{"type":323,"value":1159},"// Add logout button\n",{"type":318,"tag":394,"props":1161,"children":1162},{"class":396,"line":458},[1163],{"type":318,"tag":394,"props":1164,"children":1165},{"style":401},[1166],{"type":323,"value":609},{"type":318,"tag":694,"props":1168,"children":1170},{"id":1169},"event-callbacks",[1171],{"type":323,"value":1172},"Event callbacks",{"type":318,"tag":319,"props":1174,"children":1175},{},[1176],{"type":323,"value":1177},"Monitor Pause Wall activity:",{"type":318,"tag":701,"props":1179,"children":1180},{},[1181,1196],{"type":318,"tag":705,"props":1182,"children":1183},{},[1184],{"type":318,"tag":709,"props":1185,"children":1186},{},[1187,1192],{"type":318,"tag":713,"props":1188,"children":1189},{},[1190],{"type":323,"value":1191},"Event",{"type":318,"tag":713,"props":1193,"children":1194},{},[1195],{"type":323,"value":732},{"type":318,"tag":734,"props":1197,"children":1198},{},[1199,1216,1233,1250,1267],{"type":318,"tag":709,"props":1200,"children":1201},{},[1202,1211],{"type":318,"tag":741,"props":1203,"children":1204},{},[1205],{"type":318,"tag":390,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":323,"value":1210},"onPauseWallActivated()",{"type":318,"tag":741,"props":1212,"children":1213},{},[1214],{"type":323,"value":1215},"Wall is displayed",{"type":318,"tag":709,"props":1217,"children":1218},{},[1219,1228],{"type":318,"tag":741,"props":1220,"children":1221},{},[1222],{"type":318,"tag":390,"props":1223,"children":1225},{"className":1224},[],[1226],{"type":323,"value":1227},"onResume(customer)",{"type":318,"tag":741,"props":1229,"children":1230},{},[1231],{"type":323,"value":1232},"Subscription resumed successfully",{"type":318,"tag":709,"props":1234,"children":1235},{},[1236,1245],{"type":318,"tag":741,"props":1237,"children":1238},{},[1239],{"type":318,"tag":390,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":323,"value":1244},"onCancel(customer)",{"type":318,"tag":741,"props":1246,"children":1247},{},[1248],{"type":323,"value":1249},"Subscription cancelled",{"type":318,"tag":709,"props":1251,"children":1252},{},[1253,1262],{"type":318,"tag":741,"props":1254,"children":1255},{},[1256],{"type":318,"tag":390,"props":1257,"children":1259},{"className":1258},[],[1260],{"type":323,"value":1261},"onPauseWallClose()",{"type":318,"tag":741,"props":1263,"children":1264},{},[1265],{"type":323,"value":1266},"Wall is dismissed (soft wall only)",{"type":318,"tag":709,"props":1268,"children":1269},{},[1270,1279],{"type":318,"tag":741,"props":1271,"children":1272},{},[1273],{"type":318,"tag":390,"props":1274,"children":1276},{"className":1275},[],[1277],{"type":323,"value":1278},"onError(error, type)",{"type":318,"tag":741,"props":1280,"children":1281},{},[1282],{"type":323,"value":1283},"Error occurred",{"type":318,"tag":319,"props":1285,"children":1286},{},[1287],{"type":323,"value":1288},"Error types:",{"type":318,"tag":622,"props":1290,"children":1291},{},[1292,1301,1310],{"type":318,"tag":360,"props":1293,"children":1294},{},[1295],{"type":318,"tag":390,"props":1296,"children":1298},{"className":1297},[],[1299],{"type":323,"value":1300},"PAUSE_WALL_INITIALIZATION_ERROR",{"type":318,"tag":360,"props":1302,"children":1303},{},[1304],{"type":318,"tag":390,"props":1305,"children":1307},{"className":1306},[],[1308],{"type":323,"value":1309},"PAUSE_WALL_CANCEL_ERROR",{"type":318,"tag":360,"props":1311,"children":1312},{},[1313],{"type":318,"tag":390,"props":1314,"children":1316},{"className":1315},[],[1317],{"type":323,"value":1318},"PAUSE_WALL_RESUME_ERROR",{"type":318,"tag":344,"props":1320,"children":1322},{"id":1321},"testing",[1323],{"type":323,"value":48},{"type":318,"tag":319,"props":1325,"children":1326},{},[1327],{"type":323,"value":1328},"If you would like to test the implementation in your test environment:",{"type":318,"tag":356,"props":1330,"children":1331},{},[1332,1337,1342,1347,1352],{"type":318,"tag":360,"props":1333,"children":1334},{},[1335],{"type":323,"value":1336},"Create a test customer",{"type":318,"tag":360,"props":1338,"children":1339},{},[1340],{"type":323,"value":1341},"Create a subscription for the customer",{"type":318,"tag":360,"props":1343,"children":1344},{},[1345],{"type":323,"value":1346},"Pause the subscription through your billing provider",{"type":318,"tag":360,"props":1348,"children":1349},{},[1350],{"type":323,"value":1351},"Verify the Pause Wall appears",{"type":318,"tag":360,"props":1353,"children":1354},{},[1355,1357],{"type":323,"value":1356},"Test each action:\n",{"type":318,"tag":622,"props":1358,"children":1359},{},[1360,1365,1370],{"type":318,"tag":360,"props":1361,"children":1362},{},[1363],{"type":323,"value":1364},"Resume subscription",{"type":318,"tag":360,"props":1366,"children":1367},{},[1368],{"type":323,"value":1369},"Cancel subscription",{"type":318,"tag":360,"props":1371,"children":1372},{},[1373,1375,1380],{"type":323,"value":1374},"Exit wall (if ",{"type":318,"tag":390,"props":1376,"children":1378},{"className":1377},[],[1379],{"type":323,"value":800},{"type":323,"value":1381}," is enabled)",{"type":318,"tag":1383,"props":1384,"children":1385},"style",{},[1386],{"type":323,"value":1387},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":313,"searchDepth":439,"depth":439,"links":1389},[1390,1391,1392,1398],{"id":346,"depth":429,"text":349},{"id":612,"depth":429,"text":615},{"id":689,"depth":429,"text":692,"children":1393},[1394,1395,1396,1397],{"id":696,"depth":439,"text":699},{"id":913,"depth":439,"text":916},{"id":1096,"depth":439,"text":1099},{"id":1169,"depth":439,"text":1172},{"id":1321,"depth":429,"text":48},"markdown","content","2.cancel-flows/9.pause-wall.md","2.cancel-flows/9.pause-wall","md",{"loc":54},[1406,1407],{"_path":49,"title":48,"description":51},{"_path":59,"title":58,"description":61},1775515566896]