Why Does Plan Preview on the Live Site Show the Test Site Configuration?
Scope
Why does Plan Preview on the Live site show the Test site configuration?
How does checkout preview work on a Live site?
Why does checkout preview not work as intended on Live sites?
Summary
The drop-in script Preview option on the Live site and the Test site shows the plans on the Test site by default, so sample subscriptions are not created on the Live site.
Solution
Preview lets you evaluate the outcome of your plans and site configuration. After you transfer the configuration from the Test site to the Live site, the Preview button stays connected only to the Test site.
To review the plans and site configuration, preview walks through the flow from subscribing to a plan through the purchase summary. Chargebee does this with a sample script that evaluates frontend and backend behavior. After a customer purchases the plan from checkout, you also see the backend tasks, such as customer created, subscription created, invoice generated (as configured), email notification status, transaction summary, orders (if configured), contract (if configured), and more. Preview shows both the checkout page and how the Chargebee site behaves.
The Preview button on the Live site uses the Test site configuration. Test a change on the Test site first. After the result matches what you need, transfer the Test site configuration to the Live site. See Transfer Configuration.