Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I am trying to get the total price from the bsaket model in the check out process. I am using the code from the checkout sample:
@using Merchello.Core @using Controllers; @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "Master.cshtml"; } @{ var paymentMethods = MerchelloContext.Current.Gateways.Payment.GetPaymentGatewayMethods().Select(x => new SelectListItem() { Value = x.PaymentMethod.Key.ToString(), Text = x.PaymentMethod.Name }); } <table> <tr> <td valign="top"> <h3>Payment Method</h3> @using (Html.BeginUmbracoForm<CheckoutController>("SavePayment", new { area = "SolarStore" }, new { @class = "form form-horizontal", role = "form" })) { @Html.DropDownList("paymentMethodKey", paymentMethods, new { @class = "form-control" }) <input type="submit" value="Proceed to receipt" /> } </td> <td width="100"></td> <td> @Html.Action("RenderInvoiceSummary", "Checkout", new { area = "SolarStore", dataFromInvoice = false, invoiceKey = Guid.Empty }) </td> </tr> </table>
I need to send the total price in his line, since the credit card information is being enter in an IFrame of my payment provider
<iframe src="https://direct.tranzila.com/activenet/iframe.php?nologo=1&lang=il&sum=@totalPrice" width="370" height="455"></iframe>
Thanks
Anybody knows how?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
get basket total price from CheckoutPayment view
Hi I am trying to get the total price from the bsaket model in the check out process. I am using the code from the checkout sample:
I need to send the total price in his line, since the credit card information is being enter in an IFrame of my payment provider
Thanks
Anybody knows how?
is working on a reply...