You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before I saw your PR #8 I did the simplest thing I thought could work; subclass TripletexClient, override method and instantiate that class before setting up $app.
If an option to change the endpoint is added, it should allow any end-point as an explicit setting.
This would allow proxying, internal network routings, testing setups etc.
<?phpnamespaceApp\Gyre\Biz\Tripletex;
use \zaporylie\Tripletex\Client\TripletexClient;
class Client extends TripletexClient
{
constAPIT_TEST_BASE_URL = 'https://api.tripletex.io/v2';
publicstaticfunctiongetBaseUrl()
{
returnconfig('services.tripletex.api_endpoint') ?? self::APIT_TEST_BASE_URL;
}
}
Base url should be:
production or development
BASE_URL = 'https://tripletex.no/v2';
or
BASE_URL = 'https://api.tripletex.io/v2';
The text was updated successfully, but these errors were encountered: