Release Servicebot Subscription Management Portal
Completely new documentation
'hideCoupon' deprecated in place of 'disableCoupon'
Subscription portal can now be passed email OR customer_id (Stripe customer id)
'email_hash' deprecated in place of 'hash'
HMAC token can be created with email OR customer_id
You can now invite team members from the dashboard
Billing details now populate on the customer object AND the fund object in Stripe
Created pre-load event in handleResponse called ‘pre_load’. Responds with the current config. It’s the first thing run after the javascript is loaded, before any API calls are made. Can be used to inject React components & tell when the embed has loaded.
Test cards added to embeds in Test mode
Improved pricing page display of tiered metric & usage based billing
Display of JPY currency fixed
Added 'Go' to server-side code snippets
When updating CC information, all other details are pre-loaded
Added new option for showing signup as it's own page instead of a modal.
options.behavior.signup.showAsPage
Added new option for allowing or disallowing users to change another plan if you were showing them a signup form.
options.behavior.signup.allowChooseAnotherPlan
Added a new option for prompting for password on signup. Servicebot does not store or use this password in anyway, but it will be available in the handleResponse function.
options.behavior.signup.promptPassword
Added a new option to show pricing for yearly (and any interval greater than monthly) as their monthly rate. Eg: a $120/yr plan would show as $10/mo billed Yearly
options.behavior.pricing.showPriceAsMonth
Added a new option for passing a Stripe Tax Rate on subscription creation.
options.default_tax_rates