Vehicle Hold¶
The vehicle hold site plugin allows visitors to place a hold on a vehicle by placing a charge on a credit or debit card. A vehicle by default is held for 24 hours or 1 business day and the charge amount is set to $500. These values can be adjusted through the plugin's configuration.
Demo¶
You can view the live demo here.
Installation¶
This plugin has two components to it: a popup form and a trigger to open the popup form. However, only the trigger will need be installed on the page to correctly render this plugin.
Info
Please be aware that Site Plugins are installed and configured differently than Plugins. Read the site plugin reference for more information.
Placements¶
To install this placement, you will need the PLACEMENT_ID
and the respective VEHICLE_VIN
that you are installing it for.
Placement IDs should be consistent across all triggers. To locate your PLACEMENT ID
view it in the Orbee Platform
or contact Orbee support for assistance.
It is recommended to install it for all vehicles located on both SRPs and VDPs. Place the following element below in the desired location you want the "Hold This Vehicle" button to render and fill in the variables accordingly.
<orb data-placement_id="{PLACEMENT_ID}"
data-vin="{VEHICLE_VIN}"></orb>
Info
Want to know more about Site Plugin placements? Check out the placement reference for more information.
Danger
This Site Plugin uses Stripe to charge the vehicle hold. Once installed with a live Stripe Key, please do not test a vehicle hold. This breaks Stripe's terms of use. Please ensure that you are using a test API key in the Stripe Plugin when testing. Read more on Stripe's Services Agreement here.
Configuration¶
This site plugin provides the following configuration variables:
Variable | Type | Required | Description |
---|---|---|---|
inventoryID | uuid | yes | the inventory id of the account the site plugin is installed for |
defaultVehicleImage | string (url) | no | backup default image for when a vehicle in the inventory does not have an image |
contactUrl | string (url) | no | setting this url enables a link to the contact page on the vehicle error message view |
loadingImage | string (url) | no | loading image when fetching vehicle information |
Methods¶
This plugin has no public methods.
Events¶
Generated¶
This plugin generates the following events:
Action | Spec | Trigger |
---|---|---|
view | { |
on vehicle button rendered |
complete | { |
on successful completion of form |
view | { |
on failure to process card charge form |
open | { |
on open vehicle hold form |
close | { |
on close vehicle hold form |
view | { |
on view agreement and disclaimer policy |
close | { |
on close agreement and disclaimer policy |
view | { |
on open empty vehicle hold popup |
submit | { |
on submit vehicle hold form |
Listening¶
This plugin does not listen for any events.
Dependencies¶
This plugin depends on the following plugins: