Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

HtmlHelperExtensions

API reference for HtmlHelperExtensions in Vendr, the eCommerce solution for Umbraco v8+

HtmlHelperExtensions

public static class HtmlHelperExtensions

Namespace

Methods

BeginPaymentForm (1 of 3)

Helper method to create a payment form for the given order

public static MvcForm BeginPaymentForm(this HtmlHelper htmlHelper, OrderReadOnly order)

Parameters

Parameter Description
htmlHelper
order

BeginPaymentForm (2 of 3)

Helper method to create a payment form for the given order

public static MvcForm BeginPaymentForm(this HtmlHelper htmlHelper, OrderReadOnly order, 
    object htmlAttributes)

Parameters

Parameter Description
htmlHelper
order
htmlAttributes

BeginPaymentForm (3 of 3)

Helper method to create a payment form for the given order

public static MvcForm BeginPaymentForm(this HtmlHelper htmlHelper, OrderReadOnly order, 
    IDictionary<string, object> htmlAttributes)

Parameters

Parameter Description
htmlHelper
order
htmlAttributes

RenderPaymentForm

Helper method to create a payment form for the given order

public static MvcForm RenderPaymentForm(this HtmlHelper htmlHelper, OrderReadOnly order, 
    IDictionary<string, object> htmlAttributes, IOrderService orderService, 
    IPaymentMethodService paymentMethodService, IPaymentProviderService paymentProviderService, 
    ITranslationService translationService, IPaymentProviderUriResolver uriResolver, 
    IOrderNumberGenerator orderNumberGenerator, IHashProvider hashProvider, 
    IUnitOfWorkProvider uowProvider, IMembershipHelper membershipHelper)

Parameters

Parameter Description
htmlHelper
order
htmlAttributes
paymentMethodService
paymentProviderService
uriResolver
hashProvider

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.