Versions Compared

Key

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

...

  • group_id The ID of the package group to display.
  • pricing_id The ID of the package pricing.

    DescriptionParametersURINotes
    Set the currency for the order form.
    • currency The currency to use for the order
    /order/main/index/label/?currency=USDIn this example, the
    • Currency is USD
    Set the currency 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.


    • currency The currency to use for the product
    /order/main/index/vps/?group_id=1&package_id=5&currency=USD

    In this example, the

    • Currency is USD
    • Order form label is vps
    • Package Group ID is 1
    • Package ID is 5
    Set the currency for a Specific Product Configuration
    Info

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

  • currency The currency to use for the order
  • configoptions A list of option IDs and their values (since plugin v2.21.0+)

  • Order TemplateURI

    AJAX Boxes

    AJAX Slider

    AJAX List

    /order/main/packages/label/?group_id=1&pricing_id=15&currency=USD&configoptions[20]=yes&configoptions[7]=default%20option

    Note: Be sure your option values are properly URL encoded!

    Wizard Boxes

    Wizard Slider

    Wizard List

    Standard

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

    Note: Be sure your option values are properly URL encoded!

    In this example, the

  • Currency is USD
  • Order form label is label
  • Package Group ID is 1
  • Package Pricing ID is 15
  • Package Configurable Options are:

    Option IDOption Value
    20yes
    7default option


    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.