Skip to content

Commit

Permalink
fixed method name for config in use case samples
Browse files Browse the repository at this point in the history
  • Loading branch information
lvairamani committed Aug 16, 2013
1 parent 1dafbb2 commit 1a1ea48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected void doPost(HttpServletRequest request,
// For a full list of configuration parameters refer at
// [https://github.com/paypal/merchant-sdk-java/wiki/SDK-Configuration-Parameters]
Map<String, String> configurationMap = Configuration
.getSignatureConfig();
.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 @@ -81,7 +81,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]
Map<String,String> configurationMap = Configuration.getSignatureConfig();
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(configurationMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,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]
Map<String,String> configurationMap = Configuration.getSignatureConfig();
Map<String,String> configurationMap = Configuration.getAcctAndConfig();

// Creating service wrapper object to make an API call by loading configuration map.
PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(configurationMap);
Expand Down

0 comments on commit 1a1ea48

Please sign in to comment.