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
At the beginning, the supported Sylius versions are ^1.10 (so 3 minor versions that should be properly tested in the CI). In the future we shall move to ^1.12 support only
📝 Testing
All crucial paths of the payment flow (happy path, canceled payment, failed payment etc.) shall be covered with the Behat scenarios
To avoid calling the test API in them, we would use Mockoon tool, to mock the responses in the CI
All essential API calls to the Saferpay API should be covered with contract tests that would be run once a day (to not call the real API too often, but to be aware of any changes in the API contract)
All classes with any behavior should be covered with PHPSpec tests
💻 DX and debugging
All the new configurations should use php files rather than yaml. All the existing configurations shall be migrated to php.
All the important information about the payment flow (both success and failure) should be logged in the dedicated log panel. Errors should also be logged in the separated saferpay.log file
The text was updated successfully, but these errors were encountered:
Implementation rules and drivers
⚙️ Supported versions
^8.0
version^1.10
(so 3 minor versions that should be properly tested in the CI). In the future we shall move to^1.12
support only📝 Testing
💻 DX and debugging
php
files rather thanyaml
. All the existing configurations shall be migrated tophp
.saferpay.log
fileThe text was updated successfully, but these errors were encountered: