Billflow
  • Quick Start
  • Setup
    • First Time Setup
      • Connect & Setup Stripe
      • Invite Team Members
      • Create Your First Billing Page
      • Embed The Billing Page
      • Activate Live Payments
  • Billing Pages
    • Plan Picker
    • Checkout Form
    • Customer Portal
    • Pricing Page
    • Invoice Portal
  • How-to's
    • Setup Pricing
      • Flat-rate Subscriptions
      • Free Trial
      • Unit-based
      • Meter-based
      • Setup Fees
      • One-Time Payment
      • Payment Plans (Subscription Schedules)
      • Complex Pricing
      • Add-ons
    • Connect to SaaS
      • Using Stripe Webhooks
    • Change Style
      • Plan Picker Style Templates
      • Customer Portal Style Templates
      • Pricing Page Style Templates
      • Checkout Form Style Templates
    • Update Pricing
    • Use Coupons
    • Enable Quantity Management
    • Enterprise Sales Flow
    • Cancellations/Payment Failures
      • Set up Cancellation Feedback
      • Configure Dunning Emails
    • Automated emails
    • Internationalization
      • Support multiple currencies
      • Support multiple languages
    • Upgrade to new Billing Pages
    • Record Usage
    • VAT & Taxes
    • Indian Recurring Payments
  • No-code Integrations
    • No-code App Builders
      • Bubble
        • How to connect Stripe webhooks to Bubble
      • Webflow
      • WordPress
        • Add Widgets
        • Advanced Usage
        • Useful Plugins
      • Notion
      • Drupal
    • Rewardful
    • ChurnKey
  • Developer Docs
    • Embed Configurations
      • Plan Picker Configs
      • Checkout Form Configs
      • Customer Portal Configs
      • Pricing Page Configs
      • Invoice Portal Configs
    • Handling Events
    • Languages & Frameworks
    • Customize Elements
    • Versions & Beta Testing
  • Help
    • Managing Account & Team
      • Reset Your Password
      • Manage Team Members
    • Frequently Asked Questions
    • Changelog
Powered by GitBook
On this page
  • Step 1: Create Billing Page
  • Step 2: Set options to match your config
  • Step 3: Update your current embed snippet

Was this helpful?

  1. How-to's

Upgrade to new Billing Pages

Upgrade steps to turn your current Billflow embeds to the new Billing Pages

Have you already integrated with Billflow using the embed snippet with config options? No worries, your current integration will work fine. The benefit that the new Billing Pages provides is that it hosts your configs so you never have to go into code to update them. Now, all updates are done straight from the Billflow dashboard. Follow the steps below to upgrade to the new Billing Pages.

Step 1: Create Billing Page

On the dashboard you will now find 5 options for billing pages. Create a new billing page for your needs.

Pricing Page: Same as the previous pricing page type. Intended for marketing site.

Checkout Form: Same as the previous Signup/checkout form.

Plan Picker: New type intended for plan selection in-app and optionally showing customer portal for subscribers. Use this if you are using the customer portal and signing users up with it as well.

Customer Portal: Same as the previous customer portal type. Intended for subscription management in-app. Use this if you are using just the customer portal portal currently.

Invoice Portal: New type that is similar to the customer portal. Intended for viewing invoices in-app.

Step 2: Set options to match your config

Go to your current embed snippet and turn on the options on the billing page to match what you have configured on your embed snippet. Options on the dashboard are worded naturally so it will be intuitive to pick the options you have configured from your snippet.

Save once you are done and you will have the option to embed.

You can still pass in configs to the new snippet just as before. So any dynamic data you will pass in the same way like the commonly used 'metadata' option. Same for handleResponse.

Step 3: Update your current embed snippet

Copy your new embed snippet. It should look familiar, it has an addition of a billing_page_id. Necessary dynamic values will still be there like email and hash, but all other options can now be set on the dashboard. Paste your new snippet in.

Secure Setup remains the same

<div id="billflow-embed"></div>
    <script>
        window.billflowSettings = {
    "billing_page_id": "7nTEgMCYPYSHvCOdwqyo",
    "email": "// change this to your customer's email",
    "hash": "// change this to your hash generated by your server using secured setup"
};
        (function () { var s = document.createElement('script'); s.src = 'https://js.billflow.io/billflow-embed.js'; s.async = true; s.type = 'text/javascript'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })();
    </script>
PreviousSupport multiple languagesNextRecord Usage

Last updated 4 years ago

Was this helpful?