File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,14 @@ protected String createBaseURL(String url) {
6464 if (config .getLiveEndpointUrlPrefix () == null ) {
6565 throw new IllegalArgumentException ("please provide a live url prefix in the client" );
6666 }
67- url = url .replaceFirst ("https://checkout-test.adyen.com/" ,
68- "https://" + config .getLiveEndpointUrlPrefix () + "-checkout-live.adyenpayments.com/checkout/" );
67+ if (url .contains ("/possdk/v68" )) {
68+ // Temporary until they fix possdk
69+ url = url .replaceFirst ("https://checkout-test.adyen.com/" ,
70+ "https://" + config .getLiveEndpointUrlPrefix () + "-checkout-live.adyenpayments.com/" );
71+ } else {
72+ url = url .replaceFirst ("https://checkout-test.adyen.com/" ,
73+ "https://" + config .getLiveEndpointUrlPrefix () + "-checkout-live.adyenpayments.com/checkout/" );
74+ }
6975 }
7076
7177 return url .replaceFirst ("-test" , "-live" );
You can’t perform that action at this time.
0 commit comments