Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Type: FraudLabsPro
  2. Anti-Fraud Frequency – when to run anti-fraud checks. It's recommended to "Run fraud checks for all orders and customer signups".
  3. API Key – The API key you obtained from FraudLabsPro
  4. Minimum Score to Reject – The minimum score to reject an order. This should typcilally be set high, 80 is the default value. If FraudLabsPro reports a value equal to or greater than this, the order will be outright rejected.
  5. Minimum Score to Review – This should be lower than the minimum score to reject, default is 10. If the score of an order is equal to or greater than this but lower than the minimum score to reject, the order will be flagged for review. When an order is flagged for review it will remain as a Pending order until moved to either the Accepted or Fraud category by a staff user, at which time the client account will be automatically marked as active or fraud.
  6. Automatically Reject/Review based on recommendation frod FraudLabs Pro – Yes is recommended, result will depend on what FraudLabs Pro suggests.

 


Embed Code

The embed code field allows any HTML or JavaScript to be directly injected, as written, into the footer of pages on the order form. Tag replacement is supported (see Customizing Emails), including a tag for the order_page so that you may set content only on specific pages.

...

TagsDescriptionNotes

{order.id}

The system-level order ID 
{order.number}The order numbere.g. "519131eb623b8"
{order.client_id}The system-level client ID of the client this order belongs to 
{order.client_id_code}The friendly client ID code 
{order.client_first_name}The first name of the client 
{order.client_last_name}The last name of the client 
{order.client_company}The client's company name 
{order.client_address1}The client's primary address 
{order.client_email}The client's email address 
{invoice.id}The system-level invoice ID of the invoice created for this order 
{invoice.id_code}The friendly invoice ID code 
{invoice.date_due}The UTC datetime stamp of the invoice due dateFormatted as "YYYY-MM-DD HH:MM:SS"
{invoice.date_billed}The UTC datetime stamp of the invoice bill dateFormatted as "YYYY-MM-DD HH:MM:SS"
{invoice.total}The total amount due on the invoicee.g. "8.00"
{invoice.paid}The total amount paide.g. "0.00"
{invoice.due}The remaining amount duee.g. "8.00"
{invoice.currency}The currency that the invoice is ine.g. "USD"

...

TagsDescriptionNotes

{order.id}

The system-level order ID 
{order.number}The order numbere.g. "519131eb623b8"
{order.client_id}The system-level client ID of the client this order belongs to 
{order.client_id_code}The friendly client ID code 
{order.client_first_name}The first name of the client 
{order.client_last_name}The last name of the client 
{order.client_company}The client's company name 
{order.client_address1}The client's primary address 
{order.client_email}The client's email address 
{invoice.id}The system-level invoice ID of the invoice created for this order 
{invoice.id_code}The friendly invoice ID code 
{invoice.date_due}The UTC datetime stamp of the invoice due dateFormatted as "YYYY-MM-DD HH:MM:SS"
{invoice.date_billed}The UTC datetime stamp of the invoice bill dateFormatted as "YYYY-MM-DD HH:MM:SS"
{invoice.total}The total amount due on the invoicee.g. "8.00"
{invoice.paid}The total amount paide.g. "0.00"
{invoice.due}The remaining amount duee.g. "8.00"
{invoice.currency}The currency that the invoice is ine.g. "USD"

...

NameLabelURIDefault Order Form
Web Designdesign

/order/

or

/order/main/index/design

Status
colourGreen
titleYes
VPS Serversvps/order/main/index/vps
Status
colourRed
titleNo
Domain Registrationdomains/order/main/index/domains
Status
colourRed
titleNo

...


Linking to a Specific Product

...

DescriptionParametersURI
Display Package Group
  • group_id The ID of the package group to display.
/order/main/packages/label/?group_id=1
Display Package Group with Package Selected
  • group_id The ID of the package group to display.
  • package_id The ID of the package to select by default.

    Info

    Note that this is the ID of the package as seen in the URL when editing the package.


/order/main/packages/label/?group_id=1&package_id=2
Display Package Configuration with Price Selected
  • group_id The ID of the package group to display.
  • pricing_id The ID of the package pricing.

  • configoptions A list of option IDs and their values (since plugin v2.21.0+)

    Info

    The pricing_id is the ID of a particular price point as defined under the package.



Order TemplateURI

AJAX Boxes

AJAX Slider

AJAX List

/order/main/packages/label/?group_id=1&pricing_id=5

Info
titleConfigurable Options may be set in version 4.8.0+

Specific configurable options can be set by specifying each option in the URI using the option ID and the option value in the format "configoptions[OPTIONID]=VALUE", e.g.:

/order/config/index/label/?group_id=1&pricing_id=5&configoptions[20]=yes&configoptions[7]=default%20option


Wizard Boxes

Wizard Slider

Wizard List

Standard

/order/config/index/label/?group_id=1&pricing_id=5

...

Info
titleConfigurable Options may be set in version 4.8.0+

Specific configurable options can be set by specifying each option in the URI using the option ID and the option value in the format "configoptions[OPTIONID]=VALUE", e.g.:

/order/config/index/label/?group_id=1&pricing_id=5&configoptions[20]=yes&configoptions[7]=default%20option




Linking to an Order Form to Include a Coupon

...

DescriptionParametersURINotes
Set a Coupon to an Order Form
  • coupon The coupon code to apply to the order
/order/main/index/label/?coupon=CPN123In this example, the
  • Coupon code is CPN123
  • Order form label is label
Set a Coupon to a Specific Product
  • group_id The ID of the package group to display
  • package_id The ID of the package to select by default

    Info

    Note that this is the ID of the package as seen in the URL when editing the package.


  • coupon The coupon code to apply to the product
/order/main/index/vps/?group_id=1&package_id=5&coupon=10off

In this example, the

  • Coupon code is 10off
  • Order form label is vps
  • Package Group ID is 1
  • Package ID is 5

...


Common Issues

  • reCaptcha always returns "The captcha entered was invalid. Please try again."
    • This may be a result of allow_url_fopen being disabled in your PHP config. To confirm, check your Blesta logs for: general.WARNING: E_WARNING: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 This directive must be changed for reCaptcha to work properly.