File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -55,20 +55,11 @@ class Service {
5555 }
5656
5757 if ( url . includes ( "pal-" ) ) {
58- if ( this . client . config . liveEndpointUrlPrefix === "" )
59- {
60- throw new Error ( "Please provide your unique live url prefix on the setEnvironment() call on the Client." ) ;
61- }
6258 return url . replace ( "https://pal-test.adyen.com/pal/servlet/" ,
6359 `https://${ this . client . config . liveEndpointUrlPrefix } -pal-live.adyenpayments.com/pal/servlet/` ) ;
6460 }
6561
6662 if ( url . includes ( "checkout-" ) ) {
67- if ( this . client . config . liveEndpointUrlPrefix === "" )
68- {
69- throw new Error ( "Please provide your unique live url prefix on the setEnvironment() call on the Client." ) ;
70- }
71-
7263 if ( url . includes ( "/possdk/v68" ) ) {
7364 return url . replace ( "https://checkout-test.adyen.com/" ,
7465 `https://${ this . client . config . liveEndpointUrlPrefix } -checkout-live.adyenpayments.com/` ) ;
You can’t perform that action at this time.
0 commit comments