Skip to content

Commit

Permalink
updated wiki links in README.md and samples.
Browse files Browse the repository at this point in the history
  • Loading branch information
lvairamani committed Aug 20, 2013
1 parent 1a1ea48 commit f76b7fc
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 71 deletions.
44 changes: 1 addition & 43 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ The SDK uses dynamic configuration map or '*.properties' format configuration fi

* Service configuration.

* You can refer full list of configuration parameters at [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
* You can refer full list of configuration parameters in [wiki](https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters) page.

Multiple SDK usage (Multiple End-points Support)
---------------------------
Expand All @@ -105,48 +105,6 @@ one for each service used, The existing service.EndPoint property is still suppo
a single SDK). The list below specifies endpoints for different services, in SANDBOX and PRODUCTION, with their
property keys and end-point as property values.

------------------------------SANDBOX------------------------------
* Merchant/Button Manager Service (3 Token)
service.EndPoint.PayPalAPI=https://api-3t.sandbox.paypal.com/2.0
service.EndPoint.PayPalAPIAA=https://api-3t.sandbox.paypal.com/2.0

* Merchant/Button Manager Service (Certificate)
service.EndPoint.PayPalAPI=https://api.sandbox.paypal.com/2.0
service.EndPoint.PayPalAPIAA=https://api.sandbox.paypal.com/2.0

* AdaptiveAccounts Platform Service
service.EndPoint.AdaptiveAccounts=https://svcs.sandbox.paypal.com/

* AdaptivePayments Platform Service
service.EndPoint.AdaptivePayments=https://svcs.sandbox.paypal.com/

* Invoice Platform Service
service.EndPoint.Invoice=https://svcs.sandbox.paypal.com/

* Permissions Platform Service
service.EndPoint.Permissions=https://svcs.sandbox.paypal.com/

------------------------------PRODUCTION------------------------------
* Merchant/Button Manager Service (3 Token)
service.EndPoint.PayPalAPI=https://api-3t.paypal.com/2.0
service.EndPoint.PayPalAPIAA=https://api-3t.paypal.com/2.0

* Merchant/Button Manager Service (Certificate)
service.EndPoint.PayPalAPI=https://api.paypal.com/2.0
service.EndPoint.PayPalAPIAA=https://api.paypal.com/2.0

* AdaptiveAccounts Platform Service
service.EndPoint.AdaptiveAccounts=https://svcs.paypal.com/

* AdaptivePayments Platform Service
service.EndPoint.AdaptivePayments=https://svcs.paypal.com/

* Invoice Platform Service
service.EndPoint.Invoice=https://svcs.paypal.com/

* Permissions Platform Service
service.EndPoint.Permissions=https://svcs.paypal.com/

For additional information on Merchant API, please refer to https://www.x.com/developers/paypal/documentation-tools/api

Instant Payment Notification(IPN)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public class IPNListenerServlet extends HttpServlet {
protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {

// For a full list of configuration parameters refer at
// (https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters)
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getConfig();
IPNMessage ipnlistener = new IPNMessage(request,configurationMap);
boolean isIpnVerified = ipnlistener.validate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ protected void doPost(HttpServletRequest request,
try {

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ protected void doPost(HttpServletRequest req, HttpServletResponse res)

try {
// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ protected void doPost(HttpServletRequest request,
response.setContentType("text/html");
try {
// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/permissions-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ protected void doPost(HttpServletRequest request,
req.setMassPayRequest(reqType);

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ protected void doPost(HttpServletRequest request,
response.setContentType("text/html");
try {
// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ protected void doPost(HttpServletRequest request,
permRequest.setRequestEnvelope(env);

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/permissions-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ protected void doPost(HttpServletRequest request,
req.setMassPayRequest(reqType);

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ protected void doPost(HttpServletRequest request,
try {

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ protected void doPost(HttpServletRequest request,
try {

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ protected void doPost(HttpServletRequest request,
try {

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected void doPost(HttpServletRequest request,
// Configuration map containing signature credentials and other required
// configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String, String> configurationMap = Configuration
.getAcctAndConfig();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ protected void doPost(HttpServletRequest request,
response.setContentType("text/html");

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ protected void doPost(HttpServletRequest request,
response.setContentType("text/html");

// Configuration map containing signature credentials and other required configuration.
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
// For a full list of configuration parameters refer in wiki page.
// (https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.Map;

/**
* For a full list of configuration parameters refer at [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
* For a full list of configuration parameters refer in wiki page.(https://github.com/paypal/sdk-core-java/wiki/SDK-Configuration-Parameters)
*/
public class Configuration {

Expand Down

0 comments on commit f76b7fc

Please sign in to comment.