Skip to content

Commit

Permalink
microsoftarchive#358 adds notes to the simulated payment page.
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonazzi committed May 7, 2012
1 parent 0770109 commit 540bc8d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<title>@ViewBag.Title</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
@RenderSection("Head", required: false)
<style>
body
{
font-size: .85em;
font-family: "Trebuchet MS" , Verdana, Helvetica, Sans-Serif;
}
</style>
</head>
<body>
<h1>
Simulated Third-party Payment Clearing Processor</h1>
<p>
Note: this page represents an external system that the Contoso Conference Management
System integrates with. It is meant to showcase the implementation of an integration
scenario. For more information on the journey see the <a href="http://pundit.cloudapp.net">
Journey Docs</a>.
<br />
In a real system this is where you would provide your payment details and authorize
the payment before returning to the Conference Management System.</p>
@RenderBody()
<footer>
<div>
<p><a href="http://cqrsjourney.github.com/">CQRS Journey Project</a>, Microsoft patterns &amp;&nbsp;practices.<br />
<span>This is a sample application for learning purposes, not a production system!</span></p>
</div>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@{
ViewBag.Title = "Fantastic payment processor";
ViewBag.Title = "Simulated Third-party Payment Clearing Processor";
Layout = "../Shared/_Layout.cshtml";
}
<h2>
Pay</h2>
Expand All @@ -9,9 +10,11 @@
Item: @this.ViewBag.ItemName</div>
<div>
Amount: @this.ViewBag.ItemAmount</div>
<br />

@Html.Hidden("ReturnUrl")
@Html.Hidden("CancelReturnUrl")
<input type="submit" value="accepted" name="paymentResult" title="Accept"/>
<input type="submit" value="accepted" name="paymentResult" title="Accept" /><span>&nbsp;
&nbsp;</span>
<input type="submit" value="rejected" name="paymentResult" title="Reject" />
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
<Content Include="Views\Order\Display.cshtml" />
<Content Include="Views\Registration\ShowCompletedOrder.cshtml" />
<Content Include="App_Code\ConferenceHelpers.cshtml" />
<Content Include="Areas\ThirdPartyProcessor\Views\Shared\_Layout.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
Expand Down Expand Up @@ -275,7 +276,6 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Areas\ThirdPartyProcessor\Models\" />
<Folder Include="Areas\ThirdPartyProcessor\Views\Shared\" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
Expand Down

0 comments on commit 540bc8d

Please sign in to comment.