-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Official Versio API documentation: Documentation
Installation through composer:
composer require BekoDesign\VersioAPI
Download release.
This library is using PHP dotenv for enviroment variables. Since Versio is using Basic Auth and does not provide a demo account the tests need access to your full username and password.
In order to run the provided tests:
- Clone this repository
- Create a new
.env
file in the root of the repository with the following contents:
VERSIO_HOST=versio.nl
VERSIO_USERNAME={YOUR VERSIO USERNAME}
VERSIO_PASSWORD={YOUR VERSIO PASSWORD}
Replace {YOUR VERSIO USERNAME} and {YOUR VERSIO PASSWORD} with the credentials you use to sign in at https://www.versio.nl/login?uri=/customer/
You can also change the host to versio.uk, versio.nl, versio.be, versio.eu. But the default fallback is versio.nl.
Important: Please note that the testing API of Versio currently has an issue. The testing API is actually behaving like the real API and does create entities and makes payments. See #7 for more information.