v2.0.0-alpha.2
Pre-release
Pre-release
Second pre-release of the 2.0 line. Everything from v2.0.0-alpha.1 plus:
New
- A doctor command (#131):
setono:sylius-quickpay:doctorverifies every configured Quickpay gateway against the Quickpay API — api key, private-key checksum self-test, agreement existence, order-prefix length and cross-gateway uniqueness, and the notify-route registration.--liveadditionally creates a money-less test payment and probes the payment linkPUTpermission, catching the classicNot authorized to PUT /payments/:id/linkcase before a customer does. Non-zero exit on failures, so it can run in CI or cron. See the README's Checking your configuration section. - Fraud signals surfaced (#132): a Fraud suspected badge on the admin operation history, an opt-in
fraud.block_captureguard that skips the automatic capture on completion for flagged payments (leaving them for manual review — the transition itself proceeds), and a--fraud-suspectedreport mode on the reconciliation command that asks Quickpay directly for flagged payments across all configured gateways.
Fixed
- The api-key check no longer rejects locked-down api users (#141): Quickpay answers 401 on
/pingboth for an invalid key and for a valid key whose api user merely lacks the/pingpermission, so the form-save credential check (and the doctor) now verify through a/paymentsread when the ping is rejected — a valid key always saves; only an explicit rejection on both endpoints counts as invalid.
Install
composer require setono/sylius-quickpay-plugin:^2.0@alpha setono/payum-quickpay:^2.0@RC setono/quickpay-php-sdk:^1.2Upgrading from 1.x: read UPGRADE-2.0.md. Full changes: v2.0.0-alpha.1...v2.0.0-alpha.2