forked from LiveCarta/PayPal-PHP-SDK
Defaulting Mode to Sandbox
- Eliminate the need to define config for mode
This commit is contained in:
@@ -116,9 +116,8 @@ class RestHandler implements IPPHandler
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
throw new PPConfigurationException(
|
||||
'You must set one of service.endpoint or mode parameters in your configuration'
|
||||
);
|
||||
// Defaulting to Sandbox
|
||||
return PPConstants::REST_SANDBOX_ENDPOINT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user