top of page

Passing Customer Data into your Pricing Table

When setting up a pricing table on your website, you may want to personalize the table based on the customer viewing the page. You can do this by passing a customer or email as URL parameter in the iFrame that hosts your table.


What this does to your Pricing Table

  • Email: Forces that email during checkout

  • Customer: Checks out as a specific customer, auto-filling customer info, and if they already have a plan, redirects them into their billing portal.


This feature may require programming knowledge.

Overview

  • Get customer from your database (or Stripe)

  • Pass customer as a URL parameter. For example:

https://priceable.net/table/your_table_id?key=key&customer=cus_NffrFeUfNV2Hib

Getting a customer

In a typical setup, you'd have a customers Stripe ID saved to their profile in your database.


Passing customer to your iframe

If you're using a low/no-code provider like Wix, Webflow, or Bubble, here's how you might do it:


When setting your embed script, pass the customer or email like so:

<iframe src="https://priceable.net/table/66bd6f8acf37db46adfde206?key=f74c59d2-06f3-4a6b-abd1-04e6d028c167&customer=<customer_id>" width="100%" height="100%"></iframe>
<iframe src="https://priceable.net/table/66bd6f8acf37db46adfde206?key=f74c59d2-06f3-4a6b-abd1-04e6d028c167&email=name@email.com" width="100%" height="100%"></iframe>

bottom of page