Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #362 from fsimonazzi/358-payment-page
Browse files Browse the repository at this point in the history
#358 adds notes to the simulated payment page.
  • Loading branch information
jdom committed May 7, 2012
2 parents 0770109 + f2fb91c commit 3a9d2b4
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<title>@ViewBag.Title</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<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 area 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>
@@ -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" />
}
}
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 3a9d2b4

Please sign in to comment.