@using SmartStore.PayPal.Models; @using SmartStore.Web.Framework; @using SmartStore.Web.Framework.UI; @model PayPalExpressConfigurationModel @{ Layout = ""; Html.AddCssFileParts(true, "~/Plugins/SmartStore.PayPal/Content/smartstore.paypal.css"); }
@Html.Raw(T("Plugins.Payments.PayPalExpress.AdminInstruction"))
@Html.Action("StoreScopeConfiguration", "Setting", new { area = "Admin" }) @using (Html.BeginForm()) {
@Html.SmartLabelFor(model => model.TransactMode) @Html.SettingOverrideCheckbox(model => model.TransactMode) @Html.DropDownListFor(model => model.TransactMode, Model.TransactModeValues)
@Html.SmartLabelFor(model => model.SecurityProtocol) @Html.DropDownListFor(model => model.SecurityProtocol, Model.AvailableSecurityProtocols, T("Common.Unspecified"))
@Html.SmartLabelFor(model => model.UseSandbox) @*multistore context not possible, see IPN handling*@ @Html.EditorFor(model => model.UseSandbox) @Html.ValidationMessageFor(model => model.UseSandbox)
@Html.SmartLabelFor(model => model.ApiAccountName) @Html.SettingEditorFor(model => model.ApiAccountName) @Html.ValidationMessageFor(model => model.ApiAccountName)
@Html.SmartLabelFor(model => model.ApiAccountPassword) @Html.SettingEditorFor(model => model.ApiAccountPassword) @Html.ValidationMessageFor(model => model.ApiAccountPassword)
@Html.SmartLabelFor(model => model.Signature) @Html.SettingEditorFor(model => model.Signature) @Html.ValidationMessageFor(model => model.Signature)
@Html.SmartLabelFor(model => model.CallbackTimeout) @Html.SettingEditorFor(model => model.CallbackTimeout) @Html.ValidationMessageFor(model => model.CallbackTimeout)
@Html.SmartLabelFor(model => model.IpnChangesPaymentStatus) @Html.SettingEditorFor(model => model.IpnChangesPaymentStatus) @Html.ValidationMessageFor(model => model.IpnChangesPaymentStatus)
@Html.SmartLabelFor(model => model.ShowButtonInMiniShoppingCart) @Html.SettingEditorFor(model => model.ShowButtonInMiniShoppingCart) @Html.ValidationMessageFor(model => model.ShowButtonInMiniShoppingCart)
@Html.SmartLabelFor(model => model.NoShipmentAddress) @Html.SettingEditorFor(model => model.NoShipmentAddress) @Html.ValidationMessageFor(model => model.NoShipmentAddress)
@Html.SmartLabelFor(model => model.ConfirmedShipment) @Html.SettingEditorFor(model => model.ConfirmedShipment) @Html.ValidationMessageFor(model => model.ConfirmedShipment)
@Html.SmartLabelFor(model => model.DefaultShippingPrice) @Html.SettingEditorFor(model => model.DefaultShippingPrice) @Html.ValidationMessageFor(model => model.DefaultShippingPrice)
@Html.SmartLabelFor(model => model.AdditionalFee) @Html.SettingEditorFor(model => model.AdditionalFee) @Html.ValidationMessageFor(model => model.AdditionalFee)
@Html.SmartLabelFor(model => model.AdditionalFeePercentage) @Html.SettingEditorFor(model => model.AdditionalFeePercentage) @Html.ValidationMessageFor(model => model.AdditionalFeePercentage)
 
}