@hiccup-insurance/purchase-insurance-widget
v1.3.5
Published
Hiccup Purchase Insurance Widget
Downloads
255
Readme
Hiccup Purchase Insurance Widget
This widget is suitable for partner that want to sell hiccup insurance product but didn't have their own payment system (user payment is handled from hiccup side). This widget will show insurance options and payment form (customer name and credit card number)
How to use
<div id="hiccup-purchase-insurance-widget"
env="test"
token="{token}"
customer-title="Mr"
first-name="Budi"
last-name="Arsana"
email="[email protected]"
phone="+62817623397"
age-min="25"
age-max="75"
start-date="2017-10-01"
end-date="2017-10-05"
country="AU"
source-country="AU"
pickup-state-abbrev="QLD"
currency="AUD"
rental-supplier="Avis"
vehicle-class="ECMR"
depot="Sample depot location name"
partner-confirmation="H3H3H3"
quote-fetched-callback="quoteFetched"
quote-selected-callback="insuranceSelected"
disclaimer-fetched-callback="disclaimerFetched"></div>
<script src="https://cdn.hiccup-staging.com/purchase-insurance-widget/widget.js" type="text/javascript" async></script>explanation for each attributes
id = required, must be hiccup-purchase-insurance-widgetenv = required, can be either test or live
token = required, your API token
TODO: add more information for each attribute
Partner implementations
This widget have been implemented to
