diff --git a/merchantsample/src/main/java/com/sample/usecase/ParallelPaymentServlet.java b/merchantsample/src/main/java/com/sample/usecase/ParallelPaymentServlet.java index 2e0c6bc..5aee4db 100644 --- a/merchantsample/src/main/java/com/sample/usecase/ParallelPaymentServlet.java +++ b/merchantsample/src/main/java/com/sample/usecase/ParallelPaymentServlet.java @@ -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 configurationMap = Configuration - .getSignatureConfig(); + .getAcctAndConfig(); // Creating service wrapper object to make an API call by loading // configuration map. diff --git a/merchantsample/src/main/java/com/sample/usecase/PaymentCaptureServlet.java b/merchantsample/src/main/java/com/sample/usecase/PaymentCaptureServlet.java index 51e95fb..afd6661 100644 --- a/merchantsample/src/main/java/com/sample/usecase/PaymentCaptureServlet.java +++ b/merchantsample/src/main/java/com/sample/usecase/PaymentCaptureServlet.java @@ -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 configurationMap = Configuration.getSignatureConfig(); + Map configurationMap = Configuration.getAcctAndConfig(); // Creating service wrapper object to make an API call by loading configuration map. PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(configurationMap); diff --git a/merchantsample/src/main/java/com/sample/usecase/RecurringPaymentServlet.java b/merchantsample/src/main/java/com/sample/usecase/RecurringPaymentServlet.java index 0789715..bd3ee00 100644 --- a/merchantsample/src/main/java/com/sample/usecase/RecurringPaymentServlet.java +++ b/merchantsample/src/main/java/com/sample/usecase/RecurringPaymentServlet.java @@ -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 configurationMap = Configuration.getSignatureConfig(); + Map configurationMap = Configuration.getAcctAndConfig(); // Creating service wrapper object to make an API call by loading configuration map. PayPalAPIInterfaceServiceService service = new PayPalAPIInterfaceServiceService(configurationMap);