Invoice download web services provided by PostFinance
Copy your own phpunit.xml-file.
cp phpunit.xml.dist phpunit.xml
Modify environment variables in the phpunit.xml-file:
<env name="POSTFINANCE_B2B_WSDL" value="wds"/>
<env name="POSTFINANCE_B2B_CACHE_WSDL" value="wsdl"/>
<env name="POSTFINANCE_B2B_USERNAME" value="username"/>
<env name="POSTFINANCE_B2B_PASSWORD" value="password"/>
<env name="POSTFINANCE_B2B_DEBUG" value="debug"/>
<env name="POSTFINANCE_B2B_TESTS_PAYER_ID" value=""/>
<env name="POSTFINANCE_B2B_TESTS_BILLER_ID" value=""/>
<env name="POSTFINANCE_B2B_TESTS_TRANSACTION_ID" value=""/>
<env name="POSTFINANCE_B2B_TESTS_FILE_TYPE" value="RGXMLSIG"/>
Run the tests:
./vendor/bin/pest
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
POSTFINANCE_B2B_USERNAME=xxxxx POSTFINANCE_B2B_PASSWORD='XXXXX' POSTFINANCE_B2B_DEBUG=true composer test
./vendor/bin/pint
Please review our security policy on how to report security vulnerabilities.
- Sebastian Bürgin-Fix
- All Contributors
- Skeleton Repository from Spatie
- Laravel Package Training from Spatie
The MIT License (MIT). Please see License File for more information.