📄 readme.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
</head>
<body>
<table width="100%">
<tr>
<td><FONT face="Tahoma" size="2"><IMG src="http://www.commercestarterkit.org/images/csklogo.gif"></FONT></td>
</tr>
<tr>
<td >
<P><FONT face="Tahoma" size="2"><span style="font-size: 9pt; font-family: Verdana">
<br />
Welcome
to the PayPal-enabled Commerce Starter Kit. This kit allows you to setup and begin working
with an online eCommerce web site powered by PayPal's Website Payments Pro payment
API. This site is designed to run right from install, however you will need to customize
it to your needs before you take it into production. For more detailed information
and support, please go to </span><a href="http://www.commercestarterkit.org"><span style="font-size: 9pt;
font-family: Verdana">http://www.commercestarterkit.org</span></a><span style="font-size: 9pt;
font-family: Verdana">.</span></FONT></P>
<p>
<font face="Tahoma" size="2"><span style="font-size: 9pt; font-family: Verdana">The
Commerce Starter Kit is installed with test credentials with PayPal. You can start
the application up and proceed with a purchase straight away if you like. Feel free
to make all the purchases you like - there is no real money involved. All transactions
are happening in </span><a href="http://developer.paypal.com"><span style="font-size: 9pt;
font-family: Verdana">PayPal's Sandbox</span></a><span style="font-size: 9pt; font-family: Verdana">,
with the Commerce Starter Kit Sandbox account. The credit card number on the billing
page is a test number, and you can go ahead and use it to test the functionality.</span></font></p>
<p>
<font face="Tahoma" size="2"><span style="font-size: 9pt; font-family: Verdana">If you
would like to try out the ExpressCheckout feature (Checking out at PayPal), you
can use the Commerce Starter Kit sandbox user's account (you will still need to
login to the Developer Network with your own account first):</span></font></p>
<ul>
<li><font face="Tahoma" size="2"><span style="font-size: 9pt; font-family: Verdana">
user@csk.com</span></font></li>
<li>
<font face="Tahoma" size="2"><span style="font-size: 9pt; font-family: Verdana">password:
commerce</span></font></li>
</ul>
<p>
<span style="font-size: 9pt; font-family: Verdana">This will transact an order using
Express Checkout.</span></p>
<p>
<span style="font-size: 9pt; font-family: Verdana"><strong>Version 1.0.1</strong></span>
<ul><li><span style="font-size: 9pt; font-family: Verdana">Fixed localization issues (USD dollar sign replacement) </span>
<li><span style="font-size: 9pt; font-family: Verdana">Added Database Project to Solution</span>
</ul>
<p>
</p>
<p>
<strong><span style="font-size: 9pt; font-family: Verdana">
Version 1.0.2 </span></strong>
</p>
<ul>
<li><span style="font-size: 9pt; font-family: Verdana">Added support for PaymentsStandard
</span>
<li><span style="font-size: 9pt; font-family: Verdana">Fixed the LocationSelector so it properly shows saved country/state </span>
<li><span style="font-size: 9pt; font-family: Verdana">Further fixed localization </span>
<li><span style="font-size: 9pt; font-family: Verdana">Added a log viewer for the admin section </span>
<li><span style="font-size: 9pt; font-family: Verdana">Created an IPN/PDT handler for PaymentsStandard</span>
<li><span style="font-size: 9pt; font-family: Verdana">Added the API dlls to the web
root</span></li>
<li><span style="font-size: 9pt; font-family: Verdana">Added the WSDLs for the PayPal
API to the Commerce.PayPal project</span></li>
<li><span style="font-size: 9pt; font-family: Verdana">Fixed DirectCheckout error using
foreign credit cards</span></li>
</ul>
<p>
<span style="font-size: 9pt; font-family: Verdana"><strong>You can login to the Commerce site
using "admin" as the user name, and "admin"</strong> as the password. This will allow you
to see the admin functionality (orders administration, products administration,
etc).</span></p>
<p>
<span style="font-size: 9pt; font-family: Verdana">Once you are done testing the site
initially, you will need to configure it for your own needs, which will take approximately
30 minutes.</span></p>
<p>
<font face="Tahoma" size="2"><strong><span style="font-size: 9pt; font-family: Verdana">
Quick setup</span></strong></font></p>
<p>
<span style="font-size: 9pt; font-family: Verdana">The first thing to do is get setup
with a PayPal Sandbox account. This is very easy to do and will take about 5 minutes.
You'll want to create two accounts: one for your business and the other for a test
user. </span></p>
<p>
<FONT face="Tahoma" size="2">Create Test Accounts </FONT>
</p>
<UL>
<LI>
<FONT face="Tahoma" size="2">Select Sandbox from the Developer Central main menu at </FONT>
<A href="https://developer.paypal.com/"><FONT face="Tahoma" size="2">https://developer.paypal.com/</FONT></A><FONT face="Tahoma" size="2">.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the Create Account link to create your test
account by choosing the Business Account option and following the instructions
on that page</FONT>
<LI>
<FONT face="Tahoma" size="2">Fill in the form with test information and click the
Sign Up button</FONT>
<LI>
<FONT face="Tahoma" size="2">Return to the Developer Central main menu.</FONT>
<LI>
<FONT face="Tahoma" size="2">Select the Email tab and and locate the 慉ctivate Your
PayPal account?email</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the link in the email to confirm the email
address. Test emails are sent only to your email box in Developer Central</FONT>
<LI>
<FONT face="Tahoma" size="2">Enter your password and click the Continue button.</FONT>
<LI>
<FONT face="Tahoma" size="2">Add a bank account using a test bank name.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the Continue button to finish adding a bank
account.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the Confirm Bank Account link in the left column
on the Overview page.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the Submit button.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the Continue button to return to the Overview
page.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the Add credit card link in the left hand column
of the page.</FONT>
<LI>
<FONT face="Tahoma" size="2">Add a test credit card name and click the Add Card
button to complete this process.</FONT></LI>
<li><span style="font-size: 9pt; font-family: Verdana">Repeat for a user account, however select "Personal Account"<font face="Tahoma"
size="2"> </font> </span></li>
</UL>
<P><FONT face="Tahoma" size="2"> Download API Certificate</FONT></P>
<UL>
<LI>
<FONT face="Tahoma" size="2">Launch the Sandbox.</FONT>
<LI>
<FONT face="Tahoma" size="2">Log in to the Sandbox Business Account.</FONT>
<LI>
<FONT face="Tahoma" size="2">Navigate to My Account > Profile</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the API Access link.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click the API Certificate Request link</FONT>
<LI>
<FONT face="Tahoma" size="2">Follow the on-screen instructions to complete your
certificate request.</FONT>
<LI>
<FONT face="Tahoma" size="2">To download your PayPal API test certificate:</FONT>
<LI>
<FONT face="Tahoma" size="2">Log in to Developer Central. </FONT>
<LI>
<FONT face="Tahoma" size="2">Click the Test Certificates tab.</FONT>
<LI>
<FONT face="Tahoma" size="2">Click Download at the lower right.</FONT>
<LI>
<FONT face="Tahoma" size="2">Save the file to your local disk.</FONT></LI></UL>
<P><FONT face="Tahoma" size="2"> Convert certificate to P12 format </FONT>
</P>
<UL>
<LI>
<FONT face="Tahoma" size="2"><a href="http://www.slproweb.com/products/Win32OpenSSL.html">
Download and install OpenSSL </a></FONT></LI>
<li><font face="Tahoma" size="2">Use openssl to convert the PayPal certificate to P12 format</font></li>
<li><span style="font-size: 9pt; font-family: Verdana">Open up a command prompt (Start/Run)
and navingate to the OpenSSL bin directory (C:\OpenSSL\bin)</span></li>
<li><font face="Tahoma" size="2">Execute the following line <span style="font-family: Courier">openssl pkcs12 -export -in cert_key_pem.txt -out mycert.pfx</span></font></li>
<li><span style="font-family: Verdana"><span style="font-size: 9pt">You will be asked to provide a password - this is the password for the pfx file
and you will need this to access the certificate later.<font face="Tahoma" size="2"><span> </span></font></span></span>
</li>
</UL>
<p>
<font face="Tahoma" size="2"><span style="font-size: 9pt; font-family: Verdana">Set
the settings in the Web.config file.</span></font></p>
<ul>
<li><span style="font-size: 9pt; font-family: Verdana">Set the PayPalAPI settings with
the Sandbox info you entered above. </span></li>
<li><span style="font-size: 9pt; font-family: Verdana">Place your PFX certificate into
the App_Data folder</span></li>
</ul>
<p>
<span style="font-size: 9pt; font-family: Verdana"><strong>Taking the CSK Live</strong></span></p>
<p>
<span style="font-size: 9pt; font-family: Verdana">The CSK is configured to run against
the PayPal Sandbox initially. To run the CSK in a live environment, you must replace
the Commerce.PayPal.dll in the /bin folder with the Commerce.PayPal.dll file found
in the PayPal APIs/LiveAPIdll.zip file.</span></p>
</td>
</tr>
<tr>
<td>
<P><FONT face="Tahoma" size="2"></FONT> </P>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -