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 {
55
55
}
56
56
57
57
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
- }
62
58
return url . replace ( "https://pal-test.adyen.com/pal/servlet/" ,
63
59
`https://${ this . client . config . liveEndpointUrlPrefix } -pal-live.adyenpayments.com/pal/servlet/` ) ;
64
60
}
65
61
66
62
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
-
72
63
if ( url . includes ( "/possdk/v68" ) ) {
73
64
return url . replace ( "https://checkout-test.adyen.com/" ,
74
65
`https://${ this . client . config . liveEndpointUrlPrefix } -checkout-live.adyenpayments.com/` ) ;
You can’t perform that action at this time.
0 commit comments