payment info
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
|
@{
|
||||||
|
ViewData["Title"] = "Le paiment "+ViewData["id"]+" a échoué";
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewData["Title"].</h2>
|
||||||
<dl>
|
<p>
|
||||||
<dt> Le paiment @ViewData["id"] a échoué
|
@ViewData["error"]
|
||||||
</dt>
|
</p>
|
||||||
<dd> @ViewData["error"]
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
31
Yavsc/Views/Manage/PaymentInfo.cshtml
Normal file
31
Yavsc/Views/Manage/PaymentInfo.cshtml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
@model Yavsc.ViewModels.PayPal.PaymentInfo
|
||||||
|
@{
|
||||||
|
ViewData["Title"] = "Informations sur le paiment "+ViewData["id"];
|
||||||
|
}
|
||||||
|
|
||||||
|
<h2>@ViewData["Title"].</h2>
|
||||||
|
<p>
|
||||||
|
@if (Model.DbContent.Executor.Id == User.GetUserId()) {
|
||||||
|
<text>
|
||||||
|
Votre paiment
|
||||||
|
</text>
|
||||||
|
} else {
|
||||||
|
<text>
|
||||||
|
Le paiment de @Html.DisplayFor(m=>m.DbContent.Executor.UserName)
|
||||||
|
</text>
|
||||||
|
}
|
||||||
|
<text> :
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
|
||||||
|
[@Model.DbContent.CreationToken]<br/>
|
||||||
|
|
||||||
|
@Html.DisplayFor(m=>m.DetailsFromPayPal)
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
</text>
|
||||||
|
</p>
|
@ -1,6 +1,6 @@
|
|||||||
@model NominativeServiceCommand
|
@model NominativeServiceCommand
|
||||||
@inject IOptions<PayPalSettings> PayPalSettings
|
@inject IOptions<PayPalSettings> PayPalSettings
|
||||||
@Model.PaymentId
|
|
||||||
@if (Model!=null && Model.PaymentId!=null) {
|
@if (Model!=null && Model.PaymentId!=null) {
|
||||||
|
|
||||||
@if (Model.Regularisation.Executor.Id == User.GetUserId()) {
|
@if (Model.Regularisation.Executor.Id == User.GetUserId()) {
|
||||||
@ -13,7 +13,7 @@
|
|||||||
</text>
|
</text>
|
||||||
}
|
}
|
||||||
<text> :
|
<text> :
|
||||||
</text><a asp-controller="Manage" asp-action="PaymentInfo" asp-route-id="@Model.Regularisation.PaypalPaymentId">@Model.Regularisation.PaypalPaymentId</a>
|
</text><a asp-controller="Manage" asp-action="PaymentInfo" asp-route-id="@Model.Regularisation.CreationToken">@Model.Regularisation.CreationToken</a>
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
<div id="paypalzone"></div>
|
<div id="paypalzone"></div>
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
@model GetExpressCheckoutDetailsResponseDetailsType
|
||||||
|
|
||||||
|
@Html.DisplayFor(m=>m.PayerInfo)
|
||||||
|
@Html.DisplayFor(m=>m.InvoiceID)
|
||||||
|
@Html.DisplayFor(m=>m.BillingAgreementAcceptedStatus)
|
||||||
|
@Html.DisplayFor(m=>m.BillingAddress)
|
||||||
|
|
||||||
|
@Html.DisplayFor(m=>m.ContactPhone)
|
||||||
|
@Html.DisplayFor(m=>m.Note)
|
||||||
|
@Html.DisplayFor(m=>m.CheckoutStatus)
|
||||||
|
@Html.DisplayFor(m=>m.PayPalAdjustment)
|
||||||
|
@Html.DisplayFor(m=>m.PaymentDetails)
|
||||||
|
@Html.DisplayFor(m=>m.UserSelectedOptions)
|
||||||
|
@Html.DisplayFor(m=>m.IncentiveDetails)
|
||||||
|
@if (Model.GiftReceiptEnable)
|
||||||
|
@Html.DispayFor(m=>m.GiftMessage)
|
||||||
|
|
||||||
|
@Html.DispayFor(m=>m.GiftWrapName)
|
||||||
|
@Html.DispayFor(m=>m.GiftWrapAmount)
|
||||||
|
@Html.DispayFor(m=>m.BuyerMarketingEmail)
|
||||||
|
@Html.DispayFor(m=>m.SurveyQuestion)
|
||||||
|
@Html.DispayFor(m=>m.SurveyChoiceSelected)
|
||||||
|
@Html.DispayFor(m=>m.CartChangeTolerance)
|
||||||
|
@Html.DispayFor(m=>m.InstrumentDetails)
|
@ -34,6 +34,7 @@
|
|||||||
@using Yavsc.ViewModels.Blogspot;
|
@using Yavsc.ViewModels.Blogspot;
|
||||||
@using Microsoft.AspNet.Hosting;
|
@using Microsoft.AspNet.Hosting;
|
||||||
@using Microsoft.Extensions.PlatformAbstractions;
|
@using Microsoft.Extensions.PlatformAbstractions;
|
||||||
|
@using PayPal.PayPalAPIInterfaceService.Model;
|
||||||
|
|
||||||
@inject IViewLocalizer LocString
|
@inject IViewLocalizer LocString
|
||||||
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
|
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
|
||||||
|
Reference in New Issue
Block a user