diff --git a/docs/install-library.html b/docs/install-library.html index 00ac248c6..837ce2698 100755 --- a/docs/install-library.html +++ b/docs/install-library.html @@ -49,7 +49,7 @@

Maven

class="hljs-tag"></groupId> <artifactId>adyen-java-api-library</artifactId> - <version>1.5.2</<version>1.5.4</version> </dependency> diff --git a/docs/using-library.html b/docs/using-library.html index 67d231079..f6082bb87 100755 --- a/docs/using-library.html +++ b/docs/using-library.html @@ -45,7 +45,22 @@

Using the library

config.setApiKey("Your X-API-KEY")); config.setApplicationName("Adyen Java API Library"); Client client = new Client(config); -client.setEnvironment(Environment.TEST); + + + +

+ Set the environment to TEST if you want to connect to Adyen Test environment. In case of TEST environment, + liveEndpointUrlPrefix value will be null as shown in following code snippet. +

client.setEnvironment(Environment.TEST, null);
+
+ If you want to connect to Live environment, Set the environment to LIVE and provide value for + liveEndPointUrlPrefix as shown in following code snippet. + + Note : YOUR LIVE ENDPOINT URL PREFIX is the unique live url prefix which you can get from the "API URLs and + Response" menu in the Adyen Customer Area +
+
client.setEnvironment(Environment.LIVE, "YOUR LIVE ENDPOINT URL PREFIX" );
 
@@ -59,12 +74,7 @@

Using the library

config.setPassword("YOUR PASSWORD"); -

- The example connects you to the Adyen test platform. If you want to use our live platform use: -

-
client.setEnvironment(Environment.LIVE);
-
-
+

Adyen Checkout Service

Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. @@ -97,4 +107,4 @@

Adyen Checkout Utility Service

- + \ No newline at end of file